Variable jump depending on actor's velocity
Hi all,
I'm new here and I'm developing my first game idea after following a few tutorials.
One of the main ideas is to increase the main actor's capacity to jump by quickly moving it from one side to another with your finger. The more (and faster) it moves, the higher it will jump when you release your finger.
I wanted to know if there's any way to increase a variable with that method and use it to set a vertical velocity.
Please, ask if you don't understand anything or if I didn't explain myself at all.
Thanks a lot!
I'm new here and I'm developing my first game idea after following a few tutorials.
One of the main ideas is to increase the main actor's capacity to jump by quickly moving it from one side to another with your finger. The more (and faster) it moves, the higher it will jump when you release your finger.
I wanted to know if there's any way to increase a variable with that method and use it to set a vertical velocity.
Please, ask if you don't understand anything or if I didn't explain myself at all.
Thanks a lot!