Hello i am making a simple space shooter type game, and i am attaching movieclips to the stage all the time. I have two kinds of movieclips the enemies and the powerups, what i wanna do is make sure that the enemies stay on top of the powerups. Is there any way to do that?
Any help is much appreciated thanks
One way would be to attach the movies at indexes that are separated well enough numerically such that the enemies are always at a higher index than any power up.
Another approoach could be to place the different objects inside separate containers such that the enemies are in a container that is above the power up container.
Thanks for the reply, i figured a way of placing the objects inside two seperate containers as you suggested and it works very well.