01-14-2010, 06:07 PM
If you want us to help you directly, just post the world and we will fix the method. If you want to do it yourself, then just make the if/else statements where if the object clicked on is a human make the human isShowing = false and make the variable for the score go down by 10 or whatever. Then for the animals make isShowing = false and make score go up by 10. Do it for each one.
There is an easier way by using object lists, but I don't think you know them, and they are hard to explain. We can do it for you though if you want.
Check out my best projects so far and please comment:
Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
|