Code: Select all
init:
image red_hover2=Composite(
(960*0.8,1080*0.8),
(0,0),im.FactorScale("red.png",0.8),
(100,300),Text(_("Some text"))
)
call screen choose_scenario
screen choose_scenario:
hbox:
yalign 0.3
imagebutton:
hover "red_hover2"
idle "red_idle"
xpos 100
action Return("red")
However, it does not show any hover image (neither gives an error message).
What do I do wrong? Or is this just not possible?
It works, however, if I replace the image definition by:
Code: Select all
image red_hover2 = im.FactorScale("red.png",0.8)