How can I jump further by holding the button for longer?

TALGames

  • Posts: 35
Its the same effect you see in the game HOPS and in Megaman.
There's an ugly chimpanzee in my bathroom and it won't stop yelling the f word

JeffreyDriver

  • Posts: 1865
Use a number attribute that increases as the button is held down, then trigger the jump on release.

See the highlighted bit in the attached image for an example that I made.
Current Projects:
Retro Redux Compilation (NEW).
Retro Redux (untitled) (NEW).
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk

TALGames

  • Posts: 35
Use a number attribute that increases as the button is held down, then trigger the jump on release.

See the highlighted bit in the attached image for an example that I made.

Yeah but its on a button release, I want it on a button press
There's an ugly chimpanzee in my bathroom and it won't stop yelling the f word

ETHproductions

  • *
  • Posts: 429
One way to do it would be to, after the initial launch off the ground, apply a small force to the actor as long as the jump key is held. You can use "push Actor gently towards 270 degrees at 30 force", adjusting the 30 to get the effect you want.
Fontstruct - Stencyl - Website (in progress)

Proud Member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.