I'm working on a platformer, and would like to use simulate control "jump" with another key (object > simulate platform pressing jump)
But I'm using the jump sustain property, and with the simulated control, only the small jump can be played, while using the up arrow I can make higher jumps.
Any idea how I can make the jump sustain to work with simulated controls?
Hmm, I tried the Platform-Template example. There are the WASD-Keys used with simulate and I see now difference between the UP-Arrow and the W-Key for Jump with 'jump sustain' set to 200.
Develop games in your browser. Powerful, performant & highly capable.
Indeed, and looking into this template I was able to figure out the problem : the event I used was "on key pressed", while it should have been "key is down". So it was logical that the jump sustain couldn't be taken into account.
Thanks a lot for your help!
It's important to have the "simulate jump" on a repeatable event, something like "Key is down", and not a trigger like "Key is pressed".
edit: well, looks like I was ninja'ed by the OP!
Haha! Thanks anyway!