Make something a one time thing
I_AM_BENJI
USAMember Posts: 40
So i want to have a scene before you start the game but i only want it to show once and never again
I know i use the save and load attribute behaviors but i am not certain
Comments
1). Create a Boolean global attribute. For example: Show Scene Once Played
2). Add a rule with a condition in the very first scene. Something like this.
If Show Scene Once Played is true change current scene-to-scene 3. (This will skip over scene 2 if this condition is true.)
3). Create a change attribute at the beginning of scene 3, which is the one that will play after scene two. (Scene 2 will be the scene that you want to play once.)
Like this (Change Show Scene Once Played to true).
4). Save that global attribute to a table. (Tables save data permanently unless you copy a blank master table onto it.)
5). Now every time a player starts the game scene one will load the rule that you created while reading its conditions and skip over scene 2. As a result scene 2 will only play once.
I used this technique to create an auto load and save for my latest game. In brief my game saves the last scene that a player plays to a table. When the device is turned of and then turned back on my game automatically pulls data from a table, reads the scene number and automatically skips to the last scene that was played.
It’s a really simple process.
Good Luck
Big Smile Games Play Happy!
Check out our other GameSalad exclusives.
+1 for @robertkdale!
thanks, but i am not so familiar with tables so can you explain more