Consistent Jumping Behavior?

ChunkyMonkey

  • Posts: 430
    Hello there! I am currently working on a platformer, but the stencyl crash course jumping behavior doesn't satisfy my needs because it's "variable jumping", a jumping behavior that makes you jump higher the longer the jump key is down. I, though, want "consistent controls" where if you hit the jump button it will jump the same height as the last time. Would someone please help me?

rob1221

  • *
  • Posts: 9473
Yeah, just remove the part that checks if the player is still jumping to adjust the speed.

ChunkyMonkey

  • Posts: 430
Yeah, just remove the part that checks if the player is still jumping to adjust the speed.
I've tried digging through the behavior but can't see which section is the one I'm looking for. Perhaps I remove all the <Key released> booleans?

rob1221

  • *
  • Posts: 9473
If you post the behavior I can probably find the part to remove.

ChunkyMonkey

  • Posts: 430
If you post the behavior I can probably find the part to remove.
Thanks I'll post it next week.

Stencyl Ninja

  • Posts: 245
Just use the crash course jumping and alter it.
It jumps the same height every time and can be set to the height you want.

ChunkyMonkey

  • Posts: 430
Just use the crash course jumping and alter it.
It jumps the same height every time and can be set to the height you want.
Thanks Stencyl Ninja! Never knew that the crash course jumping was different.