Countdown timer reset/extension issues

Hey team,

I've recently been following the ol' tshirtbooth videos - which are great - and I came across this one on countdown timers:


This has helped me implement my countdown timer, but I need a bit of help with the next step -
My game has 1 minute levels (1 minute countdown timer), but the player can extend the timer by 10 seconds
at a time if he/she collects time extensions during gameplay.

The issue I am having is that I cant quite figure how to reset the timer (as set up like the video above), to have
an additional 10 seconds of time added to it based upon the collision of 2 objects - in this case, the player and and extra time 'powerup' object.

If anyone out there can help, it would be much appreciated!

cheers :)

Comments

  • carlblanchetcarlblanchet Member Posts: 755
    edited December 2012
    When Player colides or overlaps ExtraTime -> Change attribute StartTime to StartTime+10
  • JamesWEJamesWE Member Posts: 19
    Thank you!

    Boy it sure is easy when you know how huh?
    Thanks again for the help, much appreciated!
  • carlblanchetcarlblanchet Member Posts: 755
    You're welcome! :)
    Sometimes all it takes is trying out all the options and ending up finding the one that works. B-)
Sign In or Register to comment.