How Do I Make a Timer That Shows Minutes Instead of Seconds?

Get help using Construct 2

Post » Wed Jan 21, 2015 4:24 am

On my game, the player has to survive for 2 minutes to win. I made a countdown timer by creating a global variable of 120 that is reduced by 1 every second, and a textbox at the top-left shows this. However, instead of it saying "90 seconds left" I want it to say "1:30 minutes left." Is there a way I can do this with my current strategy, or should I switch to a more efficient way?
B
3
Posts: 1
Reputation: 177

Post » Wed Jan 21, 2015 4:31 am

B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Wed Jan 21, 2015 4:33 am

set text to:
int( time/60) &":"& time % 60
Read this:
yeah, i really like to say that you should "Read this:"
B
12
S
5
Posts: 138
Reputation: 1,490


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Casimir, marcoscodas, pwrtoppl, sublimate and 8 guests