Game Time
peakprod
Member Posts: 18
Hi, can someone please advise. I thought that game time would reset to zero on a 'game reset' but it appears not to.
So then tried change attribute 'game time' to zero but still game time stays running from where it left off with game reset.
Am I doing something wrong. I simply want variables to reset on a game reset.
So then tried change attribute 'game time' to zero but still game time stays running from where it left off with game reset.
Am I doing something wrong. I simply want variables to reset on a game reset.
Comments
Then constrain 1st attribute to game.time-2nd attribute
Then use 1st attribute instead of game.time
Then when you need to reset game change 2nd attribute to equal game.time
All great but I wonder how to keep it displaying zeros until a PLAY button is pressed.
Haven't yet figured out how to pause game.time so my sounds (not music) actually pause.
Tricky stuff but I do believe there is a way. I guess it's not something that is used terribly much.
Mike
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
I wasn't aware there was a rule against following along a thought from earlier.
A I supposed to make a new thread? It would mean explaining everything from scratch again.
Please explain to this confused little brain....
Thanks
Mike
Plus, people are not going to read through a long thread to find a new question at the bottom.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
I'm not one to clutter up the forums with useless stuff and hundreds of posts. This thread had only four comments so it wasn't even long and was still relevant (to me if noone else). Most of us here work hard and are trying to make great apps. I hope that spirit remains in the forum and we don't get to a place where people are afraid to ask a question for fear of being ridiculed. A baby learns to walk by encouragement and risk and here is no different.
With privilege comes responsibility. I urge forum moderators and guests to remember there are many like myself who are not forum savvy but jump on here as part of the GS community to learn and share.
Because I'm a glass is half full kind of guy, I'll close on a more positive note. I'm really impressed by the help myself and others have received here. The latest version of GS is the best yet and I feel one I can feel confident working on my assorted projects. I'm excited to actually be working on three GS projects simultaneously and look forward to actually getting something published finally very soon.
We live in great times
Mike
Perhaps some day GS will add Pause Sound as they have Pause Music.
It's all good.
I can't wait to show what I'm working on.... soon peeps, soon!
Thanks TSB - Rockstar of Gamesalad