Create a breakout game with Swift and Sprite Kit (Part 1)

By | Tutorial | No Comments

In this part of the tutorial, we will start working on a breakout game using Swift and Sprite Kit.

We will see how to create the different elements of the game:

  • Ball
  • Paddle
  • BottomWall
  • Bricks

We will create a class for each of these elements which will contains their specificities. We will write a few methods to display all our objects (nodes) on the screen. We will see how we can capture the user inputs and modify the game state in consequence. Finally, we will see how to show to the user when they have lost or won the game.

To create a game that looks like the below.

Read More