This game was created as a part of my coursework on the OCR A Level Computer Science course at the Outwood Post 16 Centre . This game was created from scratch, using Unity 2D, the assets store, Adobe Photoshop, and the drawing tool in Google Docs. When the game first starts, the player will have to enter a username, which is used for a leaderboard at the end of the game. After that, they are presented with the menu below:
Once the player selects to play the game, they spawn as a spaceship (in space). The aim of the game is to get as big a score as possible (by destroying asteroids), without getting eaten by Centipede. Here is how the gameplay looks:
The Centipede moves by following waypoints to the player, in order to eat them. Here is part of the C# script, which demonstrates how it works: