How do I make my charater do an Air Dash

Get help using Construct 2

Post » Thu Jun 05, 2014 7:46 pm

Like in Mega Man X. You press a button while in mid air and your character launches forward.

Image

This is what I have so far, but no matter what I set the X vector to, my character just barely nudges forward. I cranked it all the way up to 5000 and he still barely nudges forward. The Airdash variable resets to 0 when you touch the ground. Everything is working fine except for not getting enough forward speed.

I have a similar function for my mid-air attack and it works fine.

Image

Any help is greatly appreciated.
B
5
Posts: 14
Reputation: 253

Post » Fri Jun 06, 2014 4:37 am

Here I have an example:

https://mega.co.nz/#!zAcRCJhY!CHg4xVYiS ... h_eehqNJKg

Basically, you are forgetting to increase the player Max Speed, so no matter how big is the number you type on vector x, the player wont move faster then his normal speed.
B
10
S
4
Posts: 133
Reputation: 1,543

Post » Fri Jun 06, 2014 8:51 am

Thanks for the help. Can't believe I missed something so obvious. Works great now.
B
5
Posts: 14
Reputation: 253


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests