Skip to content

Asteroids

PlayMaker → Addons → Asteroids Game

A re-creation of the classic arcade game.

screenshot

Features

This sample shows how to:

  • Control the flow of game screens.
  • Use Sprites and collision shapes for the player and enemies.
  • Use 2D Physics to move objects and detect collisions.
  • Use input to control a player spaceship.
  • Wrap objects across screen edges.
  • Build random levels from prefabs and detect when a level is cleared.
  • Spawn enemies periodically.
  • Spawn more challenging enemies at higher scores.
  • Display a score and add points to it.
  • Track player lives and add bonus lives.
  • Display the number of lives left.
  • End the game when the player has no lives left.

Reference