-
Notifications
You must be signed in to change notification settings - Fork 0
Draw_set_font
hugh greene edited this page Jun 20, 2022
·
1 revision
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.
edited by hpg678 on Github