Hey,
almost figured it out.
It doesn't close on 'hover' though. It has to be clicked. So if anyone knows a workaround for that please post and help.
This is how Sayumi101 figured it out:
screen quick_menu():
imagebutton idle "gui/shell close.png" hover "gui/shell open.png" selected_hover "gui/shell open.png" selected_idle "gui/shell open.png" xpos 1095 ypos 450 focus_mask True hovered ShowTransient ("togglemenu") clicked ShowTransient ("togglemenu")
screen togglemenu():
add "gui/shell open.png" xpos 1095 ypos 450
imagemap:
alpha False
xpos 1095
ypos 450
ground "gui/shell menu.png"
hover "gui/shell menu hov.png"
#idle "gui/shell menu hov.png"
#selected_idle "gui/shell menu hov.png"
hotspot (67, 26, 68, 38) action Skip(),Hide("togglemenu")
hotspot (69, 64, 65, 33) action Preference("auto-forward", "toggle"),Hide("togglemenu")
hotspot (62, 102, 76, 37) action ShowMenu("preferences"),Hide("togglemenu")
Hover Quick Menu
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Godline
- Veteran
- Posts: 499
- Joined: Fri Jun 27, 2014 12:26 am
- Completed: numerous
- Tumblr: godlinegames
- Deviantart: godline-games
- itch: godline
- Contact:
Re: Hover Quick Menu
If someone else doesn't come along with a better solution - couldn't you just duplicate your shell open and merge the words onto them, so your image and text would be one? then you'd only have three images your shell closed plus the idle and hover which may make it work? hopefully that makes some sort of sense or somebody else can come along and offer a better solution for you
The Website for my game's development
http://fallingheartsotomegame.tumblr.com/
http://fallingheartsotomegame.tumblr.com/
- Godline
- Veteran
- Posts: 499
- Joined: Fri Jun 27, 2014 12:26 am
- Completed: numerous
- Tumblr: godlinegames
- Deviantart: godline-games
- itch: godline
- Contact:
Who is online
Users browsing this forum: Alex, Google [Bot]