How to fill color for sprites?

Get help using Construct 2

Post » Wed Dec 12, 2012 5:47 am

I want to make a game of filling color for children, how can I do that? Are there any tutorials or sample demos
B
6
Posts: 15
Reputation: 755

Post » Wed Dec 12, 2012 8:16 am

And how to fill the color in a part of a sprite?
B
6
Posts: 15
Reputation: 755

Post » Wed Dec 12, 2012 11:38 am

You could use animations to force the desired effect.

Frame 0 - Uncoloured version
Frame 1 - Coloured Blue
Frame 2 - Coloured Red
Etc

Then create a colour pallet based on your choice. When the user clicks a new colour change a variable.
If the user then clicks the sprite and his variable is equal to red then change the sprites animation to red.

Or something along them lines.

Its a very long winded way of doing it but I'm sure this method would work or at the very least allow you to start making the game until someone else could point out a simpler way.
B
13
S
2
Posts: 87
Reputation: 1,244

Post » Wed Dec 12, 2012 9:13 pm

Are there some ways to make the sprite be covered by color dynamically?Golden_wang2012-12-12 21:18:43
B
6
Posts: 15
Reputation: 755

Post » Wed Dec 12, 2012 9:14 pm

[QUOTE=Richard Stennett] You could use animations to force the desired effect.

Frame 0 - Uncoloured version
Frame 1 - Coloured Blue
Frame 2 - Coloured Red
Etc

Then create a colour pallet based on your choice. When the user clicks a new colour change a variable.
If the user then clicks the sprite and his variable is equal to red then change the sprites animation to red.

Or something along them lines.

Its a very long winded way of doing it but I'm sure this method would work or at the very least allow you to start making the game until someone else could point out a simpler way.[/QUOTE]
thank you for the solution,I think it must would work but it seems too complicated,lead to that I will spent too much time to make a lot of pictures....
Anyway thanks a lot guy
B
6
Posts: 15
Reputation: 755


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests