Working with score and high score saves
butterbean
Member Posts: 4,315
I have a game with 3 different levels in which I want to save 3 different high scores
Can you assign one global attribute "Score" to 3 different high scores for the various levels and still be able to save 3 high score attributes correctly?
Issue is I have one enemy for the 3 levels assigned to the global game attribute "game.score"
Can you assign one global attribute "Score" to 3 different high scores for the various levels and still be able to save 3 high score attributes correctly?
Issue is I have one enemy for the 3 levels assigned to the global game attribute "game.score"
Comments
I'm displaying high score in the top mid section of the screen, and the current player score on the top right side of screen, at a certain random point, the high score disappears, not sure why....
Where would be the best place to have the save high score versus the load high score in the game?
Just scratching my head here looking for ideas....
If game.score is > or = to game.high score
CONSTRAIN ATTRIBUTE: Game.highscore to game.score
Constraining the high score was key to making the high score stick, let me know if this helps!
Thats what i used the first time.
for me i was just typing in the info rather than hitting the little "e"
I would imagine that could get a few people
What I did with the 3 different levels was I had to create 3 different actors with 3 different score attributes, so if you have a medium and difficult level, but you're using the same enemy or object, I would just create another actor with a different name, and then make game.score1 and game.score2 attributes, then same for the highscore tracking, game.highscore1, and game.highscore 2, and make sure in your rules for each of the levels, you're keeping track of the scores with the different enemies
Hope this helps, if you need clarification let me know
I had the same problem as you so I had to make 3 different game.score attributes as well as 3 different game.highscore attributes, and I created 3 different color birds for each of the levels so they each had their own score tracker
I did a video?
I guess i got earth defense and earth attack mixed up.
I cant find the video now though
My original high score was based on this http://gamesalad.com/forums/topic.php?id=2119
It was working fine until I decided to create two separate difficulty levels for my game and of course I wanted two separate high scores. I created a new attribute for the harder skill level high score. I also created an attribute called diflevel to indicate which level is being played / has been selected. I used the same actor as I had before for high score and essentially have two rules. They first check to see which level has been selected then loads the appropriate high score and goes from there. Works perfectly after I used constrain.
As always, I appreciate all the help.
Chris