Can I keep a scene after change scene?

yunxhinyunxhin Member Posts: 14
edited November -1 in Working with GS (Mac)
Anyone can help me here?
I have a game with multiple scene.
The game run with random scene.
So when you finish one scene, you change to another scene randomly.
The problem is, every time the scene change, it always reset the scene.
I want to have keep one scene not reseted, so if we back to that scene, we can continue the scene.
Can we do this with gamesalad?
Thanks before.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    youll need to make attribugtes to keep track of all positions and everything you want to leave the same. Then when you switch off that scene change all the attributes to there corespepding values. Then as soon as that scene starts again chang all the values in the actors to the attributes that have there stored values
  • yunxhinyunxhin Member Posts: 14
    Thanks for you feedback.
    Whew! So if I have 50 actor inside that scene, I need 100 variable to keep position x & y?
    Is there any other way? :)
  • SteelCastleSteelCastle Member Posts: 1
    Maybe, the only option to reach your wished multi-scene game is the answer of JohnPapiomitis.
  • DrGlickertDrGlickert Member Posts: 1,135
    That's going to be rather difficult.

    Depending on how many "random" scenes you could try this;

    I have a game I'm experimenting with where the player plays a top-down in landscape mode. When the player rotates the device to portrait the Camera Control moves and focuses on another actor (an inventory actor).

    You could set up a REALLY large scene that changes the camera control when something happens in your game. That way the 50 actors that you have will always be in the same place (just remember to do something to "freeze" them when you move away as physics and game play can still happen when you're messing around in other "areas/scenes" of your game.

    Hope that helps.
Sign In or Register to comment.