Thread: Lists
View Single Post
Senior Member
reuben2011's Avatar
Status: Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
Default 06-22-2011, 06:58 AM

Drag the list tile into the method editor. A pop-up should appear with various options. Use "insert..." to insert things into the list and "remove..." to remove things from the lists. Let me know if you need specifics on these. Another thing to remember is that the 1st item in the list has an index of 0, the 2nd item has a index of 1, and so forth. I don't see a "replace item at position <index>" function though (I guess I never used one.) There is a work around for this, just go:

remove <item> from position <index> of <list>
insert <item> at position <index> of <list>

You could make a replace method if you need to do a lot of replacing items in lists. Let me know if you need help.

-Escape the Kitchen
-That ninja animation
-Hill Collision

Upcoming Projects
-Some penguin adventure game?
Reply With Quote