Animation for bullet event

Get help using Construct 2

Post » Mon Oct 24, 2011 10:41 am

I do have an object which moves with bullet behaviour.
I want the object to play an animation while it is moving to its target.

I tried to do it start animation but it only plays it when it arrives its target.

The animation is also a 2 slide animation.

How can I set it up to play tne animation and repeat it while traveling towards the target.
B
12
S
2
G
2
Posts: 28
Reputation: 1,695

Post » Mon Oct 24, 2011 11:24 am

Just give the object a looping animation?

Right click your object and select edit animation, then look in the upper left corner for loop options and such.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Mon Oct 24, 2011 2:51 pm

It might be a problem with the way your events are telling it to play. If you post your capx, we could take a look and find out for sure.
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Mon Oct 24, 2011 3:10 pm

If your object only has one looping animation, you don't need any events to play the animation at all! It will just play the animation as soon as the object is created.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Oct 24, 2011 6:35 pm

I can not work it out.

Is there any example for animations to practice with?
B
12
S
2
G
2
Posts: 28
Reputation: 1,695

Post » Mon Oct 24, 2011 8:11 pm

@Daniel, show us your .capx file and we can take a look.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Oct 24, 2011 9:59 pm

It is working now.
I deleted the animations and closed the project and made them again and now it works,

Thanks for your help.
B
12
S
2
G
2
Posts: 28
Reputation: 1,695


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], flemmig, MisterAqua, Nifl and 27 guests