The player saved in a label where a step was changed, removed, or added before the current step.
In this case, the player may skip or repeat some steps because pixi-vn doesn't have the ability to detect if changes have been made from one version to another. So, the goal is to continue the game at the most appropriate step by checking which steps haven't already been performed and which are new.
This problem could be solved by :
- adding a hash for each step.
- keep saved the list of hashes of the executed steps of the currently open labels.
- at each reset of the narration state, do a check to determine whether the "current step index" is still valid or needs to be recalculated
The player saved in a label where a step was changed, removed, or added before the current step.
In this case, the player may skip or repeat some steps because pixi-vn doesn't have the ability to detect if changes have been made from one version to another. So, the goal is to continue the game at the most appropriate step by checking which steps haven't already been performed and which are new.
This problem could be solved by :