How to make more quick save slots? (Solved)

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.
Post Reply
Message
Author
User avatar
beastcarving
Regular
Posts: 139
Joined: Mon May 13, 2019 5:03 pm
Completed: Pulse Cage https://beastcarving.itch.io/pulse-cage-the-full-series
Projects: Your Brother's Religion
Organization: BeastCarving Studio
IRC Nick: BeastCarving
Tumblr: beastcarving
Deviantart: beastcarving
Github: beastcarving
itch: beastcarving
Contact:

How to make more quick save slots? (Solved)

#1 Post by beastcarving »

I would like to use quick-save ONLY. Because I'm not making a save menu, but I though it would be nice and more convenient to have quick-save button save the game in the next available slots.
Right now, I have the basic load and save codes (Not the new GUI stuff) and I would love some insight on how to go about making this function. Thank~ :)
Last edited by beastcarving on Tue Feb 04, 2020 6:25 pm, edited 1 time in total.
Image Pulse Cage (full game)Image Your Brother's Religion (Demo)
PLAY HERE: https://beastcarving.itch.io/
Love my work: https://www.patreon.com/beastcarving

rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: How to make more quick save slots? (help)

#2 Post by rayminator »

what the point of only use quick save/load why not just auto save code and make save points in the game

but people would rather use the save/load menu to save their game cause the quick save is out of the minds it mostly forgotten I don't use it

there is a way of you doing it but you would have to make you own code for it because the load/save/auto/quick are combined into one

but I might be wrong about the code are combined part

User avatar
beastcarving
Regular
Posts: 139
Joined: Mon May 13, 2019 5:03 pm
Completed: Pulse Cage https://beastcarving.itch.io/pulse-cage-the-full-series
Projects: Your Brother's Religion
Organization: BeastCarving Studio
IRC Nick: BeastCarving
Tumblr: beastcarving
Deviantart: beastcarving
Github: beastcarving
itch: beastcarving
Contact:

Re: How to make more quick save slots? (help)

#3 Post by beastcarving »

why not just auto save code and make save points in the game
That would be way better... I wish I knew how to do it though.
Image Pulse Cage (full game)Image Your Brother's Religion (Demo)
PLAY HERE: https://beastcarving.itch.io/
Love my work: https://www.patreon.com/beastcarving

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3785
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: How to make more quick save slots? (help)

#4 Post by Imperf3kt »

I haven't fiddled with autosave much, so can't help with this specific issue, but when I try something I've never used before I consult the documentation first.

https://www.renpy.org/doc/html/search.h ... ea=default

It may give you some pointers.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
gas
Miko-Class Veteran
Posts: 842
Joined: Mon Jan 26, 2009 7:21 pm
Contact:

Re: How to make more quick save slots? (help)

#5 Post by gas »

You don't need anything to do that.
Just remove any button that lead to default save/load screen in the navigation screen and quick manu, and change the LOAD button with:

Code: Select all

textbutton "Continue" action QuickLoad()
More probably you should also change the accessed screen by right clicking. Add this at the start of the script:

Code: Select all

default _game_menu_screen = "preferences"
Mind that this way your players can quicksave using the quick menu while playing, and automatically load the last one.
If you actually want to show a screen where people can load an older quick save, the entire thing got no sense. You can use the normal save thing, there's no difference into clicking the quickmenu button to save and the quickmenu button for quicksave (if not normal saves have more options and can be used to check branches and avoid to read the same lines again and again just to verify a scene...).
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.

10 ? "RENPY"
20 GOTO 10

RUN

User avatar
beastcarving
Regular
Posts: 139
Joined: Mon May 13, 2019 5:03 pm
Completed: Pulse Cage https://beastcarving.itch.io/pulse-cage-the-full-series
Projects: Your Brother's Religion
Organization: BeastCarving Studio
IRC Nick: BeastCarving
Tumblr: beastcarving
Deviantart: beastcarving
Github: beastcarving
itch: beastcarving
Contact:

Re: How to make more quick save slots? (help)

#6 Post by beastcarving »

It works but I have two different stories you can start, so the continue button loads the last quick save in either the 1st or 2nd story, and this causes the game to continue story 2 even if your trying to continue story 1, so it's choosing the last quick save and not the relevant one under the correct label.

Here's what I have:

Code: Select all

          label story1:
                if "story1":
                    textbutton "Continue" action QuickLoad("story1")

Code: Select all

          label story2:
                if "story2":
                    textbutton "Continue" action QuickLoad("story2")
Last edited by beastcarving on Wed Jan 15, 2020 10:05 pm, edited 1 time in total.
Image Pulse Cage (full game)Image Your Brother's Religion (Demo)
PLAY HERE: https://beastcarving.itch.io/
Love my work: https://www.patreon.com/beastcarving

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3785
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: How to make more quick save slots? (help)

#7 Post by Imperf3kt »

You should consider using the regular save slots for this.
"quicksave" / "quickload" are supposed to be just that, a quick way to save / load without going through the menu.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
beastcarving
Regular
Posts: 139
Joined: Mon May 13, 2019 5:03 pm
Completed: Pulse Cage https://beastcarving.itch.io/pulse-cage-the-full-series
Projects: Your Brother's Religion
Organization: BeastCarving Studio
IRC Nick: BeastCarving
Tumblr: beastcarving
Deviantart: beastcarving
Github: beastcarving
itch: beastcarving
Contact:

Re: How to make more quick save slots? (help)

#8 Post by beastcarving »

I only want to use autoave and load because the normal load and save are way less convenient for what I'm trying to do. I only want users to be able to continue the game where they left off, so they don't have to save at all. In mt game you can play a different character in different stories which are in the same universe. All I need now is to differentiate which game is continuing at a time.
Image Pulse Cage (full game)Image Your Brother's Religion (Demo)
PLAY HERE: https://beastcarving.itch.io/
Love my work: https://www.patreon.com/beastcarving

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3785
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: How to make more quick save slots? (help)

#9 Post by Imperf3kt »

So just to be clear, you want your game to have a hidden save feature that is story dependant?

My best suggestion would be to set a variable based on which story is being read and use that to determine which slot to save in (in autosaves)

I have little to no experience with Ren'Py's save feature however, so I cannot offer much more than suggestions on how to do it.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
beastcarving
Regular
Posts: 139
Joined: Mon May 13, 2019 5:03 pm
Completed: Pulse Cage https://beastcarving.itch.io/pulse-cage-the-full-series
Projects: Your Brother's Religion
Organization: BeastCarving Studio
IRC Nick: BeastCarving
Tumblr: beastcarving
Deviantart: beastcarving
Github: beastcarving
itch: beastcarving
Contact:

Re: How to make more quick save slots? (help)

#10 Post by beastcarving »

So just to be clear, you want your game to have a hidden save feature that is story dependant?
Yes. I'd like an example in how to do this please. I might be able to figure it out if steered in the right direction.
Image Pulse Cage (full game)Image Your Brother's Religion (Demo)
PLAY HERE: https://beastcarving.itch.io/
Love my work: https://www.patreon.com/beastcarving

User avatar
gas
Miko-Class Veteran
Posts: 842
Joined: Mon Jan 26, 2009 7:21 pm
Contact:

Re: How to make more quick save slots? (help)

#11 Post by gas »

Ok, so maybe you can benefit of my ARCADE SLOT FRAMEWORK that you find in the cookbook.
It allow the player to chose the slot to save (or begina new game in that slot) and you can use a simple statement to save at your will (but players can't). Like at checkpoints, before a menu or when you want for the game to be saved in the background. The players don't save on their own, like many RPG or arcades does.
To choose the story, use a menu just after starting a new game and proceed to that label, the game should save you're proceeding in that storyline.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.

10 ? "RENPY"
20 GOTO 10

RUN

User avatar
beastcarving
Regular
Posts: 139
Joined: Mon May 13, 2019 5:03 pm
Completed: Pulse Cage https://beastcarving.itch.io/pulse-cage-the-full-series
Projects: Your Brother's Religion
Organization: BeastCarving Studio
IRC Nick: BeastCarving
Tumblr: beastcarving
Deviantart: beastcarving
Github: beastcarving
itch: beastcarving
Contact:

Re: How to make more quick save slots? (help)

#12 Post by beastcarving »

I tried it and the checkpoint thing is not exactly what I'm looking for. I want to make separate auto-save functions per label in which they're assigned to. For example:
Image

This screenshot shows a game where you can choose between two or more characters. When playing the green man(circled man in screenshot), the auto-save picks up where I left off in his story by clicking the play button. (Where the arrow is pointing.) It acts like a load or a continue button. I'd like to know how to make a continue button that loads the lasts auto save for only that story with the green skin man. When I go and choose the girl(in the circled slot) it picks up where it last auto-save in her story(auto-saves after choices are made and when the game is closed). The auto save knows not to make their auto-saves intermingle. How do I separate the way the auto-save saves? Maybe define auto-save some how, so there are multiple versions of auto-save that are assigned to different labels where each characters story will occur. I really need help with this. I'd be grateful to anyone that can help me figure this out. Please and thanks in advance.
Image Pulse Cage (full game)Image Your Brother's Religion (Demo)
PLAY HERE: https://beastcarving.itch.io/
Love my work: https://www.patreon.com/beastcarving

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]