Timer loops...I need it to stop and....how to change to game over scene
[email protected]
Member Posts: 9
Hi guys!
I'm so new with GS but I followed many of the expert videos and I got something great going on..however I'm having a problem with a customize timer I made.
I just made my timer and works well (from 9sec to 0) however it won't stop on 0, it keeps counting again from 9 to 0
I checked some videos explaining about it (from tshirtbooth) but that video is for another kind of timer not like I did with the png numbers.
So...that's the first problem....the second one is that I want when the time is over (00:00) it automatically changes the scene to the Game Over scene I have......how?
Many many thanks guys!
Vic
I'm so new with GS but I followed many of the expert videos and I got something great going on..however I'm having a problem with a customize timer I made.
I just made my timer and works well (from 9sec to 0) however it won't stop on 0, it keeps counting again from 9 to 0
I checked some videos explaining about it (from tshirtbooth) but that video is for another kind of timer not like I did with the png numbers.
So...that's the first problem....the second one is that I want when the time is over (00:00) it automatically changes the scene to the Game Over scene I have......how?
Many many thanks guys!
Vic
Answers
I know you've said you're using the png numbers, but they're just pulling from an attribute. I've used a self.TimeCount attribute, but you can point substitute it with any attribute. If you substitute it with the one you are using to control your pngs it should function fine.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Thanks for your answer.
I wish I could post an screenshot as you. I don't know how, so I can show you my setup.
I'm really sorry, I'm still a little confuse.
Sorry, I'm dumb. Yeh...I just type self.TimeCount and follow your setup. Yes now the count ends.....but......doesn't count. I mean, before counted from 9 to 0, right? now it's just 0 all the time.
If I back to the actor attributes the attributes change back, the self.TimeCount is not there any more and back to self.mydigit
How can I post a screenshot? Sorry I'm in the other side of the world and is difficult to communicate