Dash

Get help using Construct 2

Post » Tue Apr 24, 2012 1:50 pm

Alright I am trying to get my character to dash normally and when the animation ends it would continue to run if I input the running but when I press for dash It goes on Infinitely, I mean I can still controll the movement but the animation never ends and it isnt on loop it just stuck on the last frame and just keeps moving with that animation frame on my character Im trying to do a megaman dash like for example in this video
http://www.youtube.com/watch?v=SQvi9FjQgCQ at around 0:43 he starts dashing and I tried the variables but im ultimately lost, Help?
B
3
Posts: 2
Reputation: 279

Post » Fri May 18, 2012 10:58 pm

you can increase the player speed dramatically for a few milliseconds then put it back to normal by using the Platform behaviour
B
16
S
3
G
4
Posts: 40
Reputation: 3,877

Post » Fri May 18, 2012 11:14 pm

my player character currently has a speed boost/dash using the space bar. I just have it set for

player default max speed at 100

Space bar is pressed (not held), set player max speed at 150

Space bar is released, set player max speed at 100

then throw in appropriate animation changes on each event. The space bar will still register as "being pressed" and continue to have him dash at 150 while holding it down. But with it on pressed (not held) you can interrupt the dash with collisions and other events, making the player retrigger the dash manually as they see fit, vs being able to just hold dash down which will basically tell the character to constantly dash forever regardless of what is happening or whatever rules you set in place.
B
11
S
1
Posts: 44
Reputation: 1,095


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, armaldio, plinkie and 19 guests