How do I change color to a sprite?

Get help using Construct 2

Post » Sun Aug 17, 2014 10:56 pm

Hello everyone! :D
Ok so, I have a square. A color X one. I want to change its color to color Y, without having to create a different animation with the exact square with color Y. And if it's possible, I want it to transform from color X to color Y like a loading bar, starting from the left, and going to the right. Something like in the attached picture. I repeat, I don't want to create different animations for every transformation from color X to color Y...
You do not have the required permissions to view the files attached to this post.
B
9
S
1
Posts: 33
Reputation: 596

Post » Sun Aug 17, 2014 11:03 pm

You can adjust a sprites hue with webGL (This wont work on black though)

If the effect you want to achieve is exactly as described I would simply use two square sprites and adjust the width values of the red one.
B
59
S
21
G
9
Posts: 641
Reputation: 9,787

Post » Mon Aug 18, 2014 10:57 am

Ok, thank you... I'll try it later, if I have any more question I'll post here :D
B
9
S
1
Posts: 33
Reputation: 596


Return to How do I....?

Who is online

Users browsing this forum: Apollo14, ChoosyZerk and 51 guests