Hey guys!
Have you ever played those games that you really like playing for hours on end, and then about halfway through you playing you get a message saying something like "You've been playing for quite a while! You should take a break.". How would I be able to add something like this? I haven't been able to find anything anywhere.
Taking a break does not mean shutting down the game, so you would have to use some kind of timer that starts the moment you do something in the game and is continually checking how long it's been since you've NOT done something for a specified period. However, NOT doing something for half an hour doesn't necessarily mean you've taken a break - you could just be staring at the screen, texting on your phone while still sitting at the computer, or minimized the game so you can browse online for a while.
IMO it's not worth the effort.
Okay, thanks guys! I was just wondering some ideas of how to do this. This can be closed now 🙂
That just means the game has been open for X amount of time. What if X is one hour, I play for 40 minutes then take a 20 minute break, leaving the game open?
Anyway, if you've got what you need and don't require the thread to be open anymore, I won't argue with you 🙂
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.