Reseting scores for each level. *help*
![astrom0](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Ok, so I have my main character and some coins and a score display, when my actor collides with a coin it adds 50,100,150 points to the score, which is good and everything but when the scene changes the score is still the same? Is there any way to save the ending results of that levels score to another scene while reseting the score for the next scene and so on and so on?
I appreciate any help =]
I appreciate any help =]
Comments
thought i'd drop a line to try and assist. so as per drahc's correct answer which is to save your score (which is what your saying your doing now)and just to detail further you'd save each scene score so an attribute/variable to forexample Scene1Score , Scene2Score etc etc whilst your ongoing scoring attribute would be lets say "Score" or "CurrentScore" and so ideally you'd be using change attribute to say game.currentscore = game.currentscore + scene1score (or scene2score etc)
make sure you load the scene"X"score before using it
I hope this helps you further. perhaps indicate what your score psuedo looks like for further clarity