Saving high scores to different 50 levels? [solved]
http_gamesalad
Member Posts: 1,340
I have 50 levels in my game and I want my score to be saved to those individual 50 levels depending on your score. I tried to use a game.highscore but its not saving right I tried using a self.highscore but I cant load it on my splash screen. Can anyone help me with this issue?
Comments
One Word.
Tables.
Two words.
Didn't work.
@pHghost
The tables weren't saving the highscore right at all. I came on here for help but I didnt get to much
Tables is probably the best way and easiest to maneuver.
Another way that could work (you could run into issues), is have game.highscore and save it to game.level. Then load attribute game.level
That way will be difficult and is worse than tables which I highly suggest.
tables are the way to do this. saving and loading 50 attributes is a huge pain
tables will work if you do it right. if it's not working you'll have to post your code so we can see what is wrong.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Well, in the first post you only said you tried to use game.highscore and self.highscore, nothing about trying to use tables. You'll need to describe things better, then.
What is your rule like and how were the tables saving the scores, if not right at all?
@phghost & @zweg25 never mind I got ! I thought I posted this the same night. I had the wrong value.