I want to make the player's progress autosave in my game.
Is it possible?
Thanks.
Can I make my game autosave the player's progress?
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.
Can I make my game autosave the player's progress?
I can't access my other account cause I don't remember the e-mail I used *cries in emoji*.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Can I make my game autosave the player's progress?
Ren'Py has an autosave feature already included. Did you mean to ask how to manipulate it?
https://www.renpy.org/doc/html/search.h ... ea=default
https://www.renpy.org/doc/html/search.h ... ea=default
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
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: Can I make my game autosave the player's progress?
Yes. I wanted to know how to use it.
Like, when the person leaves the game it will autosave without them having to do it themselves.
Do I use "define config.autosave_on_quit = True"? Where should I place it?
Thanks.
Like, when the person leaves the game it will autosave without them having to do it themselves.
Do I use "define config.autosave_on_quit = True"? Where should I place it?
Thanks.
I can't access my other account cause I don't remember the e-mail I used *cries in emoji*.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Can I make my game autosave the player's progress?
Sorry. I'll have to let someone else answer that as I disabled autosave in my projects.
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
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: Can I make my game autosave the player's progress?
No problem. Thanks for your attention
I can't access my other account cause I don't remember the e-mail I used *cries in emoji*.
- zankizuna
- Veteran
- Posts: 416
- Joined: Fri May 04, 2012 2:20 am
- Completed: Monochrome Valentine
- Projects: Softwar
- Deviantart: raseru09
- itch: ZanKizuna
- Location: Manilaaaaaaaa
- Contact:
Re: Can I make my game autosave the player's progress?
You can also use persistent variables..
These variables stay as they are/retain their values even through out different game playthroughs
Code: Select all
$ persistent.Route1done=True
if persistent.Route1done==True:
"Blah"
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Can I make my game autosave the player's progress?
While looking through the configuration variables for various other reasons, I figured I'd come back and answer this as best I can.
Personally, I would place that inside options.rpy somewhere. Exactly where doesn't matter, but make sure it has no indentation at all.
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
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: Can I make my game autosave the player's progress?
Thank you so much for your help
I can't access my other account cause I don't remember the e-mail I used *cries in emoji*.
Who is online
Users browsing this forum: Rhapsy