More Information
  • Learn the basics of SFML and render an airplane to the screen.
  • Create a game world to play in using entities and handle input from the player
  • Make your game richer with menus, settings, and other states
  • Implement the foundation for a GUI library
  • Populate the world with enemies and let them interact
  • Load resources like textures from the hard drive and learn about resource management
  • Animate the game object, build a particle system and look behind the scenes of rendering
  • Add music and sound effects to your game to create an immersive gaming experience
  • Implement multiplayer over a network to indulge in gameplay over the Internet

Game development comprises the combination of many different aspects such as game logics, graphics, audio, user input, physics and much more. SFML is an Open Source C++ library designed to make game development more accessible, exposing multimedia components to the user through a simple, yet powerful interface.

If you are a C++ programmer with a stack of ideas in your head and seeking a platform for implementation, your search ends here.

Starting with nothing more than a blank screen, SFML Game Development will provide you with all the guidance you need to create your first fully featured 2D game using SFML 2.0. By the end, you'll have learned the basic principles of game development, including advanced topics such as how to network your game, how to utilize particle systems and much more.

SFML Game Development starts with an overview of windows, graphics, and user inputs. After this brief introduction, you will start to get to grips with SFML by building up a world of different game objects, and implementing more and more gameplay features. Eventually, you’ll be handling advanced visual effects, audio effects and network programming like an old pro. New concepts are discussed, while the code steadily develops.

SFML Game Development will get you started with animations, particle effects and shaders. As well as these fundamental game aspects, we’re also covering network programming to the extent where you’ll be able to support the game running from two different machines. The most important part, the gameplay implementation with enemies and missiles, will make up the core of our top-scrolling airplane shoot' em-up game!

You will learn everything you need in SFML Game Development in order to start with game development and come closer to creating your own game.

  • Develop a complete game throughout the book
  • Learn how to use modern C++11 style to create a full featured game and support for all major operating systems
  • Fully network your game for awesome multiplayer action
  • Step-by-step guide to developing your game using C++ and SFML
  • You can find the updated code files here
Page Count 296
Course Length 8 hours 52 minutes
ISBN 9781849696845
Date Of Publication 23 Jun 2013


Jan Haller

Jan Haller is a Master's degree student of Electrical Engineering and Information Technology. In his free time, he occasionally develops games in C++. He is also interested in the creation of graphics and 3D models. In 2008, Jan stumbled upon SFML. Since then, he has used the library for many of his works. One of his bigger projects was a 2D Jump'n'Run game, where the character has to find its way through different levels, defeating enemies and collecting various items. During the years, Jan has actively participated in the SFML community, getting a lot of insights into the development of SFML 2. He has also written a C++ library called Thor, which extends SFML by ready-to-use features such as particle systems or animations.

Henrik Vogelius Hansson

Henrik Vogelius Hansson has always been in love with both games and programming. He started his education fairly early and continued on into the indie scene with Defrost Games and their game Project Temporality. The next company that hired him was Paradox Development Studio where he got to work on titles such as Crusader Kings 2. Beside the game companies, Henrik has also been very active in the SFML community and has even provided a binding for Ruby called rbSFML.

Artur Moreira

Artur Moreira is a Portuguese Software Engineer, who has been working with C++ since the first days he started to learn the ways of a software engineer, around twelve years ago. During this process, there were many significant steps that allowed gaining experience in many topics both inside the C++ development world and its surrounding ecosystem of tools. The first years were focused on learning and getting some practical experience around many kinds of development from 2D games to frontend applications and code libraries. From 2012, he has worked as a game and engine programmer, independently, over the course of three years and wrote his first book SFML Game Development, available in the Packt store. In 2016 he started working in a company named WIT Software in big telecom projects for huge clients like Vodafone Group and Reliance; a social communications and media suite of applications for all platforms. After that, in 2017, he started working for Euronext, the leading pan-European stock exchange, developing the next generation of trading chain software, which he currently works in as of the current date. During all the later years, he kept working on game projects in the free hours. One of the most cherished personal projects being developed by Artur is a new programming language with a focus on expressiveness, which would ultimately be used for developing better games.