How to completely disable saving, loading, preferences?
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.
-
- Newbie
- Posts: 13
- Joined: Fri Jul 23, 2021 10:06 am
- Contact:
How to completely disable saving, loading, preferences?
Hi, I know this sounds weird, but I literally am just making my visual novel a start and quit thing, no options, nothing. I just want the player to be able to start and quit by just using the x to close the window. Is there any way to disable the other features and their hotkeys?
Re: How to completely disable saving, loading, preferences?
Open screens.rpy
All the main menu buttons are in screen preferences, you can delete them or set each button's sensitive status to False, which will disable it, turning it grey (inactive, unclickable)
All the main menu buttons are in screen preferences, you can delete them or set each button's sensitive status to False, which will disable it, turning it grey (inactive, unclickable)
Code: Select all
# screens.rpy
screen preferences:
#.. all the main menu buttons are here
# like this one
if not main_menu:
textbutton _("Save"):
action ShowMenu("save")
sensistive = False # ADD THIS OR
# OR JUST COMMENT IT OUT
Who is online
Users browsing this forum: Amazon [Bot], Bing [Bot]