Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Font  (Read 3557 times)

0 Members and 1 Guest are viewing this topic.

mylesblasonato

  • Developer
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 265
  • "Give up is to fail as sacrifice is to succeed"
    • View Profile
    • Royal Wins
Font
« on: September 03, 2009, 11:09:10 AM »

Hi guys,
I found this font creator and it works great in terms of features like outline, drop shadow and what not. Take a look on the pic. However i can't get it to display properly in WME. I have pasted my font code beneath the picture.


Code: [Select]
FONT
{
  IMAGE = "fonts\Violet\Untitled.bmp"
  TRANSPARENT = 255,0,255
  COLUMNS = 16
  TILE_WIDTH = 22
  TILE_HEIGHT = 32
  AUTO_WIDTH = TRUE
  SPACE_WIDTH = 0
  ;--EXPAND_WIDTH = 5
}

Cheers  ::beer
Myles Blasonato
PS: I also exported an XML file to see the info and it's telling me the size is 22x32. I don't know if that's cell size or...?
Logged
Lead Game Designer, Royal Wins.
@mylesblasonato
@royalwins
http://au.linkedin.com/pub/myles-blasonato/26/600/a38

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Font
« Reply #1 on: September 03, 2009, 11:27:30 AM »

You should probably use the "select character range" and choose all 256 characters (that's what WME expects). Apparently the characters before space are skipped in your font.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

mylesblasonato

  • Developer
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 265
  • "Give up is to fail as sacrifice is to succeed"
    • View Profile
    • Royal Wins
Re: Font
« Reply #2 on: September 03, 2009, 12:34:12 PM »

Cheers Mnemonic.
While I have you here. Do you know of any font creator that can allow me to put a shadow or outline on the font. The two that i have found work but don't have the outline or drop shadow features.

Cheers  ::beer
Myles Blasonato.
Logged
Lead Game Designer, Royal Wins.
@mylesblasonato
@royalwins
http://au.linkedin.com/pub/myles-blasonato/26/600/a38

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: Font
« Reply #3 on: September 03, 2009, 12:42:05 PM »

If you can export the file with transparency then you can add outline and shadow in any decent image editor.
Logged
fl*p

mylesblasonato

  • Developer
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 265
  • "Give up is to fail as sacrifice is to succeed"
    • View Profile
    • Royal Wins
Re: Font
« Reply #4 on: September 03, 2009, 01:55:08 PM »

There should be an easier way with an font generator.

Cheers  ::beer
Myles Blasonato.
Logged
Lead Game Designer, Royal Wins.
@mylesblasonato
@royalwins
http://au.linkedin.com/pub/myles-blasonato/26/600/a38

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Font
« Reply #5 on: September 03, 2009, 02:09:20 PM »

Well adding a shadow in Photoshop is a matter of, like, five mouse clicks :)
Anyway, bitmap fonts will give you a lot of headaches when you decide to localize your game. I recommend using TrueType fonts wherever possible.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.042 seconds with 20 queries.