Is it smart to spawn a lot of KinematicBody2D s with reduced scale?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Brazda

Having like 10-20 KinematicBody2D all of them have scale property set to 0.55.

Will this produce lower performance?
Should i make images for sprites smaller, so i don’t have to scale down the whole KinematicBody2D.

:bust_in_silhouette: Reply From: kidscancode

Short answer: No. Don’t worry about it. Just make your game.

Long answer:

This is not a useful question to ask. Are you experiencing a performance problem now? If so, you must use profiling to find out where the problem comes from, not make any assumptions. If you’re not having a performance problem, then don’t waste your time worrying about something that doesn’t exist.

10-20 bodies is a very small number.

Allright. I’ll complete my question soon, my mistake.

Brazda | 2019-06-28 09:02