Jump to content


Photo

Embed fonts into executable


  • Please log in to reply
3 replies to this topic

#1 darktree

darktree

    GMC Member

  • GMC Member
  • 31 posts
  • Version:GM8

Posted 27 June 2012 - 02:08 PM

Hello,

How do I include fonts into my game so other players see the correct font?

I am making a game that uses a custom font for the Help dialog that pops up when users press F1. I have been primarily working on my laptop.

However, when I went to my main PC to test it out, I noticed the F1 dialog popped up with a generic Arial font, screwing up the spacing of everything in the help menu.

I read in some posts that Game Maker includes the font into the exe, or maybe it used to... but whatever the case... it is not for my game.

I looked in global settings and game preferences but found no option to include the font into my game / file / executable.

Edited by darktree, 27 June 2012 - 02:22 PM.

  • 0

#2 robinsblade

robinsblade

    GMC Member

  • GMC Member
  • 661 posts
  • Version:GM8

Posted 27 June 2012 - 02:23 PM

well i believe all you have to do is create a font in game maker then create the executable.

in game make hiearchy right click the fonts folder and press create font.
then choose all your options and use that font for what you changed.
  • 0

#3 YellowAfterlife

YellowAfterlife

    GMC Member

  • Global Moderators
  • 3490 posts
  • Version:GM:Studio

Posted 27 June 2012 - 03:32 PM

You cannot include fonts to be displayed in traditional game description (F1 thing), since it uses system resources, thus requiring installation of said font.
It is appropriate to make a separate room with help made either via text-drawing objects or a background to bypass this problem.
  • 0

#4 darktree

darktree

    GMC Member

  • GMC Member
  • 31 posts
  • Version:GM8

Posted 27 June 2012 - 04:22 PM

You cannot include fonts to be displayed in traditional game description (F1 thing), since it uses system resources, thus requiring installation of said font.
It is appropriate to make a separate room with help made either via text-drawing objects or a background to bypass this problem.


Thanks! A custom room it is...
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users