I just recently finished my remake of the old Atari game: Asteroids.
I was unaware of how the original checked for collisions, but because the asteroids in my game are randomly generated polygons (using a semi-polar system), I decided to use Java AWT’s Polygon
and Area
classes for accurate collisions between asteroids, pellets, and the space ship.
I would love to hear any feedback/criticism/etc. Thanks in advance