Step By step Guide on Saving and Loading?

legodude2222

  • Posts: 105
Just hear me out. I've read stencylpedia and I've looked around for a while and i can't figure out EXACTLY how to save and load a scene in a simple platformer. For example, i want that every time a player enters a new scene, it saves the current scene the player is on, and when i click a load button in the menu, it loads THAT specific scene. Thank you in advance.
Making games, one error at a time.

rob1221

  • *
  • Posts: 9470
When the scene starts, set a text game attribute to the name of the scene, and save.  Then when you want to reload the scene, wrap the game attribute in the "get scene by name ___" block, which goes into the scene transition block.


legodude2222

  • Posts: 105
Thank You so much. You don't know how long i spent trying to figure that out.  :D :D :D :D :D :D
Making games, one error at a time.

chandra

  • Posts: 11