asian characters
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
asian characters
hello!
I would like to know what I can do if I'd like to use japanese. I saw, somewhwere, something about japanese support, but I can't find anything more, so I'm writing here. Or it's not possible if the windows isn't japanese version??
thank you,
kik
I would like to know what I can do if I'd like to use japanese. I saw, somewhwere, something about japanese support, but I can't find anything more, so I'm writing here. Or it's not possible if the windows isn't japanese version??
thank you,
kik
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
It's possible. There are 3 things you have to do:
1) You need to save as UTF-8 unicode. SciTE should do this by default when you save a script, but you need to be aware of this.
2) You need to download a free Japanese font, place it in the game directory, and then tell Ren'Py to use it. For example, if your font is mikachan.ttf, then you would write:
You'll want a font you can distribute with the game.
3) If you'd like Ren'Py to properly wrap Japanese text, then you should copy east_asian.rpy from the extras/ directory to the game directory.
If you do all three of these steps, then Ren'Py should support Japanese text. Please let me know your experience, as I don't think anyone's seriously used the Japanese text support before.
Oh, since Ren'Py handles all text rendering itself, it shouldn't matter if your windows isn't Japanese. (The one issue being that renpy.input() is not supported for non-English languages, and especially not for ones that require input method support.)
1) You need to save as UTF-8 unicode. SciTE should do this by default when you save a script, but you need to be aware of this.
2) You need to download a free Japanese font, place it in the game directory, and then tell Ren'Py to use it. For example, if your font is mikachan.ttf, then you would write:
Code: Select all
init:
$ style.default.font = "mikachan.ttf"
3) If you'd like Ren'Py to properly wrap Japanese text, then you should copy east_asian.rpy from the extras/ directory to the game directory.
If you do all three of these steps, then Ren'Py should support Japanese text. Please let me know your experience, as I don't think anyone's seriously used the Japanese text support before.
Oh, since Ren'Py handles all text rendering itself, it shouldn't matter if your windows isn't Japanese. (The one issue being that renpy.input() is not supported for non-English languages, and especially not for ones that require input method support.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
While it's theoretically possible, it would almost certainly be very difficult to mix 2 fonts. There's no support for doing it automatically, so you'd be stuck changing the font around throughout the program. (Using the {font=} text tag, the who_font and what_font parameters to Character, and so on.)
Suffice it to say, I don't recommend it.
Suffice it to say, I don't recommend it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
I'm glad you were able to make it work. If you can describe the problems you had, I'll take a look at them and see if they can be made easier for the next guy in line.
Anyway, welcome to the forum. You may want to consider registering, as it's free and comes with many exciting benefits.*
* If you consider private messaging an exciting benefit.
Anyway, welcome to the forum. You may want to consider registering, as it's free and comes with many exciting benefits.*
* If you consider private messaging an exciting benefit.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Miko-Class Veteran
- Posts: 829
- Joined: Sun Feb 20, 2005 8:45 pm
- Projects: NaNoRenO 2016, Ren'Py tutorial series
- Location: USA
- Contact:
* and being able to edit your post(s) in the event that you make a big typo that effectively changes the meaning of your post(s).PyTom wrote:I'm glad you were able to make it work. If you can describe the problems you had, I'll take a look at them and see if they can be made easier for the next guy in line.
Anyway, welcome to the forum. You may want to consider registering, as it's free and comes with many exciting benefits.*
* If you consider private messaging an exciting benefit.
irregardless, you've perked my interest. I'll be keeping my eyes open for whatever you have coming... unless it's invisible *gets whacked by Aires*
~Kitsune Zeta
Who is online
Users browsing this forum: DewyNebula