-
Notifications
You must be signed in to change notification settings - Fork 0
Draw_set_font
hpgDesigns edited this page Aug 8, 2021
·
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.
This is number 1