Books: 3


Get to know techniques and approaches to procedurally generate game content in C++ using Simple and Fast Multimedia Library
ABOUT THIS BOOK * This book contains a bespoke Simple and Fast Multimedia Library (SFML) game engine with complete online documentation * Through this book, you'll create games that are non-predictable and dynamic and have a high replayability factor * Get a breakdown of the key techniques and approaches more » applied to a real game. WHO THIS BOOK IS FOR If you are a game developer who is familiar with C++ and is looking to create bigger and more dynamic games, then this book is for you. The book assumes some prior experience with C++, but any intermediate concepts are clarified in detail. No prior experience with SFML is required. WHAT YOU WILL LEARN * Discover the systems and ideology that lie at the heart of procedural systems * Use Random number generation (RNG) with C++ data types to create random but controlled results * Build levels procedurally with randomly located items and events * Create dynamic game objects at runtime * Construct games using a component-based approach * Assemble non-predictable game events and scenarios * Operate procedural generation to create dynamic content fast and easily * Generate game environments for endless replayability IN DETAIL Procedural generation is a growing trend in game development. It allows developers to create games that are bigger and more dynamic, giving the games a higher level of replayability. Procedural generation isn't just one technique, it's a collection of techniques and approaches that are used together to create dynamic systems and objects. C++ is the industry-standard programming language to write computer games. It's at the heart of most engines, and is incredibly powerful. SFML is an easy-to-use, cross-platform, and open-source multimedia library. Access to computer hardware is broken into succinct modules, making it a great choice if you want to develop cross-platform games with ease. Using C++ and SFML technologies, this book will guide you through the techniques and approaches used to generate content procedurally within game development. Throughout the course of this book, we'll look at examples of these technologies, starting with setting up a roguelike project using the C++ template. We'll then move on to using RNG with C++ data types and randomly scattering objects within a game map. We will create simple console examples to implement in a real game by creating unique and randomised game items, dynamic sprites, and effects, and procedurally generating game events. Then we will walk you through generating random game maps. At the end, we will have a retrospective look at the project. By the end of the book, not only will you have a solid understanding of procedural generation, but you'll also have a working roguelike game that you will have extended using the examples provided. STYLE AND APPROACH This is an easy-to-follow guide where each topic is explained clearly and thoroughly through the use of a bespoke example, then implemented in a real game project. « less
A fast-paced, practical guide to building functionally enriched 2D games using the core concepts of SFML
A fast-paced, practical guide to building functionally enriched 2D games using the core concepts of SFML ABOUT THIS BOOK * Learn to utilize the features of SFML quickly to create interactive games * Realize your game ideas by following practical tutorials based on the essential features of SFML * more » Step-by-step guide describing the fundamental concepts of SFML with the help of plenty of examples WHO THIS BOOK IS FOR If you are an enthusiast who is not new to the field of game development but want to exercise the countless features of SFML and build 2D games with minimal effort, this is the book for you. 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 IN DETAIL 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. « less
A learn by doing book. Get free example code by e-mailing a request to Covers C and C++ programming for beginners. There are over 50 examples. Includes detailed instructions for building projects with Microsoft's Visual Studio. The book has a companion web site with self-tests more » and lectures at SFML is the Simple and Fast Multimedia Library for C++, which facilitates the development of games and multimedia applications. One third of the examples use SFML. « less