One of the functions I have in my game is if you press a certain button, then the character will do a "super jump" in which they go much higher and farther than a normal jump, but have no control over it.
I have a control set up where if I push "E" then the platformer sprite will have a vector applied to it, such as
"Platform vector X to 1000"
"Platform vector Y to -1000"
This works, except my character only flies in the X direction for a short distance before dropping straight down. I want them to continue flying in a parabola until they hit something or land back on a platform.
How do I create this behavior?
Develop games in your browser. Powerful, performant & highly capable.