Hi all!
Could anyone suggest a way to have a variable (in this case a hex code) converted into a string of r, g, b values that can be used in scripts?
I'm working on a cosmetic feature for my game where the player is able to pick out the colors of different features of their character bust picture.
I'm managing this with a combination of layered grayscale pictures and the default $gameScreen.tintPicture script. I've been able to make a simple little swatch system, where I have a preselected bunch of colors defined by variables that the player can pick from.
I wish to give the player the ability to put in their own hex code. I could technically just let them insert RGB values, but that's cumbersome and unintuitive and would rather avoid that.
Any direction would be hugely appreciated!
Could anyone suggest a way to have a variable (in this case a hex code) converted into a string of r, g, b values that can be used in scripts?
I'm working on a cosmetic feature for my game where the player is able to pick out the colors of different features of their character bust picture.
I'm managing this with a combination of layered grayscale pictures and the default $gameScreen.tintPicture script. I've been able to make a simple little swatch system, where I have a preselected bunch of colors defined by variables that the player can pick from.
I wish to give the player the ability to put in their own hex code. I could technically just let them insert RGB values, but that's cumbersome and unintuitive and would rather avoid that.
Any direction would be hugely appreciated!