![]() |
Inactivity Timer
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. |
[QUOTE=PostalDave;58504]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.[/QUOTE] Send your project and ill take a look. |
All times are GMT -5. The time now is 07:23 AM. |
Copyright ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.