Controls:

  • arrows / A - D - move left and right
  • space - action

Simple game made as part of The 20 Games Challenge

Challenge number 02: Breakout

Implemented all main goals:

  • Create a game space with walls and a ceiling.
  • Add a paddle that can be moved left and right via player inputs.
  • Add a ball that will bounce off of the paddle, walls, and ceiling.
  • Add square game objects (bricks) into the top of the game space. (The original game had eight rows of 16 bricks each, though you can change the number of bricks depending on the size of the game space)
  • Enable the ball to bounce off of the bricks. When the ball bounces, the brick should disappear.
    • Breaking a brick should add to the player’s score.
    • The ball’s speed should increase as bricks are broken.
  • The score should be displayed, as well as a life counter. The player starts with three lives. If the player misses the ball, a life should be subtracted. When all lives are used, the game ends.

Source code


Download

Download
brick-destroyer-1.0-windows.zip 28 MB

Leave a comment

Log in with itch.io to leave a comment.