LoginLogin

In code Sprite editing

Root / Programming Questions / [.]

EbbeCreated:
Hi, I am making an rpg game and I want to be able to change the color of the clothes of my character in the game. Is this possible? Is there a command to change one specific color in a sprite instead of changing the whole sprite with SPCOLOR? If yes, please let me know.

You can edit the spritesheet on the fly. Use GPFILL on whichever page you have set for that sprite to manually change sections to different colors Other methods include sperating the clothing only into a second sprite and linking it to the first sprite, then SPCOLORing that. Or if you only have a small number of color changes you can always just duplicate the character sprites and recolor the copy.