GameSalad

Howdy, Stranger!

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

Reset gametime and gamecounter to zero

Yet, again I am asking for assistance. Thanks for any help you can offer. I have a game that I am building. Two conditions are that if the clock(game time) runs to 40 seconds than you lose and if one actor(captain america) collides with another(a fan), you lose. The objective is that if you click on the 'restart game' icon, than the clock will reset to zero, the game score will also reset to zero. and you will go back the initial scene. Fortunately the scene does change back to the initial scene. Unfortunately, the 'clock' does not reset to zero rather continues from the place/time it was when the scene was changed back to initial scene and the score also does not reset to zero.

I have tried unsuccessfully to 'change attribute' to zero for game time and gamescore and reset game.

Hope someone can help.

Thanks!!!

Best Answer

Answers

  • PaxPaxPaxPax Posts: 106Member
    Thanks Anatomy----, I will grab another coffee and give it a go.
  • PaxPaxPaxPax Posts: 106Member
    Thanks again Anatomy...it worked and makes things much simpler!!!
This discussion has been closed.