How do I control the sprite's running?

Get help using Construct 2

Post » Wed Jul 02, 2014 10:53 pm

i have made a sprite with 5 frames (5 .png files) to make my character run, and after "playing once" it stops, how do i control it? like to make it loop after pressing a certain button or touching the screen.
-thanks
B
4
S
1
Posts: 54
Reputation: 456

Post » Wed Jul 02, 2014 11:14 pm

Open your sprite. Under "Animation 'default' properties, set "Loop" to Yes. In your startup code, set the Animation to Stop. On button or touch, set Animation to Start; when released, set to Stop.

Edit: 5 PNG files.. you mean 5 frames?
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Jul 03, 2014 12:48 am

yes that's what i meant
B
4
S
1
Posts: 54
Reputation: 456


Return to How do I....?

Who is online

Users browsing this forum: wertt22, Yahoo [Bot] and 24 guests