O'Reilly logo

SFML Game Development by Henrik Vogelius Hansson, Artur Moreira, Jan Haller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Reading through this chapter, you learned a whole new mechanism to handle input and deliver it correctly to the game's entities. It may not be the simplest concept you will come across, but it certainly pays off later, when you see it under heavier action. Not only have we played with event delivering systems, but we also paid a lot of attention on how to capture input and handle every detail about it. This is essential for every game, after all, who would like to play a game that plays itself?

After having a basic world scene with robust behaviors and features, it is now time to start looking at other phases of a game's development. In other words, the next chapter will cover mechanisms which are not directly related to the game's mechanics ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required