How to create a "check point" with an "hidden auto-save"?

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
deltadidirac
Regular
Posts: 123
Joined: Fri Nov 30, 2018 5:00 am
Projects: Artworks and Comics
Tumblr: deltadidirac
Deviantart: Deltadidirac67
Location: Europe
Contact:

How to create a "check point" with an "hidden auto-save"?

#1 Post by deltadidirac » Mon Oct 28, 2019 5:37 pm

hi
- in my game are scheduled different paths...
- there will be a screen that show (as a diagram with lines and dots) your paths done and not.
- in the general logic , the dots are the same thing of a "save slot" (when you do a new save slot it will be create a screenshot of the save moment
and , obviously, also the file save that will report all the values you have increased or decreased and the choose you did it)
- so when you open your screen and click on the dots created, you return in precisely in the same moment of the "dot creation" (the check-point) and you
obviously will have the same values and so on.... ( as i wrote before, practically it's the same thing of a save and load action)

I could force the player to do it with a button as: "Hei! you are in a check point, click here before go on!"
But I think it's more elegant to do this thing hidden and in autonomy by renpy; is it possible?

probably the code it's all already wrote for the default save screen of the game, but I would like to understand how parts I need about it, and how define and where add the "check-point- code" in a label to relate it after with this code

I really hope to have explain right.... sorry for my english

thanks

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

Re: How to create a "check point" with an "hidden auto-save"?

#2 Post by Imperf3kt » Mon Oct 28, 2019 6:24 pm

Do you need this "check point" accessible once you reach the next? Or is it okay to overwrite the checkpoints with the most current one reached?

You could use the quick save function for this if so.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

User avatar
deltadidirac
Regular
Posts: 123
Joined: Fri Nov 30, 2018 5:00 am
Projects: Artworks and Comics
Tumblr: deltadidirac
Deviantart: Deltadidirac67
Location: Europe
Contact:

Re: How to create a "check point" with an "hidden auto-save"?

#3 Post by deltadidirac » Mon Oct 28, 2019 7:36 pm

hi imp
no i do not must overwrite the same check point, i must create several and different check points... and the player will choose at wich point he want restart...

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

Re: How to create a "check point" with an "hidden auto-save"?

#4 Post by Imperf3kt » Mon Oct 28, 2019 7:57 pm

Then perhaps the autosave function.
https://www.renpy.org/doc/html/other.ht ... e_autosave

I tried to edit my previous post to say this, but at that exact time both renpy.org and the lemmasodt forums had stopped responding.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: How to create a "check point" with an "hidden auto-save"?

#5 Post by isobellesophia » Mon Oct 28, 2019 11:35 pm

If you want to know that the player has been checkpointed, just put a renpy.notify so that the player knows that he or she has been put in that checkpoint for some special events.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
deltadidirac
Regular
Posts: 123
Joined: Fri Nov 30, 2018 5:00 am
Projects: Artworks and Comics
Tumblr: deltadidirac
Deviantart: Deltadidirac67
Location: Europe
Contact:

Re: How to create a "check point" with an "hidden auto-save"?

#6 Post by deltadidirac » Tue Oct 29, 2019 4:03 pm

thanks to all

Imp, I will try your suggest next days , after I will write; now I'm stuck with another problem...

Post Reply

Who is online

Users browsing this forum: Ocelot