Help with Display Text countdown timer

ironDanironDan Member Posts: 148
edited December 2014 in Working with GS (Mac)

Hi

Im trying to use the Display Text function to show count down timer in seconds like a stopwatch 00:00 from 60 (Global Real Attribute)

This is the expression I'm using

floor(( game.GameTime %60)/10)..floor( game.GameTime %10)..":"..(floor( game.GameTime *10)%10)..floor(floor( game.GameTime *100)%10)

I'm using a timer set at every 0.01 to remove 0.01 from the Global Attribute and it counts down fine so to speak...but is slower than real time by about 3 seconds.

Im not sure if my expression is off or my timer interval or my deduction from global.

Any help would be a great early Christmas gift from you to me :)

Thanks Dan

Sign In or Register to comment.