Programming 2D Games

Charles Kelly

June 21, 2012 by A K Peters/CRC Press
Textbook - 438 Pages
ISBN 9781466508682 - CAT# K14701


Add to Wish List
FREE Standard Shipping!


  • Focuses on 2D programming techniques such as collision detection
  • Takes students through the process of creating a game engine, demonstrating the advantages of using an engine to develop a complete game
  • Presents the latest DirectX and Windows coding methods using C++
  • Includes questions and programming exercises at the end of each chapter
  • Provides thoroughly tested example programs and a discussion forum on the book’s website

PowerPoint slides available with qualifying course adoption


A First Course in Game Programming
Most of today’s commercial games are written in C++ and are created using a game engine. Addressing both of these key elements, Programming 2D Games provides a complete, up-to-date introduction to game programming. All of the code in the book was carefully crafted using C++. As game programming techniques are introduced, students learn how to incorporate them into their own game engine and discover how to use the game engine to create a complete game.

Enables Students to Create 2D Games
The text covers sprites, animation, collision detection, sound, text display, game dashboards, special graphic effects, tiled games, and network programming. It systematically explains how to program DirectX applications and emphasizes proper software engineering techniques. Every topic is explained theoretically and with working code examples. The example programs for each chapter are available at