Topic was automatically imported from the old Question2Answer platform.
Asked By
9BitStrider
I have a set of sprites that I want to be able to change the color or based on the player’s actions. There are 3 colors that I want to allow to be changed (RGB Values of 15,15,15 65,65,65 and 115,115,115) while ignoring the rest. What would be the best way to implement this? And can I see a little example to give me a kick in the right direction?
The idea I have is kinda like this:
if weapon_id == [Insert Weapon ID# here]:
Change color