View Single Post
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 250
Join Date: Dec 2012
Location: Frosno, Ca
Default 02-23-2018, 06:43 PM

Quote:
Originally Posted by MrMoke View Post
Navigating the interface in Alice3 takes a while to get comfortable with. The attached example is very basic, would require extra work to make the game, but demonstrates random selection.
Hi Mr Moke,
Attached is your example with two changes. I used a timer event and changed the random number routine to use the length of the mole list ( the original code never moved the last mole.)
The timer avoids the infinite loop problem making it easier to add other methods etc without having to do it all within the loop.

Mark
Attached Files
File Type: a3p WhackAMoleEvent.a3p (41.1 KB, 77 views)


Mark Henwood
mhenwood@ieee.org
   
Reply With Quote