I’m trying to set a “color variable” in a simple game I want to write and i just want to make the background of a tile whatever color I set so I was wondering if I could use something like java’s COLOR.blue in c++
I’m trying to set a color variable in a simple game I want to
Share
You better forget about color names and just use hex values intead:
Or if you need to use alpha channel:
Much easier to handle colors that way, especially if you are familiar with HTML coding.