How to fill color for sprites?

0 favourites
  • 5 posts
From the Asset Store
Color all tiles with the same color in 22 moves or less!
  • I want to make a game of filling color for children, how can I do that? Are there any tutorials or sample demos

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • And how to fill the color in a part of a sprite?

  • 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.

  • Are there some ways to make the sprite be covered by color dynamically?

  • 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.

    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 <img src="smileys/smiley17.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)