Xer0botXer0
Senpai
Good day!
Example code:
draw_circle_colour(room_width/2,room_height/2,100,c_white,c_white,0);
According to the manual, the colors have constants here white is "c_white" and they also have values, c_whites' value being "16777215"..
How do I go about incrementing/decrementing that value to arrive at a different color ?
I assume these values aren't just random..
But it's odd since reds' value is "255"..
I'm wondering perhaps it works like this ..
R : 255
G : 0
B : 0
for Red
and
R : 167
G : 772
B : 15
for white.. although that's a weird value for white..
any ideas ?
Example code:
draw_circle_colour(room_width/2,room_height/2,100,c_white,c_white,0);
According to the manual, the colors have constants here white is "c_white" and they also have values, c_whites' value being "16777215"..
How do I go about incrementing/decrementing that value to arrive at a different color ?
I assume these values aren't just random..
But it's odd since reds' value is "255"..
I'm wondering perhaps it works like this ..
R : 255
G : 0
B : 0
for Red
and
R : 167
G : 772
B : 15
for white.. although that's a weird value for white..
any ideas ?