Is it possible to show an extra image in another area of the screen when a player is hovered over a button?
For example, I have this navigation menu:
Code: Select all
screen navig:
imagebutton auto "navig button left %s.png" xpos .4 ypos 415 focus_mask True action dleft hover_sound "button hover.wav"
imagebutton auto "navig button right %s.png" xpos .5 ypos 415 focus_mask True action dright hover_sound "button hover.wav"
imagebutton auto "navig button back %s.png" xpos .45 ypos 470 focus_mask True action dback hover_sound "button hover.wav"
imagebutton auto "navig button up %s.png" xpos .45 ypos 360 focus_mask True action dup hover_sound "button hover.wav"Is it possible to show an arrow on the minimap when the player hovers over a button? For instance, if you hover over "navig button left.png", it will also show a tiny arrow to the left of the player's dot on the map to show which direction on the map that action will take them down. I thought about doing an imagemap instead, but the minimap arrow needs to be able to change position depending on the player's location on the minimap.
This was my latest attempt for "navig button left":
Code: Select all
imagebutton:
xpos .4 ypos 415
idle "navig button left idle.png"
hover "navig button left hover.png" add "map arrow left.png" at Position(xpos = (dot.xpos)*1066 - 7, ypos=(dot.ypos)) #a few pixels left of the player's dot on the minimap.
insensitive "navig button left insensitive.png"
action dleft
hover_sound "button hover.wav"Any help would be appreciated. Thank you!