Save Window: Opening at Important Points

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Post Reply
User avatar
Posts: 33
Joined: Sat Apr 22, 2006 6:00 am
Projects: Angel of Love,Forgotten,War's Fate, D
Location: Hungary

Save Window: Opening at Important Points

#1 Post by Dis » Tue Oct 21, 2008 3:32 pm

I want to ask if it is possible to put an option in the engine’s preferences menu like the one in Tsukushite Agechau 4 (I'm Gonna Serve You 4).


(The first one on the picture above.)

When turned on, if we reach an important part in the story, like a menu or a girl selection,


it automatically brings up the save menu and after saving , it automatically returns to the game, or if we don't want to save, we can get back to the game with the right muse button like in the Ren’py engine.

Can it be done in Ren’py, and if yes, how?
Sorry if this question has already been asked.
Where there's a will there's a way.

Project D:AoL
Special Thanks for their motivation and support to: BCS, Enerccio, mikey, monele, PyTom, yvanc, mugenjohncel, Sai

User avatar
Ren'Py Creator
Posts: 15431
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

Re: Save Window: Opening at Important Points

#2 Post by PyTom » Tue Oct 21, 2008 11:17 pm

Well, it's pretty easy to open the save window.

Code: Select all

$ renpy.call_in_new_context("_game_menu", "save_screen")
Adding new preferences is a little more complicated, as it depends on which layout is handling preferences.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •

Post Reply

Who is online

Users browsing this forum: No registered users