How do I display Simple Chinese text?

Get help using Construct 2

Post » Tue Feb 10, 2015 3:45 pm

Hi there,

The Ouya recently got a huge investment buy in from a chinese investor and they are looking to bring their library over to China. This brings up the requirement to have games that work with simple chinese.

I did a quick test with ariel and pasting something like this "简单" in there shows boxes. Is there some trick to be able to access simple chinese characters?

C2 shows the characters in the text field but what comes out on the layout is boxes.

Thanks,
Caleb
B
55
S
9
G
1
Posts: 921
Reputation: 6,399

Post » Tue Feb 10, 2015 8:54 pm

Hey part12studios,

I've done a fair amount of Construct using Chinese though I make use of 繁體 mostly since I develop for Taiwan frequently. If you set the font to a Chinese font like 黑體 for example, they should display in the layout correctly. Also, even if the font displays as boxes in Construct, if you run a Web Preview or export the project, when testing in browser it should correctly display Chinese for the user assuming user has a standard Chinese typeface installed.
B
31
S
7
G
8
Posts: 232
Reputation: 6,244

Post » Wed Feb 11, 2015 11:57 am

@cacotigon cool that's very helpful. I took that text from

Are there many chinese fonts out there? Are there any in particular that would be considered the best/safest? You know how we have fonts like arial and times new roman which are standard fonts.

I'm targeting the Ouya which is an android device and don't know what fonts android has installed by default or if perhaps I'm required to bundle the font I want to use in my project.
B
55
S
9
G
1
Posts: 921
Reputation: 6,399

Post » Wed Feb 11, 2015 3:57 pm

Hmmm, I'm not sure to be honest. I think the standard Chinese fonts (at least for Windows anyway) are SimSun which is used for simplified and SimHei which is largely used for traditional Chinese.

As far as Android, I believe that the default typeface Droid includes support for Simplified Chinese (GB2312) and Traditional Chinese (Big 5).
B
31
S
7
G
8
Posts: 232
Reputation: 6,244

Post » Wed Feb 11, 2015 11:26 pm

awesome that's all very helpful thanks for sharing.

Sincerely,
Caleb
B
55
S
9
G
1
Posts: 921
Reputation: 6,399


Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], ismael123, newt and 3 guests