Game from scratch with C++ and SFML (6)

Add the ball!

Matt E.
Achiev
Published in
7 min readAug 12, 2021

--

This article is part of the series “Game from scratch with C++ and SFML”.

1) Introduction
2) Our first window & game loop
3) The state manager
4) Adding our player
5) Cleaning up with an object manager
6) Add the ball
7) The AI !
8) Finishing up the game

Back to our game! Let’s add our ball and create some interaction. By the end of this chapter, you will be able to play a solo game of Pang!

--

--

Matt E.
Achiev
Editor for

Software engineer at Achiev & Jounco. Passionate about programming and entrepreneurship