View Issue Details

IDProjectCategoryLast Update
0013417AI War 1 / ClassicSuggestion - New FeaturesMar 23, 2014 7:23 pm
Reporterljcads Assigned Tokeith.lamothe  
Status closedResolutionfixed 
Summary0013417: Game do not support UTF-16
DescriptionMy friends and I are Chinese and are the game's fans.
we like it, but it do not support UTF-16, so we cannot type chinese in game.

at the same time, we want to translate the game in to Chinese, than we can help more people play this game easier. but for the same reason, we cannot do it.

TagsNo tags attached.
Internal WeightNew

Activities

keith.lamothe

Mar 22, 2014 9:00 am

administrator   ~0035247

Chris responded here: http://www.arcengames.com/forums/index.php/topic,14986.0.html

"
Unfortunately...

To do that requires a spritefont that supports that sort of extended character set. Generally those are enormously huge, so typically dynamic fonts are used. Unity supports those, but they either have to be baked in or they have to be on the OS. And they don't work with our engine layers any better than regular unity text does. We're not using the unity text, we're using a custom spritefont thing. It's theoretically possible to create a spritefont dictionary of all the characters for all the languages that you might theoretically want to have characters for... but wow, what a challenge.

Technically, I guess you could actually replace the sprite fonts that are in RuntimeData/GUI/BitmapFonts if they want to. Those are standard sprite fonts, and if someone replaces the .fnt file and the associated png file (it doesn't let you break it into multiples), then they could have whatever character set they wanted. We are I believe using unicode rather than ascii, so in the engine that should work.

That said, I don't think AI War even uses the bitmap font stuff yet, so that wouldn't even work. But it would for our later games. If you fiddled around with it enough.
"

We'd like to help, but it would take a ton of our time when we honestly don't have enough for our current main project. Sorry!

TechSY730

Mar 23, 2014 7:23 pm

reporter   ~0035257

Last edited: Mar 23, 2014 7:23 pm

So, basically, the game supports Unicode just fine (this being C# and all); the problem being that the fonts do not?

Issue History

Date Modified Username Field Change
Mar 21, 2014 7:46 pm ljcads New Issue
Mar 22, 2014 9:00 am keith.lamothe Note Added: 0035247
Mar 23, 2014 4:00 pm keith.lamothe Internal Weight => New
Mar 23, 2014 4:00 pm keith.lamothe Status new => closed
Mar 23, 2014 4:00 pm keith.lamothe Assigned To => keith.lamothe
Mar 23, 2014 4:00 pm keith.lamothe Resolution open => fixed
Mar 23, 2014 7:23 pm TechSY730 Note Added: 0035257
Mar 23, 2014 7:23 pm TechSY730 Note Edited: 0035257