I need attribute help, please!

ars914ars914 Member Posts: 115
edited April 2013 in Working with GS (Mac)
Hi everybody!
I am making a stopwatch and I watched Tshirt booths video on how to make it....he used game.TIme but for some reason right when I start playing the stopwatch starts even though I haven't told it to. It also won't reset. I have tried using all the attribute kinds but I couldn't seem to make it work. Any body know how to?

Comments

  • LittleGreenGamesLittleGreenGames Member Posts: 20
    I'm having the same problem. :(
  • ChakkuChakku Member Posts: 1,513
    edited April 2013
    @ars914
    @ebarr24

    You can't change game.Time, no matter how much/what you try :(
    Well actually, it wouldn't make much sense if you did change it. Game.Time measures how long its been since the start, so you would't (shouldn't) be trying to change that.

    As for a solution, make a timer that says "Every 0.001 seconds, change game.xxx to game.xxx+0.001", and that will have the same effect as game.Time, and you can even pause it (by having a boolean condition for the timer) and reset it (by changing it back to 0)

    Hope this helps
    Chakku
Sign In or Register to comment.