playMaker

Author Topic: Hold to Jump higher[SOLVED]  (Read 709 times)

Dustiwi

  • Playmaker Newbie
  • *
  • Posts: 26
Hold to Jump higher[SOLVED]
« on: October 03, 2021, 06:56:10 PM »
Hello, i trying to make a 2d platformer, followed some tutorials and made a jump, but how can i make it so if i hold the button it jumps higher?
« Last Edit: October 04, 2021, 11:36:58 AM by Dustiwi »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Hold to Jump higher
« Reply #1 on: October 03, 2021, 07:47:50 PM »
Hi.
How Are you doing the current jump as there are different ways depending on that :)

Dustiwi

  • Playmaker Newbie
  • *
  • Posts: 26
Re: Hold to Jump higher
« Reply #2 on: October 03, 2021, 10:52:01 PM »
im using set velocity 2d on button down

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Hold to Jump higher
« Reply #3 on: October 04, 2021, 07:31:33 AM »
Hi.
you can use a On Button Up and a wait (to limit duration)

Dustiwi

  • Playmaker Newbie
  • *
  • Posts: 26
Re: Hold to Jump higher[SOLVED]
« Reply #4 on: October 04, 2021, 11:36:06 AM »
works nice thank you so much ;D