[RESOLVED] Game actioscript help
Im trying to make a game 4 my dad but it doesn't work as i want it to. grr :mrt:
Its supposed to go back to the beginning when you crash into a asteroid but it doesnt:confused:
heres what ive done w/ the code
Code:
Asteroid
onClipEvent (enterFrame) { if (this.hitTest(_root.player_mc)) { this._alpha = 50;
crash = "true"; } }
frame 2
if (crash = true) {
gotoAndStop(1);
}
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...
Please
help
anything would be increndilby aprecciated