Back to waroffice's Blog ( Created 28 June 2011 | Last Edited 28 June 2011)|
|Development Diary : Bitmap fonts|
im back at socoder
|Coding while tired is never a good thing. Sure you will get something done but it is never your best work. There have been countless times I have struggled over some code for hours but due to fatigue I was unable to solve it. Last night was no exception, I was struggling to get the text to display and even get it to line up.|
After an hour or so it was working after I ironed out some school boy errors.
My next problem was to get the new bitmap font to fade in and out nicely.
I managed to get it to fade in but couldn't figure the maths out to make it fade in then out.
I gave up and went to bed, that normally does the trick, but this time it just kept me awake and now I'm shattered.
I will figure out the fading later, for now the text looks fabulous and may even venture out in to other fonts at a later date.
|Posted : Tuesday, 28 June 2011, 00:39|
|No screenshot!? |
It was far too hot to sleep last night, so I spent a few hours working on a new (again?!) iOS game.
Kinda works, but.. .. I was tired.. It doesn't play half as well as it seemed to last night!
A few tweaks here and there, and I should be able to make something half interesting out of it.
|Posted : Tuesday, 28 June 2011, 01:06|
|I was getting glares from my other half so went to bed after uploading it to my site.|
I will get a screen shot in about an hour or so (remote desktop ftw)
|edit| I realised I had the font image in the game download,
|Posted : Tuesday, 28 June 2011, 02:41|
|here is the screen shot|
|Posted : Tuesday, 28 June 2011, 03:17|
|Oooh, what a luvly font!|
|Posted : Tuesday, 28 June 2011, 03:50|
|Its called Nosferatu, i spent ages looking through thousands of em.|
I will link it
|Posted : Thursday, 30 June 2011, 12:04|
|If you're doing this game in Blitz then you may want to look at an alpha routine that works in real time. The only caveat is that you'll need to re-do the bitmap of the font to mask everything except the font characters.|
|Posted : Wednesday, 06 July 2011, 03:44|
|I'm doing it in Cobra.|
I think I have it all good now, the timing works and the effect is good.
I think I will add some scaling to it for different font sizes.
Thanks for your help guys