Hey guys,
So I’m currently building a space shooter game but I have a problem with ‘depth’.
I’ve found a cool tutorial here http://www.freeactionscript.com/2009/01/realistic-vertical-bitmap-smoke-trailer/ that I want to use in my game but I want my rocket to be in front of the smoke effect.
I have added this extra code:
my_mc = attachMovie("my_mc", "my_mc", this.getNextHighestDepth());
my_mc._x = Stage.width / 2
my_mc._y = Stage.height / 2
***(my_mc = the rocket)
but the ‘this.getNextHighestDepth();’ doesn’t work.
I’ve used lots of codes and alternatives but none proved to work!
Hope someone who is a :genius: can help me as I’m struggling with this problem for 2 days already!
Thanks!