Renpy 7.4 Exception: Properties are not allowed here. [Solved]
Posted: Thu Nov 05, 2020 5:59 am
Just downloaded v7.4 and when trying to launch my game I get:
When I look in the code, it's just a normal screen with imagebuttons. Here's a snippet:
Is there something new in Renpy v7.4 that changes how imagebuttons work?
Code: Select all
After initialization, but before game start.
File "game/items.rpy", line 2856, in prepare_screen
screen items:
Exception: Properties are not allowed here.
Code: Select all
screen items:
add "gui/itemUI/items/itemsUI.png"
# EXIT
vbox xalign 0.01 yalign 0.012:
imagebutton:
idle "gui/itemUI/shop1/exit1.png"
hover "gui/itemUI/shop1/exit1-hover.png"
action Jump("worldmap")
# Magazines
if magazine >= 1:
vbox xalign 0.070 yalign 0.52:
imagebutton:
idle "gui/itemUI/items/magazine.png"
hover "gui/itemUI/items/magazine-hover.png"
action Jump("inspMagazine")
vbox xalign 0.165 yalign 0.60:
if magazine >= 1:
text "{color=#8d8d8d}[magazine]{/color}"