|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
label loadbackpack:
init python:
list_item.append("白帆布鞋")
label loadbackpack2:
call screen openbackpack
with dissolve
"这是开始界面"
#页面布局:
screen openbackpack():
zorder 1
frame:
align(1.0, 1.0)
xysize (60, 60)
textbutton "{size=18}開{/size}" xalign 0.5 yalign 0.5 xysize(25, 25) action Show("backpack")
求问大佬,为什么call screen会出错
———————————————————————————————————————————————
While running game code:
File "game/Idea_Of_Backpack.rpy", line 62, in script
call screen openbackpack
File "renpy/common/000statements.rpy", line 531, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
Exception: Unknown keyword arguments: transition
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/Idea_Of_Backpack.rpy", line 62, in script
call screen openbackpack
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\ast.py", line 1947, in execute
self.call("execute")
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\ast.py", line 1935, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\statements.py", line 277, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 531, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\exports.py", line 2896, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\ui.py", line 295, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\display\core.py", line 2699, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\display\core.py", line 3091, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\display\core.py", line 541, in visit_all
d.visit_all(callback, seen)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\display\core.py", line 541, in visit_all
d.visit_all(callback, seen)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\display\core.py", line 541, in visit_all
d.visit_all(callback, seen)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\display\screen.py", line 430, in visit_all
callback(self)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\display\core.py", line 3091, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\display\screen.py", line 440, in per_interact
self.update()
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\display\screen.py", line 625, in update
self.screen.function(**self.scope)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\ast.py", line 158, in apply_arguments
return parameters.apply(args, kwargs, ignore_errors)
File "C:\Users\Air\Downloads\renpy-7.3.2-sdk\renpy\ast.py", line 145, in apply
raise Exception("Unknown keyword arguments: %s" % ( ", ".join(values.keys())))
Exception: Unknown keyword arguments: transition
谢谢大佬
|
|