Custom Fonts - DEMO

firemaplegamesfiremaplegames Member Posts: 3,211
edited November -1 in Working with GS (Mac)
Hey,

I just made a little demo showing how you can use custom fonts in your games:

http://gamesalad.com/game/play/31065

The fonts that GameSalad allows you to use are fine for prototyping, but look a little unprofessional in the final product.
This will allow you to have complete control over the look of your game, and give it that polished feel.

I am simply using images for each digit, but they could easily be animations as well. Limitless potential!

This uses snazzy modular arithmetic to display the numbers, @eastbound mentioned the mod function a few days ago:

http://gamesalad.com/forums/topic.php?id=1885

This is another use for the modulus.

Modular arithmetic is just like clock arithmetic. The numbers "wrap around" back to the beginning:

Normal arithmetic would say that 7 o'clock plus 8 o'clock equals 15 o'clock, but of course this is not the case.
A clock uses mod 12 arithmetic.

These score digits are very similar to that, just using mod 10 instead.

Anyway, feel free to use this for whatever you want!

Good luck!
Joe

Fire Maple Games

Comments

Sign In or Register to comment.