Game from scratch with C++ and SFML (6)
Add the ball!
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!