• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Text Help

Neptune

Member
I'm wondering if there is any built-in notation for underlining, bolding, or italicizing text that is written in a draw_text(x,y,"string"); function.

Any information is appreciated!
 
A

Aura

Guest
Fonts are internally stored as images, so that is sadly not possible via code. You would have to create multiple font resources.
 
J

Jason Curry

Guest
Short answer is no.

Take a look at the YoYo Store, there are quite a few extensions that will parse your string to give a similar appearance, but then you have to create multiple fonts. i.e. font0_normal, font0_underline, font0_bold, font0_italic, font0_bold_underline, font0_bold_underling_italic (so it takes some work). That's about the best you can do at this juncture.
 
Top