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.
-
Exiscoming
- Regular
- Posts: 127
- Joined: Tue Apr 29, 2014 5:37 pm
-
Contact:
#1
Post
by Exiscoming » Fri Jul 15, 2022 12:20 pm
When compiling a new version of my game, should I click the "Clear Persistent" button first? I'm using a gallery that uses
type of code. If I do not clear my persistent data, will it then get put into the compile? In other words, will my players have all of the photos unlocked that I have unlocked?
On the flip side:
When I do click the "Clear persistent" button, it obviously deletes all my persistent data, but when one of my players downloads the game, will all of their persistent data be gone as well? Or will they keep their data?
-
m_from_space
- Veteran
- Posts: 302
- Joined: Sun Feb 21, 2021 3:36 am
-
Contact:
#2
Post
by m_from_space » Fri Jul 15, 2022 2:03 pm
Persistent data is stored inside a file inside the "saves" folder. It's not part of the build, so you don't have to delete it.
If players delete the game folder, they will delete their saved games and persistent data. If they just overwrite it, as part of a game update, they keep it.
-
Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
-
Contact:
#3
Post
by Imperf3kt » Fri Jul 15, 2022 10:58 pm
I used to think you had to but no, you do not need to delete 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
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
-
Exiscoming
- Regular
- Posts: 127
- Joined: Tue Apr 29, 2014 5:37 pm
-
Contact:
#4
Post
by Exiscoming » Sat Jul 16, 2022 9:01 am
Thanks for your replies guys. Okay, that's great to know.
Users browsing this forum: Bing [Bot], Google [Bot]