Alice Community  

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

Reply
 
Thread Tools Display Modes
Inactivity Timer
Old
PostalDave
Junior Member
 
Status: Offline
Posts: 4
Join Date: Oct 2018
Location: Greenville, SC
Default Inactivity Timer - 10-19-2018, 01: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
Old
Dehixial
Junior Member
 
Status: Offline
Posts: 10
Join Date: Oct 2018
Default 10-25-2018, 08:27 AM

Quote:
Originally Posted by PostalDave View Post
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.

Send your project and ill take a look.
   
Reply With Quote
Reply

Thread Tools
Display Modes

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 ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.