- Jun 19, 2019
- 10,622
- 39,257
- 1,002
This might shock anyone reading but usually it's because when learning Renpy it tells you that a variable is:I don't understand why some devs have no trouble delivering every update without breaking saves, and then for others its almost the plan of action. Is it just willful neglect, or something about this multipath system, or? There are plenty of other games that have multiple paths and yet saves work update after update.
$ Variable_Name = X
Problem is that that isn't stored as a kind of default value, i.e. one that can be read globally across all the scripts and parts of the game. It's like performing a calculation on the calculator when you need it and then erasing it when it's not needed. Better way of defining variables is to put:
default Variable_Name = X
This tells it that this is a variable and everywhere it MUST start and ALWAYS have the value of X UNLESS changed. This is like performing the calculation but writing the number down on a notepad as well for future use.
So when you leave the game, the calculation is erased, you load up the game again and because the calculation is erased, it doesn't know what to look for. But in the second, the number is written and stored.
Something like that, could be wrong.
You must be registered to see the links
see this for more info.