- Mar 19, 2018
- 24
- 2
Hey guys. I´ve ran into some problems. I want to add some image buttons into my renpy game and it activates only one of them, I mean that the hover parameter gets triggered whenever the mouse is in the window of the game. How can i make the image get triggered only in the place where the hover image is located ?
Code :
screen basemap_navi:
add "basemap.png"
imagebutton:
focus_mask True
idle "basemap.png"
hover "basetoliving.png"
action Jump("livmorning")
imagebutton:
focus_mask True
idle "basemap.png"
hover "basetokitchen.png"
action Jump("kitchmorn")
imagebutton:
focus_mask True
idle "basemap.png"
hover "basetorooms.png"
action Jump("rooms")
Thanks
Code :
screen basemap_navi:
add "basemap.png"
imagebutton:
focus_mask True
idle "basemap.png"
hover "basetoliving.png"
action Jump("livmorning")
imagebutton:
focus_mask True
idle "basemap.png"
hover "basetokitchen.png"
action Jump("kitchmorn")
imagebutton:
focus_mask True
idle "basemap.png"
hover "basetorooms.png"
action Jump("rooms")
Thanks