PDA

View Full Version : [AS2] Player Attack Problems


Newbie101
06-20-2009, 10:58 PM
Hey I am making a platformer game using Lokreil's tutorials off youtube and I am having trouble getting my attack to work.
I have my player, there are 2 frames. One is moving hair, the other is the attack. I play the game he does the attack nonstop so I put a stop action on the attack frame, didn't help. I delete the script and make a new frame, same senario. Then I make a fourth frame, it works. But now It won't do it at all, so I need to know how to make him do the attack when you press space bar, not when you move or whatever. Thanks.