how do i get my timer only to start when your in the scene?
so i have two timers in my game in two scenes.But lets say one one of my scenes the timer is at ten seconds and i have scene two with 12 seconds.When iam in the first scene my timer from scene two is counting.How do i get it to only count down when the player goes to that scene?
Comments
It sounds like…..
Scene 1
Timer Every 1 second
Change Attribute Game.timer to game.timer-1
Scene 2
Timer Every 1 second
Change Attribute Game.timer to game.timer-1
If thats what you have done then when you change scenes you have to reset game.timer to the new timer value. nothing is counting down in the next scene there is just nothing to count down when you go to that scene.