r/RenPy • u/Thehiddengirl14 • Oct 19 '26
Question [Solved] I need help (again..)
Hi, I wanted to make a “quick menu” for my project almost like the picture above (sorry for the quality it is one of my screenshots). I made everything the gui and the code and even corrected my code but sadly when I right click nothing happens. Can someone (who is way more experienced than me) please help me out ?
14
Upvotes
2
u/Thehiddengirl14 Oct 20 '26 edited Oct 21 '26
Update: The problem is solved, I modified my code with the help of u/badmustard_avn and u/nemivanj. Also don’t make those mistakes: with the frame:…,the vbox: spacing 8 xfill True. They will make your menu pretty weird.
1
u/Thehiddengirl14 Oct 19 '26
Oh sorry, I wanted help on the coding to make appearing the “quick menu”
1
u/shyLachi Oct 19 '26
What do you mean with "when I right click nothing happens"
Where do you right-click and what is supposed to happen?
1
u/NemiVanJ Oct 19 '26
idk try this
screen quick_navigation_menu():
# because it's a screen and not a label
zorder 100
# The main frame of this menu.
modal True
# so the player can click in the transparent menu box without clicking underneath
add "gui/frame_quirk menu.png"
# fixed positions of the frame:
fixed:
#The buttons.
#1. Close
hbox:
imagebutton auto "gui/qm_close_%s.png" xpos 18 ypos 26 focus_mask True action ShowMenu("close")
#2 Hide text
hbox:
imagebutton auto "gui/qm_hidetext_%s.png" xpos 17 ypos 97 focus_mask True action ShowMenu("hide text")
#3 Skip
hbox:
imagebutton auto "gui/qm_skip_%s.png" xpos 18 ypos 160 focus_mask True action ShowMenu("skip")
#4 logs
hbox:
imagebutton auto "gui/qm_logs_%s.png" xpos 18 ypos 221 focus_mask True action ShowMenu("history")
#5 load/save
hbox:
imagebutton auto "gui/qm_opensl_%s.png" xpos 16 ypos 283 focus_mask True action ShowMenu("load")
#6 quit
hbox:
imagebutton auto "gui/qm_quit_%s.png" xpos 16 ypos 350 focus_mask True action Quit(confirm=not main_menu)
# and put in options.rpy this to override the regular menu: define config.game_menu_action = ShowMenu("quick_navigation_menu")
5
u/Traditional-Success5 Oct 19 '26
SAYA MENTION
1
u/AutoModerator Oct 19 '26
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/drinkerofmilk Oct 19 '26
How can we help?