draw_set_font - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
NOTOC {{-}}
Sets the font used when drawing text.
- font, index of the font resource
This function has no return values.
draw_set_font(fnt_hud);
draw_text(5, 5, "FPS: " + string(fps));
Demonstrates setting the font to one used for drawing on the HUD, and then drawing the frames per second in the top left corner with it.