Need Coding help!!! for a platformer/shooter style game..
adamadamadamwhat
Member Posts: 21
Hey all!
I have been working on this platformer/shooter style game. If you're familiar with old school shooters, my goal is to make the controls work very similar to the Contra or Metal Slug series. I'm working on the controls for the main character, and I'm stuck. No pun intended.
Here's the deal. Right now the controls seem to be working ok. I've got the character running, ducking, jumping, and shooting in all (8) directions. What I'm trying to do is have the character continue to shoot in the diagonal direction after you let go of the D-pad while shooting in that diagonal direction. Right now the player runs right/left while trying to shoot diagonal.
Anyways, Ive tried at least 5 different ways to code this in, and cant figure it out.
Here is a link to what ive made so far: http://gamesalad.com/game/play/79093
I have been working on this platformer/shooter style game. If you're familiar with old school shooters, my goal is to make the controls work very similar to the Contra or Metal Slug series. I'm working on the controls for the main character, and I'm stuck. No pun intended.
Here's the deal. Right now the controls seem to be working ok. I've got the character running, ducking, jumping, and shooting in all (8) directions. What I'm trying to do is have the character continue to shoot in the diagonal direction after you let go of the D-pad while shooting in that diagonal direction. Right now the player runs right/left while trying to shoot diagonal.
Anyways, Ive tried at least 5 different ways to code this in, and cant figure it out.
Here is a link to what ive made so far: http://gamesalad.com/game/play/79093
Comments