in my particle engine i'm using a fixed array (to avoid insert and remove element and speed-up things)
every single "slot" of array are reused (if needed) when the particle end.
when the particle is "dead" and not visible i use sprite:setVisible(false) but the documentation says: " Sprites that are not visible are also taken into consideration while calculating bounds."...
my question is:
is more efficent that i add/remove the sprites with "addchildAt/removeChildAt" or not remove sprite and uses setVisible(true/false) ?
i'm not paranoid but i'm try to optimize the particle engine in time-critical sections.
any advice? :-B
TNT ENGiNE for Gideors Studio - Particle Engine, Virtual Pad, Animator Studio, Collision Engine - DOWNLOAD NOW !!! IT'S FREE!!! - www.tntengine.com