I strongly do not recommend arrays. Lists are easier to work with, and have more functionality in Alice.
Say, for example, you want to have a bunch of objects do a simple task, like move forward, or turn, or appear/disappear. Make a list, and have all of the objects in the list. Then use the "For All Together" or "For All in Order" (depending if you want the objects to do the method at the same time, or in order), select the list, and place your method inside that statement.
I found this random world lying around that's an example, credit doesn't go to me though:
Last edited by debussybunny563; 12-21-2012 at 12:00 AM.
|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|
I have been dead for quite some time now; not much hope for resurrection.
For anyone that doesn't understand, a list is basically a variable that contains a list of variables of the same type. It is the fact that you can do operations based on the positions of items in the list that makes lists so functionable!
Projects
-Escape the Kitchen
-That ninja animation
-Hill Collision