Draws text to the screen.
Argument | Type | Description |
---|---|---|
x | :real | The x position the text will be drawn at |
y | :real | The y position the text will be drawn at |
text | :string | The text to draw |
Example, called from post_draw.gml:
// draws current character's state:
draw_debug_text( x, y - 20, string( state ));