miniventure icon indicating copy to clipboard operation
miniventure copied to clipboard

About chinese language

Open ghost opened this issue 5 years ago • 6 comments

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

ghost avatar Feb 06 '20 12:02 ghost

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?

ChristofferHolmesland avatar Feb 06 '20 12:02 ChristofferHolmesland

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

ghost avatar Feb 06 '20 12:02 ghost

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.

ChristofferHolmesland avatar Feb 06 '20 12:02 ChristofferHolmesland

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

ghost avatar Feb 06 '20 12:02 ghost

It not work.Do you have more idea?

ghost avatar Feb 06 '20 13:02 ghost

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.

ChristofferHolmesland avatar Feb 06 '20 13:02 ChristofferHolmesland