Hello there,
I have a question regarding the save compatibly when the new patch contains new added variables.
My main concern is about "default" like default NewVariable = 0 type variables. For example the new game version is 1.02 contains the new variables. Will they work fine after loading a save file which was originally generated from game version 1.01 or does the user need to start a new game for the new variables to work?
Thank you.
Patching Game, New Variables, Save Compatibility.
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.
Patching Game, New Variables, Save Compatibility.
Last edited by Dark79 on Mon Oct 24, 2022 5:26 am, edited 1 time in total.
- Ocelot
- Eileen-Class Veteran
- Posts: 1882
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Patching Game, including new Variables
Yes. they would. default will create variable if it does not exist when starting a new game or loading a saved game. This is exactly why they are suggested over simply initializing variables or creating them just after start.
< < insert Rick Cook quote here > >
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]