Chapter 4. Asteroid Belt Assault – Lost in Space
Mid-way through the hyperspace jump to the rim territories, something went wrong. Your hyperdrive engine shut down and you found yourself suddenly back in normal space, in the middle of a massive asteroid field.
What is worse, the field appears to have been a hiding spot for a group of enemy fighters intercepting communications from the Earth Fleet.
In this chapter, we will begin the construction of Asteroid Belt Assault by:
Creating the base Asteroid Belt Assault project and structure
Creating a class for animated sprite handling
Building a scrolling sprite-based star field background
Creating asteroids that can collide with each other
Building a "Shot Manager" class that will track projectiles fired by both the player and enemy ships
Adding a player controlled star fighter
Adding enemy fighters that fly a set of waypoints across the screen