Lets Make a Retro Game EP10: Collision Detection
In the Intellivision game of Astro Smash, that we are basing our game on, the main enemies are Asteroids that fall down the screen, exploding when they hit the ground.
Points are awarded to the player, when one is destroyed and points are removed if one reaches the planet surface.
In this episode we are going to introduce collision detection, this will involve:
- Adding a function that will determine if two objects have collided.
- Calling the function from inside our existing MOVE_ENEMIES routine.
The supplied code has two folders, Start, where we start the episode and End the final code and a copy of the ROM file.
The video associated with this episode is located here.
The full article text is in the attached PDF document here.