Sprinting/Running?

Get help using Construct 2

Post » Wed Feb 22, 2017 4:54 pm

how do i make the player sprint or run faster by pressing a button? like when the normal run, when the button is pressed, the player starts running faster. any ideas?
B
30
S
13
G
3
Posts: 133
Reputation: 4,143

Post » Wed Feb 22, 2017 5:41 pm

You can use a timer so after a button is pushed for so long the animation changes to sprint and you increase the player speed.

On button down wait 2 seconds, set timer = 1


on timer =1 set player animation sprint, set player speed to 500

Something like that.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,790

Post » Thu Feb 23, 2017 5:18 am

i think you good
B
3
Posts: 5
Reputation: 185

Post » Thu Feb 23, 2017 4:03 pm

Elaborate please? And is this the way to increase speed?
B
30
S
13
G
3
Posts: 133
Reputation: 4,143

Post » Thu Feb 23, 2017 5:00 pm

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: GenkiGenga, jorgmaquoi and 31 guests