终于解决了,不知道有没有绕很多弯子
[RenPy] 纯文本查看 复制代码 label map:
window hide
show screen map
pause
if moves == 0:
hide screen map
jump home
else:
hide screen map
jump two
label home:
"111111"
jump map
define moves = 0
default moves = 0
screen map:
modal True
add "images/map.jpg"
button:
frame:
xpos 480
ypos 877
textbutton "学校":
text_outlines [(absolute(2),"#000",absolute(0),absolute(0))]
text_color "#ffcce0"
text_hover_color "#000"
action [SetVariable('moves',1),Return('map')]
button:
frame:
xpos 910
ypos 950
textbutton "家":
text_outlines [(absolute(2),"#000",absolute(0),absolute(0))]
text_color "#ffcce0"
text_hover_color "#000"
action [SetVariable('moves',0),Return('map')] |