level specific score
chicop
Member Posts: 263
how can i best approach making level specific score? for instance each level the score is at 0.. you gain points, these are saved to that levels high score, then next level score is back at 0 since its a new level... but the score on the previous level is still there...
do i have to create separate score attributes for each level? or basically a separate score system..? but that could mean 60 different scores right?
i appreciate any feedback on this
thanks!
do i have to create separate score attributes for each level? or basically a separate score system..? but that could mean 60 different scores right?
i appreciate any feedback on this
thanks!
Comments
So yes, that could mean 60 different high scores I'm afraid.
And remember you need to load them all in at the start too.
Hope that helps!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
i think im gonna vote 'can have my baby' in the other post!
NOW you tell me!
Pfffft
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
i am now getting it so it ads +10 points on a click and it sets the score to 0 on each level when you enter it.. this works great!
only thing is now it saves which ever score was your last one even if its lower then the previous score, so im trying to get it to only save when youve actually gotten a higher score...
could you explain it a bit more elaborate please? should i be creating a high score integer and is one enough or do i create one fore each level?
thanks
ive gone all over the place and ive gotten really close but then it turns out it confuses the separate level scores.. ive even added ghostscores for all three levels but that doesnt do the trick either.. so basically i can get one level to save but then the others get all weird on me...
could you tell me how i can compare the self.highscore to the new score and then save or not and do i put that in the self.highscore or somewhere else?
heres what i have so far if any one wants to have a look see... after this i cant get anything to work..
http://gamesalad.com/game/play/87920
thanks
(i do now have a version that saves individual scores to specific levels but that one means creating 60 separate score systems if you have 60 levels... http://gamesalad.com/game/play/88034 )
got it to work.. so switch the timer to every and not after. now it keeps the score!
thanks TSB for starting off on this, your golden!
cheers!
and how you can make a Total of the 3 Highscores ? any idea ?