Quote (CreativeCode @ Nov 29 2015 10:01am)
ok, so you already know how to create new players and missiles since i see that in your setup. your real question is "how can i use a collection to maintain more than one missile?" and the answer is to use an arraylist:
https://processing.org/reference/ArrayList.htmlcreate an array list, and use a loop to create however many missiles you want and add them to the arraylist. in your draw method, you loop through your arraylist and draw everything in it