Im trying to make a game 4 my dad but it doesn't work as i want it to. grr![]()
Its supposed to go back to the beginning when you crash into a asteroid but it doesnt![]()
heres what ive done w/ the code
I dont know how to monitor true/false so i dont know if it is setting the variable. But i kno that the asteroid has been hit because it fades out...Code:Asteroid onClipEvent (enterFrame) { if (this.hitTest(_root.player_mc)) { this._alpha = 50; crash = "true"; } } frame 2 if (crash = true) { gotoAndStop(1); }
Please
help
anything would be increndilby aprecciated




Reply With Quote