Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
-
Zet
- Regular
- Posts: 26
- Joined: Wed Feb 13, 2013 12:48 am
- Completed: Max's Big Bust
- Organization: Lached Up Games
-
Contact:
#1
Post
by Zet » Sat Jun 29, 2013 1:09 am
Hey
I wanted to know if it was possible to add a button that takes a screenshot and a button that hides the window (until you move the mouse to make it come back) to the Quick Menu that appears at the bottom of the window? I thought it could be a cool feature, and while I've already customised the quick menu a bit, I'm completely clueless on how to add this feature, I ran a search for help topics and found nothing.
I'm pretty sure I need to edit the screens.rpy file, specifically the QuickMenu line of code
Code: Select all
# Add an in-game quick menu.
hbox:
style_group "quick"
xalign 1.0
yalign 0.99
textbutton _("Hide Window") action ?????
textbutton _("Screenshot") action ?????
textbutton _("Quick Save") action QuickSave()
textbutton _("Quick Load") action QuickLoad()
textbutton _("Save") action ShowMenu('save')
textbutton _("Skip") action Skip()
textbutton _("Autoplay") action Preference("auto-forward", "toggle")
textbutton _("Options") action ShowMenu('preferences')
If anyone knows how to do this it would be super helpful
Cheers
Zet

-
pwisaguacate
- Veteran
- Posts: 356
- Joined: Mon Mar 11, 2013 11:03 pm
-
Contact:
#2
Post
by pwisaguacate » Sat Jun 29, 2013 1:53 am
Use the
HideInterface() action to hide all screens:
Code: Select all
textbutton _("Hide") action HideInterface()
Use the
Screenshot() action to take a screenshot:
Code: Select all
textbutton _("Screenshot") action Screenshot()
-
Zet
- Regular
- Posts: 26
- Joined: Wed Feb 13, 2013 12:48 am
- Completed: Max's Big Bust
- Organization: Lached Up Games
-
Contact:
#3
Post
by Zet » Sat Jun 29, 2013 2:12 am
pwisaguacate wrote:Use the
HideInterface() action to hide all screens:
Code: Select all
textbutton _("Hide") action HideInterface()
Use the
Screenshot() action to take a screenshot:
Code: Select all
textbutton _("Screenshot") action Screenshot()
Thankyou, that was a huge help!

-
Donmai
- Eileen-Class Veteran
- Posts: 1919
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
-
Contact:
#4
Post
by Donmai » Sun Jun 30, 2013 8:30 am
Just remember that you can simply press the H key to hide the interface, and the S key to save a screenshot.
Users browsing this forum: Google [Bot]