Posted: Wed Jul 18, 2018 11:19 am Post subject: RE:Array based collision detection
You can easily write a function that takes a 2 sets of coordinates and returns whether there is a collision between them. Then you simply loop over your array of coordinates, passing each to the function in turn.