I tried looking for this in the threads, but felt the need for a fresh topic.
I want something like what was implemented in the SFK games, where the whole Save/Load routine (and right-click access to them) is totally disabled.
I feel bad because a while back JQuartz helped me implement a Quicksave function. I will still give him special thanks, but I have managed to manage the progress of my game through autosaving on persistent variables (of course that also means that you can't clear your 'progress' except by extracting a fresh copy of the game).
The game is just so open-ended and interactive, that there really isn't any point in saving at all, ever since I decided to cut back on the linear narratives to make scenes more like vignettes.
Thanks.
Disable Save / Load and Right Click
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.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Disable Save / Load and Right Click
Try something like:
Code: Select all
init python:
_game_menu_screen = '_prefs_screen'
config.game_menu = [ i for i in config.main_menu if i not in ("Load Game", "Save Game") ]
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 105
- Joined: Wed Aug 08, 2007 9:37 pm
- Contact:
Re: Disable Save / Load and Right Click
That didn't seem to get all of it out for me on 6.6 - I still had the list of saves showing up on esc/rightclick. What I wound up using was:PyTom wrote:Try something like:
Code: Select all
init python: _game_menu_screen = '_prefs_screen' config.game_menu = [ i for i in config.main_menu if i not in ("Load Game", "Save Game") ]
Code: Select all
... beginning of options.rpy ...
init -1:
python hide:
layout.provides('load_save')
... rest of options.rpy ...
def save_load_func():
layout.navigation('preferences')
renpy.jump('preferences_screen')
label save_screen:
label load_screen:
$ save_load_func()
... end of file ...
Project statii:
Yuri no Yume: Wet Night: Released!
Tentacularity: Released!
LoliFindsKitten: AlphaBetaThingy...
Yuri no Yume: Wet Night: Released!
Tentacularity: Released!
LoliFindsKitten: AlphaBetaThingy...
Who is online
Users browsing this forum: Bing [Bot], Ocelot