Animation repeat issue

Get help using Construct 2

Post » Tue Dec 06, 2011 1:44 pm

Hi Guys

I am having the most basic problem of getting an animation to return to the start once played. It plays to the last frame but will not go back to frame 0 once done.

I have the same setting I have used numerous times before but it will not work.

Could someone plz take a look as it is really bugging me now as to what I am missing.

CAPX

many thanks
B
4
G
2
Posts: 30
Reputation: 1,260

Post » Tue Dec 06, 2011 2:11 pm

I think you forgot to put the "loop" property to "yes".
Select de sprite, double click, select de "default" animation and in the properties panel (in the left) chose loop - yes.
B
10
S
3
G
3
Posts: 8
Reputation: 2,342

Post » Tue Dec 06, 2011 2:18 pm

Hi Mpbento, thx for the advice

already tried that and it just doesn't stop, not sure if something is bugged as it doesnt seem to matter what frame i ask it to end on it still ends on the same frame.
B
4
G
2
Posts: 30
Reputation: 1,260

Post » Tue Dec 06, 2011 2:33 pm

Fixed capx.
Like mpbento at first I thought you were talking about loop.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Tue Dec 06, 2011 3:16 pm

sorry if my request did not explain properly. thank you very much for the help.

any ideas why it just wouldnt go back to the start of the animation anywayLprez2011-12-06 15:24:16
B
4
G
2
Posts: 30
Reputation: 1,260

Post » Tue Dec 06, 2011 4:07 pm

Why should it go back to the first frame by default?
You play an animation from frame 0 to frame n... then the animation stop (unless you made it loop) so it's logicall that it stop at the end.. the frame n.
If you want the animation to go back to frame 0, you should have an event that tell it so.
On animation finished -> set frame to 0.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Tue Dec 06, 2011 4:13 pm

And a stop animation action, like in the fixed capx, to prevent the animation to keep up from the frame 0 (that is to say play a full cycle again).
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795


Return to How do I....?

Who is online

Users browsing this forum: armaldio, plinkie and 19 guests