Topic Options
#158351 - 09/01/09 10:37 AM Example: Highscores for mobile games [no strings]
Burfelt
Forum Moderator


Registered: 07/04/06
Posts: 479
Loc: Denmark

One of the problems you'll face when developing for a mobile phone is "Highscores".

Any dynamic string of text in general is hard on a mobile device, as you never know if your fonttype is supported or how it's actually going to look on the final device.

The answer is to use your own generated bitmap font, and have MMF generate a bitmap every time you need a dynamic string. It takes a bit of looping and time to import all the characters you need, but it's very possible and the advantage is that you get to control exactly how your text appears on the device.

I've uploaded an example taken directly from my own game. I'm not a great programmer but it works, and I'm sure other would like to see how it could be done. You guys might even be able to optimize the code!

http://www.burfelt.com/java/highscore/Mobile_highscores.zip

Top
#158359 - 09/01/09 11:16 AM Re: Example: Highscores for mobile games [no strings] [Re: Burfelt]
MJK


Registered: 06/30/06
Posts: 372
Interesting.. thanks for sharing!

Top


Site Links
Forum Index

Home Page
Online Store
Tutorials
Download Center
French Forum

Quick File Links
Multimedia Fusion 2
Updates - build 249
Standard Version
Developer Version

Extension Packs
Bonus Pack 1
Bonus Pack 2
z33z Extension Pack
LIJI Extension Pack

The Games Factory 2
Latest Update - build 249
Community Links
Fusion Wiki
MFA Repository
Klikdisc
The Daily Click
GameBuilder

GB Arcade
TDC Arcade
Madword

Extensions
Neatwares Extension List
Extension Updater

Lacewing & Moo Server
Klikfarm

Money from your games
Click Chat
9 People are chatting
Game Builder

Visit the GameBuilder Homepage

Recent Download

Dungeon Master

Latest News