A lot of ground has been covered in this chapter. We learned what SDL is and why it is a great tool for game development. We looked at the overall structure of a game and how it can be broken into individual parts, and we started to develop the skeleton of our framework by creating a Game
class that can be used to initialize SDL and render things to the screen. We also had a small look at how SDL handles events by listening for a quit
event to close our application. In the next chapter we will look at drawing in SDL and building the SDL_image
extension.
You're reading from SDL Game Development
You have been reading a chapter from
SDL Game DevelopmentPublished in: Jun 2013Publisher: PacktISBN-13: 9781849696821
© 2013 Packt Publishing Limited All Rights Reserved
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime