shylor / miniventure

This is a project by PlayMinicraft to update the source code for Minicraft to be easier for developers.
120 stars 44 forks source link

About chinese language #24

Open ghost opened 4 years ago

ghost commented 4 years ago

Why can't display chinese? like "岩石","小麦"

ChristofferHolmesland commented 4 years ago

Chinese letters can't be displayed because they are not in the font files (see src/icons.png, src/icons2.png).

Did you mistake this repository for chrisj42/minicraft-plus-revived or chrisj42/miniventure?

ghost commented 4 years ago

No i didn't. How does add chinese font?

ChristofferHolmesland commented 4 years ago

Modify Font.java to include the Chinese characters, and then draw the characters in the spritesheet. This should work, but I recommend testing with a couple of characters first.

ghost commented 4 years ago

Okay.I'm testing... And,the game really good!

ghost commented 4 years ago

It not work.Do you have more idea?

ChristofferHolmesland commented 4 years ago

Please upload the files so I can review them. Keep in mind that when you edit a .java file you need to compile the project again.