Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
-
thirstyoctopus
- Regular
- Posts: 72
- Joined: Mon Aug 27, 2018 12:04 pm
- Projects: Romance Visual Novel story
- Organization: Thirsty Octopus
-
Contact:
#1
Post
by thirstyoctopus » Sun Dec 30, 2018 5:04 pm
Hi everyone
I've been working on my screens for my game, specifically the Credits screen, where I am listing all the Kickstarter backers who have pledged to help my project come to life. However, one backer has entered a Chinese name in characters that Renpy is unable to display and I believe it's most likely due to the font face. However, I cannot change the font for the entire project as it is tied in with my logo and general brand, so I wondered if there was a way to assign a specific, generic foreign face font to that one particular name in the credits? Here is a snippet from the credits screen (example with Chinese characters):
Code: Select all
...
text _("Some guy")
text _("马哲聪")
text _("Another guy")
...
What I want seems like it wouldn't even be possible? Failing that I am able to translate the name via Google Translate but I'm not sure they would want it to display like that since I already asked everyone how they want their names to appear...
Any ideas?
-
Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
-
Contact:
#2
Post
by Imperf3kt » Sun Dec 30, 2018 5:20 pm
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project:
GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
-
thirstyoctopus
- Regular
- Posts: 72
- Joined: Mon Aug 27, 2018 12:04 pm
- Projects: Romance Visual Novel story
- Organization: Thirsty Octopus
-
Contact:
#3
Post
by thirstyoctopus » Sun Dec 30, 2018 6:02 pm
Great, thank you!
-
rames44
- Veteran
- Posts: 232
- Joined: Sun May 29, 2016 4:38 pm
-
Contact:
#4
Post
by rames44 » Mon Dec 31, 2018 12:43 pm
Also, a nit - you probably do NOT want those strings inside a _t() macro, since they probably shouldn’t be translated (being names, not text)
-
Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
-
Contact:
#5
Post
by Imperf3kt » Mon Dec 31, 2018 4:26 pm
rames44 wrote: ↑Mon Dec 31, 2018 12:43 pm
Also, a nit - you probably do NOT want those strings inside a _t() macro, since they probably shouldn’t be translated (being names, not text)
Nice catch!
Best to just put in a string
text "Chinese name"
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project:
GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Users browsing this forum: Bing [Bot], Google [Bot]