Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Thread Tools Display Modes
Project Help
Posts: n/a
Default Project Help - 09-03-2009, 05:56 PM

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?
Attached Files
File Type: a2w ClickACowWithScore.a2w (993.3 KB, 8 views)
Reply With Quote
A possible solution
Posts: n/a
Post A possible solution - 09-20-2009, 11:04 PM

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.

Last edited by NivekNamttid; 09-20-2009 at 11:06 PM. Reason: Clarification.
Reply With Quote

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