View Single Post
Inactivity Timer
Junior Member
Status: Offline
Posts: 4
Join Date: Oct 2018
Location: Greenville, SC
Default Inactivity Timer - 10-19-2018, 12:22 PM

I'm making a game and when the arrow keys aren't used for a couple of minutes, then something needs to happen to the avatar.

I made a simple timer in a method, but the variable doesn't reset to 0 after every time the arrow keys are pressed.

I think I'm on the wrong train of thought with this so could someone give me some help please.
Reply With Quote