Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About chinese language #24

Open
ghost opened this issue Feb 6, 2020 · 6 comments
Open

About chinese language #24

ghost opened this issue Feb 6, 2020 · 6 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 6, 2020

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

@ChristofferHolmesland
Copy link
Collaborator

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
Copy link
Author

ghost commented Feb 6, 2020

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

@ChristofferHolmesland
Copy link
Collaborator

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
Copy link
Author

ghost commented Feb 6, 2020

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

@ghost
Copy link
Author

ghost commented Feb 6, 2020

It not work.Do you have more idea?

@ChristofferHolmesland
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant