How to stop a scene from resetting
Baconinvader
Member Posts: 1
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
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
Game level attributes don't autosave you need to save that data to a table which is best for inventory type stuff.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Instead of "change scene" behavior, you could open the inventory scene with "pause game" behavior.
Mental Donkey Games
Website - Facebook - Twitter