Time to Score

blinxteamblinxteam Member Posts: 8
edited February 2012 in Working with GS (Mac)
I am making a game where the time is going to be the final score. I already have a time attribute set up, a timer which times how long you can stay alive and I would like to know how to stop the timer when x collides with y and save the final time for your final score.

Thanks,
I am new with game salad so bear with me!

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    I assume for your time, you have somehtign like every 1 seconds change timerAttribute to timerAttribute+1

    Well make an attribute called timerOff, and have a rule when x collides with y change attribute timerOff to true

    Then where you have every 1 second change timerAttribute to timerAttribute+1, put that in a rule when attribute timerOff = false

    Then once the two actors you specified collide, itll turn it off.

    cheers
  • blinxteamblinxteam Member Posts: 8
    Wow thank you. That is exactly what I would like to do!
    Thanks for the help!
Sign In or Register to comment.