playMaker

Author Topic: Timer Counting Up, And Best Time  (Read 2654 times)

pdunton

  • Playmaker Newbie
  • *
  • Posts: 35
Timer Counting Up, And Best Time
« on: September 18, 2013, 10:27:15 PM »
I want to create a Timer counting up.  But what variable do I use, and how do I Display it. Using GUI Int Label?  And for the second part of the question, would I use (Variable) Operation and If time1 is less than time2 Set time2 as Best Time?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Timer Counting Up, And Best Time
« Reply #1 on: September 19, 2013, 02:24:04 PM »
Take a look at the Get Time Info action. That gives you quite a few options for a timer. You can store the time in a float variable.

You can use Float Compare to compare against the current best time.

If you're keeping a list of best times you should look into the Array Maker add-on.