I would like to demonstrate how to make my version of an Astrolander game. My version consists just the basics of movement through space, collision detection with the ground, and collision detection with the platform which you must land softly and vertically or your ship will crash. Hopefully with this basic tutorial you will be able to grasp the concept and expand more ideas into this type of game. So lets begin by setting up the 3 movie clips we will be using, the Rocket, the Ground/Level, and the Platform.
This sort of method is very useful for creating a star field. With a lot of stars. I thought of this method when reading through the book “Macromedia Flash Professional 8 Game Development” by Glen Rhodes. In his book he provides an example of creating a star field with a effect called “parallax”. A parallax effect is created by multiple objects moving at different speeds. For example, a small ball in the distance would move very slowing and a large ball would move more quickly. Both the balls are on the same level/depth, but the appearance of the different sizes and speeds give it the effect. Parallax effect is highly used to create a 3D environment.