K
krugen
Guest
So I downloaded a font from Google and created a font resource:
https://docs2.yoyogames.com/index.html?page=source/_build/3_scripting/4_gml_reference/fonts/font_add.html
How do I proceed then? Do I need to do font_add()? Do I need to do some code with font functions?
https://docs2.yoyogames.com/index.html?page=source/_build/3_scripting/4_gml_reference/fonts/font_add.html
Create event:
Draw event:
Nothing happens
Updates:
If I do draw_set_font(font_questrial) without using font_add, it works.
https://docs2.yoyogames.com/index.html?page=source/_build/3_scripting/4_gml_reference/fonts/font_add.html
How do I proceed then? Do I need to do font_add()? Do I need to do some code with font functions?
https://docs2.yoyogames.com/index.html?page=source/_build/3_scripting/4_gml_reference/fonts/font_add.html
Create event:
Code:
font_in_use = font_add(font_questrial, 18, false, false, 32, 127);
draw_set_font(font_in_use);
draw_set_color(c_black);
Code:
draw_text(20, 20, "game is building");
Updates:
If I do draw_set_font(font_questrial) without using font_add, it works.
Last edited by a moderator: