How Do You Reset A Stopwatch?
LittleGreenGames
Member Posts: 20
I saw tshirtbooth's video on working with time, and I made that stopwatch, but I need it to reset when my actor dies, and start only when you open the scene. PLEASEPLEASE help me this is really important it's a school science project due on the 11th and this is all I need to finish the game so post anything!!!
P.S.- Sorry I'm opening multiple threads about the same thing, but as I mentioned earlier, this is REALLY important!
P.S.- Sorry I'm opening multiple threads about the same thing, but as I mentioned earlier, this is REALLY important!
Comments
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
Don't open up multiple threads, regardless of your science project
Instead, bump (comment again in) your initial thread, and people will see/reply to that
By the way, what grade is this project for (just curious :P )?
6th Grade.
Wow! They have you making apps in 6th Grade?
Impressive...
Chakku
I actually chose the prroject myself, everyone else is making crystals, testing radioactivity, building hovercrafts, that sort of thing, but I'm good with computers, so....
Nice that you chose GameSalad, however...you don't have to be too good with computers to make something simple in GameSalad AKA "Game Creation For Everyone"
You just have to be able to go to http://gamesalad.com/download, and then you're all set!
Chakku
I was thinking of doing something with the Ruby 2.0 programming language, but it seemed WAY too hard in such a short amount of time.