O'Reilly logo

SFML Blueprints by Maxime Barbier

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

Chapter 5. Playing with User Interfaces

In the previous chapters, we have learned how to build some simple games. This chapter will show you how to improve those games by adding a user interface to them. This chapter will cover two different possibilities of user interface:

  • Creating your own objects
  • Using a library that already exists–Simple and Fast Graphical User Interface (SFGUI)

By the end of this chapter, you should be able to create simple to complex interfaces to communicate with the player.

What is a GUI?

A Graphical User Interface (GUI) is a mechanism that allows the user to visually interact with a software through graphical objects such as icons, text, buttons, and so on. Internally, a GUI handles some events and binds them to functions, ...

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