Problem with bitmap fonts

Non-platform specific questions.

Problem with bitmap fonts

Postby mcavalcanti » Tue Sep 27, 2011 1:01 pm

Hi, guys.

Please, is there a step by step to create bitmap fonts? I just searched the forum and followed some steps, but all of my attempts failed. I'm doing this:

1. I downloaded some bitmap font from this page (http://www.dafont.com/bitmap.php?page=15)

2. I built the bitmap in Photoshop in this order: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'

3. On GE, I selected this bitmap font and put the exclamation (!) as the first char, but did not work.

4. I read in some place that the first char is blank space and I need to replace it to underscore (_).

5. So, I put this way: _!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_' and still not working.

Please, need help here. Best!
Mario Cavalcanti
----------------------------
Code is poetry.
User avatar
mcavalcanti
 
Posts: 54
Joined: Fri Jul 22, 2011 1:09 am
Location: Rio de Janeiro, Brazil
Score: 1 Give a positive score

Re: Problem with bitmap fonts

Postby jimmynewguy » Tue Sep 27, 2011 5:50 pm

viewtopic.php?f=1&t=10952&p -> Does this help?
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Problem with bitmap fonts

Postby SuperSonic » Tue Sep 27, 2011 9:01 pm

The first character should be <space> not an underscore :wink:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: Problem with bitmap fonts

Postby Jagmaster » Wed Sep 28, 2011 2:18 am

I suppose the characters ABCDEFG...ect have to be the same size as well as abcdefg... and 123456... but not the symbol characters so much?
I made a font with only numeric characters and it only worked when all the characters were the same size. I haven't made a full sized font yet, but by my observations, this must be true with the all the alpha-numeric characters?
I need some clarification on this. :|
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: Problem with bitmap fonts

Postby DollMaster » Wed Sep 28, 2011 5:20 am

I only made one font, but all of the characters used the same amount of space. So my 'i' and 'l' made it look like a lot of space in between them. My symbols had to be the same distance as well. To my knowledge, GE doesn't push skinnier letters and symbols together, so you might need to edit it a little bit.
DollMaster
 
Posts: 65
Joined: Fri Jun 16, 2006 2:38 am
Score: 2 Give a positive score

Re: Problem with bitmap fonts

Postby Game A Gogo » Wed Sep 28, 2011 11:28 am

Think about it, how would ge know which letter to shrink and which should be wider? it doesn't, for that fact GE needs the letters, symbol, anything to be spaced equally, much like an animation would be
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: Problem with bitmap fonts

Postby sonicfire » Wed Sep 28, 2011 1:50 pm

i still wish there was a bitmap font maker that would be able
to create GE compatible font stripes, together with different things like
outlingin, shadows... gradients. and stuff like that. one-colour fonts do look so boring :)
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

Re: Problem with bitmap fonts

Postby mcavalcanti » Thu Sep 29, 2011 11:36 am

Thanks, guys! These informations helped me a lot.

sonicfire, I agree with you, but I'm using a program called 'A Bitmap Font Creator' - and apllying the gradients and shadows on Photoshop. The result is very good.

The 'A Bitmap Font Creator' requires Java and works very nice: http://sourceforge.net/projects/bitmapfont

I'm using exactly this sequence: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
Mario Cavalcanti
----------------------------
Code is poetry.
User avatar
mcavalcanti
 
Posts: 54
Joined: Fri Jul 22, 2011 1:09 am
Location: Rio de Janeiro, Brazil
Score: 1 Give a positive score

Re: Problem with bitmap fonts

Postby sonicfire » Thu Sep 29, 2011 6:27 pm

thanks for the tip! :)
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest