Total score to count up from zero on score screen (SOLVED)

timbirks

  • Posts: 75
Hi all, there is probably a simple solution to this, basically I have a score screen which displays the total score accumulated during the game, I'd like this number to count up from zero and then stop on final score number, any suggestion as to how this is done?  many thanks

« Last Edit: March 29, 2014, 02:45:17 pm by timbirks »
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

Alucards

  • Posts: 51
IF statement blocks.
IF yourscore>=maximumscore
[ Stop count]
Otherwise
[Set globalscore=globalscore+score]

Somethink like that. Just put if statement, in section where all time score is rising, and when it get max number, just ignore set stuff.
Maybe you understand my talk.

timbirks

  • Posts: 75
Hi thanks for the quick reply!  Would I put this in a drawing block or an Updated block? 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

timbirks

  • Posts: 75
solved, thanks for your help.  I did it like this..

Do every N Secs
If Counter <=Total Score
Set Counter to Counter +1
If Counter >=Total Score
Set Counter to Total Score
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