Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Inactivity Timer
Old
PostalDave
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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.