I'm using system->save and system->load for savegames . I'm having a weird issue…
My game has 2 layouts -- the title layout and the level layout. The game is saved in the level layout (e.g., when the player reaches a checkpoint). The title layout has a "continue" item that, when clicked, calls system->load to load the savegame. In my level layout event sheet I have an event that uses the "system-> trigger once" condition.
Steps to reproduce the issue using this project:
- Preview project
- Press 2 to go to the level layout
- Press S to save the game
- Press 1 to go to the title layout
- Press L to load the game
What should happen:
What actually happens:
For some reason the "trigger once" gets reset, i.e. it's as if it hasn't triggered, and the text->append action runs again. But this only happens if system->load is called from the title layout -- if you press L from the level layout, the text->append action does NOT run again (which is the expected behavior).
I hope this makes sense. Even more, I hope someone can explain why this is happening.
Thanks