Hi guys, how do I make a 60 second countdown timer and when I click a button it will add another 2 seconds to the countdown timer. [import]uid: 40786 topic_id: 11548 reply_id: 311548[/import]
You can use Jonathan Bebees set of methods…which include some timer functionality, can be found in code exchange. So:
- On start of game set up a var that stores the value you want to countdown from
- Start second timer (in Jonathans code )
- Use the other method (in Jonathans code…cant recall name now something like getCurrentTime) to get the current time used
- Deduct this from your set time variable
Incrementing this time will be trivial…sorry in rush:)
[import]uid: 66324 topic_id: 11548 reply_id: 41931[/import]
solved thank goddard…! [import]uid: 40786 topic_id: 11548 reply_id: 42231[/import]