Lets Make a Retro Game Ep9: Enemy Movement

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 some simple enemy movement, this will involve:

  • Using a random number generator to determine when an asteroid should appear and at what speed.
  • Moving any visible asteroids towards the bottom of the screen.

The supplied code has two folders, Start, where we start the episode and End the final code and a copy of the ROM file.

Download Source Code.

The video associated with this episode is located here.

The full article text is in the attached PDF document here.