只需一步,快速开始
您需要 登录 才可以下载或查看,没有账号?立即注册
default value = 0 screen edit_value: hbox: text "[value]" textbutton "+" action SetVariable("value", value + 1) textbutton "-" action SetVariable("value", value - 1) textbutton "+" action Return(True) label start: #$ value = 0 #$ renpy.retain_after_load() call screen edit_value
使用道具 举报
default value=0 screen edit_value: hbox: text "[value]" textbutton "+" action SetVariable("value", value + 1) textbutton "-" action SetVariable("value", value - 1) label start: #$ renpy.retain_after_load() show screen edit_value pause jump start
咸王 发表于 2022-2-1 11:46 renpy必须要主流程动一下才能保存变量,光在screen里变只是临时的[mw_shl_code=renpy,true]default value=0 ...
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|RenPy中文空间 ( 苏ICP备17067825号|苏公网安备 32092302000068号 )
GMT+8, 2025-4-3 15:18 , Processed in 0.047682 second(s), 25 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.