Character can only move one step then stops?

Get help using Construct 2

Post » Wed Feb 05, 2014 4:49 pm

Really confused, I can't see what is wrong. The character only moves one step and then stops, just looping the walking animation?

Heres the http://www.mediafire.com/download/uvff0lny5jbc67b/ineedhelp.capx
B
5
S
1
Posts: 54
Reputation: 508

Post » Wed Feb 05, 2014 4:55 pm

It doesn't work because you use the events "On key pressed", witch is triggered only when the key starts being pressed.
What you want is "on key down" witch will be triggered as long as the key is down. You would want to keep the "On key pressed" to handle the mirroring and change in animation though.
B
17
S
8
G
4
Posts: 473
Reputation: 6,211

Post » Wed Feb 05, 2014 4:57 pm

Ah thanks, don't know how I didn't see that, thanks.
B
5
S
1
Posts: 54
Reputation: 508


Return to How do I....?

Who is online

Users browsing this forum: Lancifer and 30 guests