Neeh help with score timer

alexander144alexander144 Member Posts: 93
edited November -1 in Working with GS (Mac)
Ok so I have followed tshirtbooths tutorial here:

What I have done is change a few things so it works in the way that the timer is counting up not down.

When the game is over I want the game to save the timer score and then display it on a seperate actor from the scorer so the player can see his/hers best time.

I watched this as well and I understand how to save attributes but I don't know how to show it on another actor (the "best time" actor)

So basically there are two timer actors. Best time and the timer which is counting up. If the timer beats the old time it will save that time.

Comments

  • DrGlickertDrGlickert Member Posts: 1,135
    I'd do a rule. You'll need two game.attributes; game.BestTime (for example) and game.Time (for example).

    At the end of the level/scene in the game.BestTime actor have this rule:

    If game.Time <= (less than or equal to) game.BestTime
    Change attribute: game.BestTime to game.Time

    If that doesn't work or that wasn't your question please let me know.
  • alexander144alexander144 Member Posts: 93
    Thanks for the help, I will test this out after my level unlock system is fixed.
Sign In or Register to comment.