How can I force to save game before an important event
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.
How can I force to save game before an important event
How can I force to save game before an important event. I tried to use $ renpy save but it needs (filename) and I don't know what is filename and can not difine a filename.
- 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 can I force to save game before an important event
you can take a look at this, it may help you. The user had solved this problem.
https://www.reddit.com/r/RenPy/comments ... _save_etc/
https://www.reddit.com/r/RenPy/comments ... _save_etc/
Re: How can I force to save game before an important event
It's really helps me a lot THX!
Re: How can I force to save game before an important event
I'm asking another Ren'Py question ,how to let the game remeber value however it's return to title.
such as
$ bin = 0
default s1 = False
default s2 = False
label start:
"save after this"
$ purge_saves()
if bin >=2:
jump hai
"1":
jump sel1
"2":
jump sel2
label sel1:
$ bin += 1
$ s1 = True
"1"
return
label sel2:
$ bin += 1
$ s2 = True
"2"
return
label hai:
"here you comes the end"
such as
$ bin = 0
default s1 = False
default s2 = False
label start:
"save after this"
$ purge_saves()
if bin >=2:
jump hai
"1":
jump sel1
"2":
jump sel2
label sel1:
$ bin += 1
$ s1 = True
"1"
return
label sel2:
$ bin += 1
$ s2 = True
"2"
return
label hai:
"here you comes the end"
- 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 can I force to save game before an important event
yuuri88 wrote: ↑Sun Aug 11, 2019 6:43 am I'm asking another Ren'Py question ,how to let the game remeber value however it's return to title.
such as
$ bin = 0
default s1 = False
default s2 = False
label start:
"save after this"
$ purge_saves()
if bin >=2:
jump hai
"1":
jump sel1
"2":
jump sel2
label sel1:
$ bin += 1
$ s1 = True
"1"
return
label sel2:
$ bin += 1
$ s2 = True
"2"
return
label hai:
"here you comes the end"
This one should help...
https://www.renpy.org/doc/html/save_loa ... after-load
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot]