Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 renpy 代码死了。我尝试使用一个菜单并且它是空的,尽管有 2 个选择,尽管它们显然有跳转,但它们每个也没有代码块,这是有问题的代码。
有问题的代码:
"Go to her house.": jump Go "Don't go to her house.": jump NoGo #And this is what caused all the trouble. Just completely broke my game.
您在对话行之后使用冒号,所以我想这是一个有选择的菜单。它可能是由缩进引起的,下面的代码可以很好地创建一个带有选项的菜单:
menu: "Go to her house.": jump Go "Don't go to her house.": jump NoGo
不过,您应该包含错误消息。