The Daily Click ::. Forums ::. Klik Coding Help ::. Strings
 

Post Reply  Post Oekaki 
 

Posted By Message

Dave S.



Registered
  26/09/2003
Points
  924
29th September, 2010 at 09:19:55 -

I have named the levels of my game using 'string objects'. These are of a particular font that other people may not have. Should I incorporate the font with the game download? Would anyone be bothered to install the font?

 
n/a

nim



Registered
  17/05/2002
Points
  7234
29th September, 2010 at 10:56:42 -

I could be wrong but I don't think there's a way to embed fonts in a MMF game. You can include the font file with the game and ask people to put it in their windows/fonts folder, or convert the string object to an active object (right click > convert)

UPDATE: Just found this! http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=206131&page=1
Never used it so good luck if you try it.

Edited by nim

 
//

Dave S.



Registered
  26/09/2003
Points
  924
29th September, 2010 at 12:02:04 -

Thanks for the link nim. I tried it... but couldn't get it to work with MMF V1.5. It seems that it is for MMF V2.0 only... shame.

However, converting the string to an active object (or indeed a background object) works perfectly (now why didn't I think of that?). I'll keep the strings intact and put them to one side, as I may need to edit them later...



 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1971

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
29th September, 2010 at 12:53:34 -

Another alternative would be to use the Text Blitter extension. It would require a bit more effort though, as you'd need to create an image containing the complete set of letters/numbers/punctuation marks.

If you needed the ability to modify the text at runtime, that would be the way to go. Otherwise, it's easier just to use an active object.

It really annoys me that fonts aren't embedded in the game file, or at least loaded from the application folder.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click