Simple Sprite Animation Hiccup

Get help using Construct 2

Post » Thu Dec 11, 2014 5:46 pm

I am sure this is a pretty easy, and obvious one to solve. Sadly, it's always the "easy and obvious" that i tend to have problems with. I am creating a simple platform game with the basic MARIO controls and animations. Starting off basic before i go into things that are more advance.

So here is my issue:

When i have the player move forward, the animation is set to "Waking". When the player jumps, the animation is set to "Jumping". No problem there. But when you are using the arrow keys or Dpad on a controller and you're also pressing the Up Arrow or A button your character jumps, but is still doing the Walking animation instead of the Jump animation.

So simple, how do i have the player jump and perform the jump animation and have the walking animation stop?

Edit: A more simple clarification would be while the player is in the air, the player is still performing the walk animation rather than the jump animation. This is because while you're holding down the Left or Right Arrow Key OR Left and Right on the Dpad while simultaneously pressing A or Up to jump, Construct still registers that you're moving forward and performs the Walking Animation rather than the Jumping animation. Hopefully that cleared up what i am trying to get at.
You do not have the required permissions to view the files attached to this post.
B
2
Posts: 1
Reputation: 152

Post » Thu Dec 11, 2014 6:46 pm

you could add "is not jumping" or "is on floor" to the d-pad lines. or you could set the animation walking not based on the controller, but players movement.
B
86
S
43
G
71
Posts: 601
Reputation: 43,619


Return to How do I....?

Who is online

Users browsing this forum: David181, InfiniteRockets and 15 guests