Using animations for different enemies

Get help using Construct 2

Post » Fri Nov 16, 2012 4:57 pm

Ill create 10 enemy waves and 12 different enemies per wave. I intend to use an object with 12 animations. I try to set the new enemy changing the animation, but as the previous enemies are still in layout when entering new enemies, also change their images too and are equal to the new enemies. How to change animations for new wave only? Ideas or suggestions, please.

My code:

RenatoB2012-11-16 17:55:24
B
65
S
13
G
2
Posts: 969
Reputation: 6,732

Post » Sat Nov 17, 2012 8:31 am

Your event setup seems partially redundant, have no time right now to get into it.

But what I will say is that if you have an action for a sprite after its creation action (within the same event), it will only affect that newly created instance. So if you moved the animation action down to the last event it shows there, you aren't picking all instances anymore, but only the one being created.

Might check back when I'm at home again to give a better answer, cheers.
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Sat Nov 17, 2012 11:38 am

Sorry, but I don't quite understand your suggestion.
B
65
S
13
G
2
Posts: 969
Reputation: 6,732

Post » Sat Nov 17, 2012 8:47 pm

Maybe I need to use 12 sprites instead a one sprite with 12 animations.
B
65
S
13
G
2
Posts: 969
Reputation: 6,732


Return to How do I....?

Who is online

Users browsing this forum: PixelatedTrip and 0 guests