GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Time does not set to 0 when it should

my game is based on a series of spawnings of enemies, every 30 seconds the enemies get tougher.
Now I was testing my game on my iphone and when I restarted the game, the same (equally tough) enemies spawned in the beginning as at the end of the previous game. I checked the code and every way to restart had a rule that said: when touch is pressed, set game.time to 0.
This apparently didn't work. Does anyone know how to solve this?

Comments

Sign In or Register to comment.