player jump control (metroidvania module)

i have the standard Base\game\input scripts jump script, but the main problem with it is that you can't control your jump height, similar to many other platformers, being able to do a "tap jump" is very nice. this is just the standard script here
Screenshot 2023-09-02 123108.png
just to quickly bring out, this script doesn't have a action step normally, which means the player will play his first action animation, to fix that you can add in the line of code just before the end marked "from here" -"to here". then to set which action he uses, go ahead and change the value, in this case value #$02, to whichever value your jump action is.

lastly just a side issue, in mesen, (I haven't tried any other emulator yet) theres a weird bug where if I hold left to run, then hold up, and let go of left, the player will continue running (this happens as well with down or right) and again, I'm using just the standard base game inputs for left and right, but the metroidvania module scripts for moving and stop moving.
 
Try these scripts:
BASE_4_5\Game\MOD_PlatformerBase\Inputs\VarJump.asm - use when RELEASE jumpbutton
BASE_4_5\Game\MOD_PlatformerBase\Inputs\jump_throughPlat.asm - use when PRESS jumpbutton

Joe talks about it in the Arcade platformer tutorialvideo
28:00 starts talkong about controlls
about 30:54 talks about varjump and jump through plat.

Holding directional buttons causing the same problem for me. player stands-still and keeps jogging. Really annoying.
Have not found the perfect solution myself yet.
 
Last edited:
Top Bottom