Posted: 10th Oct 2011 8:50
Now I am in china.Chinese is different from English, it contains a large amount of characters.I want to use my own font,how to solve it ?

I watched some games in IPad, they all used the default text font. but I think it's not beautiful enough.

How can give me a advice?
Posted: 10th Oct 2011 9:37
With AppGameKit it's not possible (at the moment) to use other then the first ASCII characters (32 to 127). If you want different fonts, then just use this: http://forum.thegamecreators.com/?m=forum_view&t=189225&b=41 with royalty free fonts (not all fonts are allowed to be used without paying for them) or simply buy the new fonts from TGC.

Then in your program load the font image as new default one:

+ Code Snippet
Global img_font         as Integer
img_font                = LoadImage("myfont.png")
SetTextDefaultFontImage(img_font)


Then you can use CreateText etc. which use the new font.
Posted: 10th Oct 2011 9:49
Hubdule ,Thank you all the same.

I need to use Chinese characters,not English words.

The Chinese characters is very complex. and usually the font file size is more than 2MB.
Posted: 10th Oct 2011 13:05
halley, most likely for the time being you will need to create your own spritesheets containing the images for your font. Unfortunately you will also have to work out some method of using it also but the sprite commands are relatively easy to manipulate.
Posted: 10th Oct 2011 15:01
Thank you!