Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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!
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.
Develop games in your browser. Powerful, performant & highly capable.
I'm happy that it works for you!