How do I change one aspect of the animation for all frames

Get help using Construct 2

Post » Sat Dec 12, 2015 6:12 am

Hi,
I have sprite which is a black ball. This blackball has the animations of up, across, and arched. I want to change this black ball to different colors in every frame of the animation without having to create a new ball. So I sometimes want a black ball and sometimes a blue but they both are the same and have the same animations with just different colors. Because I want to do this with multiple colors and I have many events linked to the balls I do not want to duplicate and clone the balls and events.
B
8
S
3
G
2
Posts: 52
Reputation: 1,762

Post » Sat Dec 12, 2015 12:52 pm

Well, one way to get this to work is to just create new animations for the sprite. blackup, blackacross, blackarched, blueup, blue across, bluearched,... and so on. You could keep them all in the same sprite so you don't have to clone balls or events.

Make some kind of variable on the sprite to see if color should be blue it will use the blue animations instead.

Is this what you are after?
B
9
S
2
G
1
Posts: 51
Reputation: 823


Return to How do I....?

Who is online

Users browsing this forum: pcprice76, smlyldz and 11 guests