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 )
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 )
You can try adding sprites in advance and make them visible = true/false;
when needed.