1

I have to change pictures in a Construct 2 coloring game and i don't know how get it.

There are a some .png file that contain the old pictures:

enter image description here enter image description here

This pictures are loaded and generated i don't know how by the data.js file that cut and put in each hole

Anybody could help me ? I'm very lost with this.

1 Answers1

1

There is a solution to this problem. https://www.construct.net/en/forum/construct-2/how-do-i-18/create-coloring-game-134338

And if you're too lazy to look at it, here it is. *One way would be to prepare all the colorizable elements of your illustration -- the regions within the black lines -- as separate white sprites (PNGs), with the ReplaceColor effect applied. Then when the user clicks in a "color palette" sprite, store the clicked color value as a global value, and assign this to the ReplaceColor effect of any clicked illustration sprite.

Depending on the complexity of your illustration, it could be a fair amount of work to position all the illustration sprites in the appropriate positions in the layout, but it should work.

There may be other options that treat the problem more like paint fills, but I'm not aware of how to do this.* -netdzynr

The_Gamer
  • 43
  • 1
  • 8