I finally got it!.. I made a preload scene with the load attribute before my main screen it works! I'm guessing some conflicts with the load attribute at the main screen but now it works.. woohooo!! \m/
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
edited September 2013
Fair enough! A family member won't be able to play then...all the way from 0... ;-)
Joking apart (although in a way, it's serious) you could make a high scores scene plus the ability to start the game afresh with a zero score, but keeping the high scores.
So load the high score(s) before the menu card, as you say, into the high scores scene then load in all other attributes to continue a game in a menu card button, as I suggested, as well as a new game button there....
To confirm then (because save/load keys have always caused me major headaches), whe saving key HighScore and then loading key HighScore - do we have to type in the key name without using the 'e' expression editor button?
So does typing it in using the 'e' button cause errors??
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
Hi @DigiChain Personally I've never used the Expression editor to put in Save/Load Keys.... possibly there's a glitch if you do.... it sort of rings a bell that that my be the case in the past... but seeing as it's a longer process to input via the "e", just ignore it! (I mean, just type 'em in as usual...) :-)
yeah @gyroscope i wanted it to be simple because i'm just starting to do gamesalad programming, i also wanted to do the game center thing but maybe later on.. it might complicate things as it is right now... what was the glitch you guys are talking about?
I have a new problem I try to make level select attribute but when I load 2 or more stuff with the score, it resets back to 0 again lol... i'd probably experiment on the tables now.
You seem to be loading your attributes every 0.5 seconds. That will just continuously overwrite the attributes with what was saved. Should it not be after 0.5 seconds?
yeah i also tried after and for and unchecked run to completion.. Is it because it loaded soo many attribute at the same time? I also did another test by accident but that one unlocked all stages lol. I'm trying to figure out the cause and if i need to use the tables this time
I loaded 9 in my last game without any problems so shouldn't imagine 20 would be a problem. The every 0.5 seconds timer definitely seems wrong, as you only want to load them the once.
yea get rid of that timer. I've loaded over a 100 attributes at a time, just put it in a loading screen before the game starts and put a timer that says after 3 seconds goto next scene.
it's fixed now.. removing the timer at the load attribute did solved the problem thanks @jonmulcahy the score is saving and loading well . I also found my fault in the save attribute, had fixed problem with the sequence of saving by putting timer
Comments
Artist/Game Developer / Animator at your service..
Artist/Game Developer / Animator at your service..
Glad you got it sorted! Only one thing, doing it the way you've done it, how will your users start a new game....
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Artist/Game Developer / Animator at your service..
Fair enough! A family member won't be able to play then...all the way from 0... ;-)
Joking apart (although in a way, it's serious) you could make a high scores scene plus the ability to start the game afresh with a zero score, but keeping the high scores.
So load the high score(s) before the menu card, as you say, into the high scores scene then load in all other attributes to continue a game in a menu card button, as I suggested, as well as a new game button there....
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
So does typing it in using the 'e' button cause errors??
Hi @DigiChain Personally I've never used the Expression editor to put in Save/Load Keys.... possibly there's a glitch if you do.... it sort of rings a bell that that my be the case in the past... but seeing as it's a longer process to input via the "e", just ignore it! (I mean, just type 'em in as usual...) :-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
I have a new problem I try to make level select attribute but when I load 2 or more stuff with the score, it resets back to 0 again lol... i'd probably experiment on the tables now.
this one failed me:
Artist/Game Developer / Animator at your service..
I also did another test by accident but that one unlocked all stages lol. I'm trying to figure out the cause and if i need to use the tables this time
Artist/Game Developer / Animator at your service..
Artist/Game Developer / Animator at your service..
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Artist/Game Developer / Animator at your service..
Artist/Game Developer / Animator at your service..
Artist/Game Developer / Animator at your service..