Book description
If you’re good with C++ and object oriented programming, this book utilizes your skills to create 2D games using the Simple DirectMedia Layer API. Practical tutorials include the development of two wickedly good games.
- Create 2D reusable games using the new SDL 2.0 and C++ frameworks
- Become proficient in speeding up development time
- Create two fully-featured games with C++ which include a platform game and a 2D side scrolling shooter
- An engaging and structured guide to develop your own game
In Detail
SDL 2.0 is the latest release of the popular Simple DirectMedia Layer API, which is designed to make life easier for C++ developers, allowing you simple low-level access to various multiplatform audio, graphics, and input devices.
SDL Game Development guides you through creating your first 2D game using SDL and C++. It takes a clear and practical approach to SDL game development, ensuring that the focus remains on creating awesome games.
Starting with the installation and setup of SDL, you will quickly become familiar with useful SDL features, covering sprites, state management, and OOP, leading to a reusable framework that is extendable for your own games. SDL Game Development culminates in the development of two exciting action games that utilize the created framework along with tips to improve the framework.
Table of contents
-
SDL Game Development
- Table of Contents
- SDL Game Development
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Getting Started with SDL
- 2. Drawing in SDL
- 3. Working with Game Objects
-
4. Exploring Movement and Input Handling
- Setting up game objects for movement
- Creating fixed frames per second
- Input handling
- Summary
- 5. Handling Game States
- 6. Data-driven Design
- 7. Creating and Displaying Tile Maps
- 8. Creating Alien Attack
- 9. Creating Conan the Caveman
- Index
Product information
- Title: SDL Game Development
- Author(s):
- Release date: June 2013
- Publisher(s): Packt Publishing
- ISBN: 9781849696821
You might also like
book
SFML Game Development By Example
Create and develop exciting games from start to finish using SFML About This Book Familiarize yourself …
book
Learn C++ for Game Development
" If you're new to C++ but understand some basic programming, then Learn C++ for Game …
book
Godot Engine Game Development Projects
A project based guides to learn animation, advanced shaders, environments, particle rendering, and networked games with …
book
OpenGL Game Development By Example
Design and code your own 2D and 3D games efficiently using OpenGL and C++ About This …