Alice Community  

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

Reply
 
Thread Tools Display Modes
creating a timer?
Old
bemontgom
Guest
 
Status:
Posts: n/a
Default creating a timer? - 04-10-2007, 01:12 PM

I have to create a game for one of my classes, and I'm wondering how i can make a timer that counts down from a minute or so.......and then the game ends when the time runs out
   
Reply With Quote
Two Suggestions
Old
DrJim
Guest
 
Status:
Posts: n/a
Arrow Two Suggestions - 04-10-2007, 08:55 PM

1. Look at Chapter 10, example 1 starting on p.252 in the text by Dunn, et al.

2. Do a search of the forum for "timer." There are at least two or three examples that have been posted.
   
Reply With Quote
Here is a tinmer for an event driven game...
Old
irosenbl
Guest
 
Status:
Posts: n/a
Lightbulb Here is a tinmer for an event driven game... - 06-26-2007, 08:56 PM

This maybe very crude, but of the four Alice books I have none are Dunn so I created an example that works. If there are more efficient ways to get it done, please share.
Attached Files
File Type: a2w timer.a2w (438.0 KB, 517 views)
   
Reply With Quote
Reply


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.