The Dink Network

Is this impossible?

March 30th 2008, 08:28 PM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
Is it impossible to change the following color codes?

0, !, @, #, $ and %

Because color numbers work but mentioned color codes stay at default even if I change them.
March 30th 2008, 09:21 PM
dinkdead.gif
Don't know about the rest but I've changed ! and it works.

//Set `! to be red
set_font_color(11, 255, 0, 0);

March 30th 2008, 09:34 PM
knights.gif
Nothing is impossible
March 30th 2008, 09:53 PM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
Ah, I see, instead of 0, !, # etc you need to enter 10, 11, 12. I feel pretty stupid. Thanks!
March 31st 2008, 02:55 AM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
The only limit is your imagination.
March 31st 2008, 10:09 AM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
The government nuked my imagination
April 1st 2008, 02:53 AM
burntree.gif
fireball5
Peasant He/Him Australia
Let me heat that up for you... 
you can CHANGE the default text colours???
April 1st 2008, 05:58 AM
dinkdead.gif
Yes

Look up set_font_color() to see all the relevant codes, also note that as it's not saved it's a good idea to set the new colours in start.c unless you'll be changing them again in mid-game.