Level High Scores screen only displays latest level score, help!

timbirks

  • Posts: 75
Hi all, this should be an easy one.  I have a high scores screen which displays the highest score from each level of the game, however it always updates with the latest score and not the highest score.  I have 'Level Scores' game attributes and 'Level High Scores' game attributes, I do a number comparison of the two attributes: If Level1 HighScore < Level1 Score, Set Level1 HighScore to Level1 Score.  At the moment this isn't working and just updates the high score screen to whatever the latest score was, any ideas how to fix this?  many thanks!
Super Crash Land v1.2 - Available to Download now from Google Play absolutely free!   

https://play.google.com/store/apps/details?id=com.timbirks.supercrashlandv12

Tuo

  • *
  • Posts: 2469
If you have a load block somewhere in there without a save block, that could be causing the issue. It's hard to say without seeing any code or the .stencyl file itself.
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)

sdieters

  • Posts: 2068
https://www.youtube.com/watch?v=I0m31tMydmk
i made a tutorial series for this, so check it out if you like =)
My new profile is TheIndieStation.
When you see a recent post with this name, i'm probably using my phone. So dont mind any typo's =p