Tag Info

New answers tagged

0

Should be alright if you are not using too complex shapes or too much bodies at once. If so you could reduce the Box2D frame rate ( lets say the game runs at 60 fps so you can call Box2D update on every second frame and double the ms ) or play around with velocityIterations and positionIterations to maximize performance. I actually used this trick in a ...


0

Once you remove parentMC and set it as null, garbage collection will take care of its children. When you remove the parent from the Flash display list hierarchy its children won't exist in the display list. You could remove children before you remove the parent from the display list, but that isn't necessary unless you wish to move the child to another ...



Top 50 recent answers are included