咦,我重新发一下代码吧,大意了
[RenPy] 纯文本查看 复制代码
label start:
python:
nv_xing = "李"
nv_name = "小花"
quan_name = ""
while True:
a = renpy.input("姓:") or nv_xing
a = a[:2]
a = a.replace(" ", "")
i = int(len(a))
if i != 0:
break
while True:
b = renpy.input("名:") or nv_name
b = b[:2]
b = b.replace(" ", "")
j = int(len(b))
if j != 0:
break
quan_name = a+b
define e = Character("[quan_name]",image="hui1.jpg")
image bg kitchen = "厨房.png"
scene bg kitchen
show hui1
e "您已创建一个新的 Ren'Py 游戏。"
e "当您完善了故事、图片和音乐之后,您就可以向全世界发布了!"
return
|