Persistence between scenes
-
I'm making my first game, and am trying to develop a super-simple top-down RPG for practice. My question is:
Is there a way to have persistence between scenes? For example, preventing enemies from respawning and values resetting after moving into/out of a house that is a separate scene from the overworld.
-
@autumnsworld Yes! You are referring to the Modify Save File and Load from Save File behaviors. You can persist values in between plays using those behaviors.
Modify Save File: Select a key (location) to save a value. You can also use this behavior to delete a key.
Load from Save File: Select the key to load that value. If the key does not exist, it will output the default value.
Let me know if you need more information.