我的朋友们决定用 Ren'Py 来折磨我,我需要有关视觉小说代码的帮助。
screen CorpseText():
frame:
xalign 0.5
yalign 0.5
text "barn är jobbiga"
call label Return
screen Lik():
imagebutton:
xalign 0.5
yalign 0.5
idle "bg williamdedlolclose"
action Show("CorpseText")
label start:
scene bg williamdedlol
"click on the body"
call screen Lik
label Return:
"(His back has been broken from the fall and like Manea said, it looks like he’s been stabbed in the face.)"
所以应该发生的事情是你进入名为“Lik”的屏幕,其中显示了一个死亡角色的图片,你应该点击他。然后应该将您发送到 Corpsetext,然后我想返回到对话框。
我从很多人那里得到了建议。我尝试在 Corpsetext 之后写 Return,当这不起作用时,我在对话框之前写了它。有人可以帮我更改代码以使其正常工作吗?
在 corpstext 中,将文本编辑为文本按钮,并执行操作隐藏 coprstext 隐藏喜欢。如果需要,您可以制作全屏按钮,或者在 corpstext 屏幕上添加显示隐藏喜欢,隐藏 corpstext 并暂停 1.0 或更多时间来阅读文本