How to stop a scene from resetting

I'm making a zombie survival type game and it involves an inventory. I made it so that if the player taps a bag icon, then it swaps to the inventory scene. This works, but when the player goes back to the main game screen, all the actors have reset. Is there any way to stop this from happening?
(If there isn't, is there any way for the inventory to appear and disappear from the main game screen?)
Any help would be appreciated, thanks :). (I am using the PC version of GS, if that makes any difference.)

Comments

  • Bowhill GamesBowhill Games Member Posts: 191

    use game attributes rather then scene this will save the data on exit of game and scene, or you could introduce a save game feature there's a few posts dotted around the forum that give some good examples

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Game level attributes don't autosave you need to save that data to a table which is best for inventory type stuff.

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276

    Instead of "change scene" behavior, you could open the inventory scene with "pause game" behavior.

Sign In or Register to comment.