Undertale Wildfire has a custom text system to allow for special formatting. To draw text with this system, use the draw_formatted_text()
function, as follows:
draw_formatted_text(x, y, font, char_spacing, line_spacing, text)
x
andy
: The position to draw the text at. The text alignment in GameMaker is always set tofa_left
andfa_top
when using this function.font
: The font to draw characters with.char_spacing
: The number of pixels from the start of each character to the start of the next one (even proportional fonts will be drawn as monospaced with this function - this is how the base dialogue font is drawn!).line_spacing
: The number of pixels from the top of each line to the top of the next one.text
: The text to draw.