Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Works-In-Progress (http://www.alice.org/community/forumdisplay.php?f=14)
-   -   Project Help (http://www.alice.org/community/showthread.php?t=3009)

COKEDUDE 09-03-2009 05:56 PM

Project Help
 
1 Attachment(s)
I have a game that you try to click the cow 10 times in 20 seconds. I discovered that after the time limit expires you can still click on the cow. I would think you would need to add some kind of if/else command to the events part. This is driving me crazy so can I please get some help with it?

NivekNamttid 09-20-2009 11:04 PM

A possible solution
 
A solution would be to simply set the cow's isShowing property to false as part of the "You lose!" program. Then you wouldn't be able to click on the cow. I tried it, and it worked.


All times are GMT -5. The time now is 08:03 AM.

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