i'm currently working on my inventory screen and i want to text to show in the textbox when the user hovers over the possible items in the inventory. first, i tried tooltips and it didn't do anything at all :/ and now, i tried infobox and setscreenvariable and it doesn't do anything at all too. here's a vague idea on how i plan to set my screens:
Code: Select all
screen inventory:
add "drawer.png"
screen blush:
default infobox = "My friends"
if blush in items:
imagemap:
ground "blush.png"
hover "blushhover.png"
alpha True
hotspot (309, 400, 118, 224) hovered SetScreenVariable("infobox", "blush") action Jump("blush")
in my game, when needed, i show the inventory screen and call the screen for the item
Code: Select all
$ items.append(blush)
"Yay I got some!"
show screen inventory
call screen blush
with fade
"i like it"
return