N
newtinn
Guest
THIS HAS BEEN SOLVED BY MYSELF! DON'T WORRY ABOUT IT
I've been making a game and I've been having a problem that when the room is restarted the text disappers. I'm using a custom font I've added in with a sprite.
Code for importing font (this is in the create event):
Code for showing text (in draw event):
Any help will be appreciated.
I've been making a game and I've been having a problem that when the room is restarted the text disappers. I'm using a custom font I've added in with a sprite.
Code for importing font (this is in the create event):
Code:
global.font = font_add_sprite_ext(spr_font,"!#$%&()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ",true,2);
Code:
draw_set_font(global.font);
draw_text(room_width/2-16,32,string(global.points));
draw_self();
Last edited: