I know there are plenty of ways to make a character dash. My way is to have the character set platform vector x to xx amount I want.
I've also done double jump the same way, while my character is in the air.
I just wanted to know if my way is the cleanest way, or is there any other solutions that others have made up.
To be more in depth with double Jumping:
Player is NOT on the floor
Jump button pressed
Player set platform vector Y to - 700
A is pressed
Player platform is on floor
Player set platform vector X to 500
I'd also like to ask if there is some kind of relation tot he acceleration speed and the vector X,Y movements?
Thanks a bunch