Hey guys… I’ve been fooling around trying to create some first run gameplay for a wrestling game I want to make.
I’ve run into a small problem and I’ve been coding this a bit long, so maybe I just need a fresh pair of eyes.
First.
Controls are simple:
- use the arrow keys to move
- hold SHIFT and press a to perform a grapple when you are close enough to the bigger blue blob (player 2)
- while in the grapple, hit a (again) and you will perform the first move, a devastating blue box breaker! omg!
Here is the problem, and most of you who’ve followed along with my FLA/SWF will notice that PLAYER2 does not rise in the spot he was thrown in. Instead he goes back to ‘standing’ but that’s preset to another position.
I tried to get player 2’s _X and _Y and use that, but it didn’t work. Because there are movieclips nested among more movieclips I’m a little confused as to how to get the player2 movie clip to gotoAndStop(“standing”); where he fell after the move.
Any help? (note: This is CS3, but AS2.)
Files: