• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Help changing RGB sprite parts in game.

I

Igor Hideki

Guest
I have a character sprite, also a red,green,blue layer mask for that character.
so, I'm in need of changing the red, green and blue parts of the mask colors and merge with the base sprite, to give the appeareance of changing colors ... can someone help me with those ?

i saw some things about adding a shader or blending something, with alpha 1, but it doesn't worked I guess or I just messed up.

thank you for the help.
 
B

Badger

Guest
There are various ways of changing colors on a sprite. (Shaders, setting blend modes, using draw_sprite_ext() and setting a color to blend with, etc.)
What exactly have you tried? @Pixelated_Pope has a great asset for palette swapping that you can find with a quick google search.
 
I

Igor Hideki

Guest
thanks for the help.
 
Last edited by a moderator:
Top