Font glitch

C

cc89

Guest
Hey everyone,

I'm currently working on a game called Orbulus, where you guide an orb through a strange world collecting crystals and jewels while avoiding enemies and other hazards.

In the game, I have made it so if you have not collected all the crystals in a level, and you try to go for the exit, the game tells you to find all the crystals before you leave. The font used to display the message is the same as the font in the status bar, but smaller. However, when the message appears, the score and lives font get changed to that smaller font - see below for before the message is triggered:

upload_2017-11-4_2-20-10.png

And the below snapshot is after the message is triggered (it returns to normal after the message disappears):

upload_2017-11-4_2-22-49.png

Only the lives and score are affected (they are both displayed with the object [obj_score]). The crystals remaining are in a separate object, although it is unaffected by the glitch.

The font used to display the score, lives, and crystals remaining is labeled as "font0", while the font used to display the message is labelled as "font3".

Using Game Maker Studio 1.4.1772.
 
And you may have to do these as well, since it looks like it's being changed in the other object:
Code:
draw_set_halign(fa_center);
draw_set_valign(fa_middle);
Or fa_left/fa_top, whatever position you had them originally.
 
C

cc89

Guest
Thanks ampersandbear and SnotWaffle Studios for your help, the messages and the status bar info display correctly now. :)
 
Top