addChild in a loop performance?


#1

Hello

I’ve noticed that adding sprites within a loop using addChild will have an impact upon performance.
Is there for example a way to make adding sprites to stage faster? ( in a scenario of a closed loop )


#2

You can try adding sprites in advance and make them visible = true/false; when needed.