[4.5.9] Play Action 02 Jump when jumping in L/R Platformer Module

Digitol

New member
Hello all!

I am trying to have my jump animation play when my character jumps. At the moment it will still only respect the idle and walk animations (actions 00 and 01). My jump animation is set to 02, and the jump animations are set to work reference my JumpL/JumpR respectively but it feels something in the code may be not activating action 02 when the jump action is initiated.

1709407717014.png 1709407763577.png

I am using 4.5.9 and this is for the L/R Platformer module. Any insight would be greatly appreciated. Thank you!

Digitol
 

smilehero65

Active member
Hello all!

I am trying to have my jump animation play when my character jumps. At the moment it will still only respect the idle and walk animations (actions 00 and 01). My jump animation is set to 02, and the jump animations are set to work reference my JumpL/JumpR respectively but it feels something in the code may be not activating action 02 when the jump action is initiated.

View attachment 7978 View attachment 7979

I am using 4.5.9 and this is for the L/R Platformer module. Any insight would be greatly appreciated. Thank you!

Digitol
Hey there!

I think you're using the arcade jumping script.
By default, it doesn't change your action to jump.

However, the Metroidvania one does.

The name is changeActionToJumping.asm.
Assuming you're using arcade platformer, the move left and right script don't take the jumping state into account either, so when you press left or right then it will show a walking animation.

Metroidvania module covers this as well:
changeActionToMoving_unlessJumping.asm

It is really weird that decision of different scripts for different modules, but well.

EDIT: just noticed that you specified LR platformer module lol
Then it is weird if that doesn't work. Take my points into account, tho.
 
Top Bottom