Title says it. How can it be done? Right now we are just using the platform behavior and it doesn't seem to be an option for it.
keyboard w is down---player set platform vector y to -550
While button is down, set gravity to 0. On button release, set gravity to 500 (or whatever value it was before). That should do the trick.
EDIT: Ahh, Ninja'd!
Develop games in your browser. Powerful, performant & highly capable.
Thank you guys for the quick replies. I may not have explained it correctly. Our level is comprised of several obstacles which the player jumps over. Some of these obstacles are setup to where if the player were to hold down the jump input key, they could continue to jump over the obstacles. The methods above suggest a "upon release" trigger. We have no problem with the release, we just wish to have our main sprite continue to jump if the input key is held down.
EVENT -- Player - Platform On Landed, Keyboard - Up arrow is down. ACTION -- Player - Set Platform vector Y to -500 (or jump height you desire)
Sorry, if that's unclear. Boards won't let me attach anything right now.
Awesome, thank you so very much. It works. I was not thinking clearly enough when working with it earlier, makes since now. You're awesome Ryan.
I'm happy that it works for you!