Creating a Asteroids Flash Game Part 7: Detecting Collisions and Creating Particle Explosions
In the last section, created as asteroids class to easily create a variety of asteroids, as well as move them around on screen. In this section, we’ll create a way to detect collisions between the asteroids and the ship or bullets, and create particle explosions when the collisions happen, as well as break apart asteroids …