Game from scratch with C++ and SFML (4)
Adding our player
This article is part of the series “Game from scratch with C++ and SFML”.
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
Finally ! Some code that will give you the feeling of creating a game ! 😅
In this chapter, we are going to add our player and the code to control it.