12-15-2009, 06:52 PM
It is quite easy actually. Just make a "When world starts" event in the event panel, and then just right click it and click on the option "While world is running". This will basically make your method run in an infinite loop that can be run at the same time as other events.
You can do the same thing with other events. For example you can do instead of "When button is clicked" you can do "While button is being clicked", and in that way you can have someone walking while a button is being clicked instead of the annoying "Let arrow keys control camera" event that is built in. You can find examples of these things in other people worlds here on the forum.
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; 12-15-2009 at 06:54 PM.
|