So basically I've made an imagemap that lead you in the inventory screen.
Imagemap
Code: Select all
screen inventory_screen:
imagemap:
ground "inventory_idle.png"
hover "inventory_hover.png"
hotspot (113,25,228,136) action Jump("TV")
hotspot (355,25,470,136) clicked Jump ("Journal")
hotspot (588,25,703,136) clicked Jump ("P1")
hotspot (830,25,945,136) clicked Jump ("P2")
hotspot (113,185,228,297) clicked Jump ("Audiow")
hotspot (355,185,470,297) clicked Jump ("Pa1")
hotspot (588,185,703,297) clicked Jump ("Pa2")
hotspot (830,185,945,297) clicked Jump ("P3")
hotspot (111,356,226,468) clicked Jump ("Pa3")
hotspot (355,356,470,468) clicked Jump ("Pa4")
hotspot (588,356,703,468) clicked Jump ("Note_sur_10")
textbutton "RETURN" action [ Hide("inventory_screen"), Show("inventorybutton"), Return(None)] hovered [ Play ("sound", "sfx_click.wav")] focus_mask True:
xalign .95 yalign .05
idle_background Frame("button glossy idle", 99, 99)
hover_background Frame("button glossy hover", 99, 99)
Then I've made the "TV" label...
label TV:
Code: Select all
label TV:
hide beach
hide screen inventory_screen
scene void with dissolve
e "Here it is?"
show screw at center with dissolve:
yalign 0.2
e "Does it works ?"
show beach
show screen inventory_screen
label TV_done:
Do you know by any chance what I've done wrong there ?