View Single Post
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 04-23-2010, 10:27 AM

Or you can see the maze that I created for this person. It has exactly what you have, a text for "Score:" and a text for "0", and 0 increments by 5 every time a lollipop is clicked on. Then at the end you get a time bonus that increases your score:

http://www.alice.org/community/showthread.php?t=4280

I'm sorry jediaction, but mine is a lot better than yours. Yours would take way too many if/else statements where as mine is just 2 lines of code repeated every time you score a point. Yours is just too space-consuming, and with a large game it would considerably increase the file size.


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

Last edited by Dameria; 04-23-2010 at 10:40 AM.
   
Reply With Quote