Incoming | Adding some snap.

The core mechanics of the game are now complete, but we can extend the development to embed what we have learned and create a better game. These extensions are presented in three levels of increasing difficulty we call, 'snap', 'crackle' and 'pop'. You are now on your own, but none of these extensions require you to learn anything new that was not introduced in this or previous tutorials. Challenge yourself to see how far you can get using the stages in the tutorials for reference.

  1. Add a picture of the milky way in the background. As the earth sprite has a black background you will need to be careful where you place this image to avoid seeing the black box around the earth. This is why transparent png files are better.

    You learned how to use an atlas in stage 2, and a game object in stage 3.
  2. Add sound effects to the game. There are some sounds you can use in the assets library. The game is more interesting if the sounds are randomly chosen from a small set.

    You learned about sounds in the Pong tutorial, stage 9, and random numbers in stage 4.
  3. Use a variable to initialise and display the score. It starts at 7,700,000,000 (human population). Every time a comet hits the earth the score goes down by 99,763,284. The object of the game is to survive for as long as possible. The score cannot go below zero.

    You learned about text labels in the Pong tutorial, stage 8.

Now progress to the next set of challenges. Stage 8 >