I want a large amount of objects that I have already started as an ArrayList and have running on a timer. However I want to make many objects and the method I am using will be long and tedious. Is there a better way to use the code i have to make a lot of objects in specific positions, move down at once?
I am trying to create a game similar to the asteroid levels of radiant.
Here is my code so far...
int gamestate=1;
int lives=3;
int score=0;
float multiplier=1;
int lasts = 0;
int s = 0;
ArrayList<PVector> asteroids = new ArrayList <PVector>();
PVector a;
float[] circleX = new float [39];
float[] circleY = new float [39];
ArrayList<PVector> projectiles = new ArrayList<PVector>();