Code: Select all
# You can place the script of your game in this file.
# Declare images below this line, using the image statement.
# eg. image eileen happy = "eileen_happy.png"
image black = "#000000"
image bg classroom = "underC2.jpg"
image keiko idles = "keiko_idle2.png"
image keiko wink = "keiko_wink2.png"
image keiko happy = "keiko_happy2.png"
image keiko dis = "keiko_dis2.png"
image keiko sit = "keiko_sit2.png"
init python:
style.default.font = "msmicho.ttc"
style.default.language = "eastasian"
# Declare characters used by this game.
define e = Character('Keiko', color="#c8ffc8")
# The game starts here.
label start:
# scene black
# show bg classroom at truecenter
scene bg classroom
show keiko idles
e "おはいようございます"
e "Once you add a story, pictures, and music, you can release it to the world!"
returnIn addition, is it even possible to use both English and Japanese in the same game? The other threads seemed to suggest that it was only Japanese they were using.
If someone has a .ttf file or link for Japanese text that would be helpful as well, in case it is a problem with the file.
Thanks!
EDIT: I was missing the n, sorry about that.
Edit 2: The change has allowed me to have both Japanese and English text; however the character names do not appear in either English or Japanese, above or in the text box.
Code: Select all
e = Character(u'keiko', color="#c8ffc8", show_two_window=True)
w = Character(u'じっこう', color="#c8ffc8", show_two_window=True)