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
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
I want to make a infinity runner, and i want to make it so if i hold the screen the player will jump higher. I tried sustain jump, but it only works when the default controls are enabled, for my game i need them off. Any ideas?
work for me with disabling default controls.. look at this .capx, on the platform behavior settings.
https://drive.google.com/open?id=0BwNG7 ... 0JZc2tQWFU
Yeah, it works. Just use "Key is down" condition (not "On key pressed") with Simulate Platform pressing Jump.
i think he want "touch controls" not keyboard
Oh, then use "Is in touch" or "Is touching".
Not "On touch start" or "On touched object", as these events are triggered only once. And for the jump to be sustained, Simulate Jump needs to be called every tick.
Simulate Jump needs to be called every tick.
Why? On my .capx work without
I tried that already, but ill give it another shot
I got it to work. Thanks
Develop games in your browser. Powerful, performant & highly capable.
solved? so I can delete .capx from my googleDrive space?
> Simulate Jump needs to be called every tick. > Why? On my .capx work without
> Simulate Jump needs to be called every tick.
>
You have "Is in touch" condition. The system checks it on every tick and if true, "Platform simulate Jump" is executed.