Displaying Chinese Characters

Home / Forums / Marmalade Archive / General Development Questions / Displaying Chinese Characters
5 replies [Last post]
by: leviatech
Status: Offline
Joined: 2012-01-07
Points: 210

Hello,

For part of my game I need to display chinese characters in a dialogue. Is there a programmatic way of doing this or how do I do this? Does anyone have any code for doing this? I appreciate any help with this, thank you.

Curtis

by: roo
Status: Offline
Joined: 2012-03-23
Points: 4040
+1 good question.

+1 good question.
You can have textures with text

by: Rocifier
Status: Offline
Joined: 2011-04-05
Points: 2370
You can use truetype fonts in

You can use truetype fonts in marmalade by using the font builder tool, it handles the code for you to cache the glyphs to textures and everything.

by: leviatech
Status: Offline
Joined: 2012-01-07
Points: 210
Thanks for your answers guys,

Thanks for your answers guys, I haven't really used the font builder so I guess I am not sure what you mean by truetype, I mean I didn't really see the option. It would be convenient just to copy paste, then how would this be called from the program?

Textures would be good to, does this mean just copy into an image since I was just considering that since I don't have many phrases that I need in Chinese.

It would be kinda cool just to call a function but I am not sure how to start.
Eventually I will need the functionality to do more phrases so eventually I will need a more solid way of doing this, meaning less resource intensive.

by: StatKsn
Status: Offline
Joined: 2011-02-02
Points: 1480
Font builder definitely

Font builder definitely supports TrueType fonts. You'll need to encode your text by UTF-8 if you'd like to use non-alphabet characters, just to let know.

by: leviatech
Status: Offline
Joined: 2012-01-07
Points: 210
Cool, thanks for the info.

Cool, thanks for the info.

Latest Posts

Latest Comments

Top Contributors

  • Chris D : 27,010
  • MonRoyals : 26,970
  • Salman : 26,720
  • Jez Hammond : 20,130
  • pjan : 11,150
  • gjw : 10,350
  • Paolo Oliverio : 9,640
  • Beaker_2 : 8,390
  • Kite : 8,210
  • bluescrn : 7,810