A fast-paced, practical guide to building functionally enriched 2D games using the core concepts of SFML
SFML is a cross-platform, object-oriented multimedia API that is written in C++. It provides a simple interface to ease the development of games and multimedia applications.
This book will guide you through everything you need to know about building a 2D game in SFML. Concepts such as Sprites, Textures, Animation, and Cameras are explored in depth and finally the book ends with advanced topics like shaders and networking. You will also learn how to play sound and music on top of the gameplay. Every step through the journey is filled with examples in C++ to guide you in the right direction. By the end of the book you will feel confident about creating 2D games with SFML, without investing too much time on it.
This book contains a set of fast-paced tutorials about the core features of SFML.
What You Will Learn
Render sprites and shapes on the screen
Manage multimedia resources correctly and efficiently
Open and configure game windows to ensure a better gaming environment
Build an animation manager for sprites
Facilitate native OpenGL code in your rendering
Play sound and music on top of the gameplay
Load and use shaders to render special effects
Send data packets over a network to create a multiplayer experience
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.