2D Graphics Programming for Games

1st Edition

John Pile,Jr.

A K Peters/CRC Press
Published May 20, 2013
Reference - 240 Pages - 154 Color & 154 B/W Illustrations
ISBN 9781466501898 - CAT# K14405

For Instructors Request Inspection Copy


Add to Wish List
FREE Standard Shipping!


  • Shows how the core concepts of graphics programming are the same regardless of platform
  • Helps graphics programmers communicate effectively with game artists and designers
  • Requires a basic understanding of programming
  • Reviews necessary math principles in the appendices
  • Provides code samples in C# and XNA, with more samples in C++, OpenGL, DirectX, and Flash available on a supporting website
  • Includes exercise questions or programming challenges at end of each chapter

Watch the author’s videos on Particle Effects/Systems:

Smoke, Snow, Explosions
Student Samples

Watch the author’s videos on Depth:

Eye Level and Horizon


The success of Angry Birds, Peggle, and Fruit Ninja has proven that fun and immersive game experiences can be created in two dimensions. Furthermore, 2D graphics enable developers to quickly prototype ideas and mechanics using fewer resources than 3D.

2D Graphics Programming for Games provides an in-depth single source on creating 2D graphics that can be easily applied to many game platforms, including iOS, Android, Xbox 360, and the PlayStation Suite. The author presents examples not only from video games but also from art and animated film.

The book helps new programmers learn the concepts and techniques used to produce appealing 2D graphics. It starts with the basics and then covers topics pertaining to motion and depth, such as cel animation, tiling, and layering. The text also describes advanced graphics, including the use of particle systems, shaders, and splines. Code samples in the text and online allow readers to see a particular line of code in action or as it relates to the code around it. In addition, challenges and suggested projects encourage readers to work through problems, experiment with solutions, and tinker with code.

Full of practical tools and tricks, this color book gives novices in-depth guidance on making professional, high-quality graphics for games. It also improves the relationship between programmers and artists by explaining how certain art and design challenges can be solved with a programmatic solution.


We provide complimentary e-inspection copies of primary textbooks to instructors considering our books for course adoption.

Request an
e-inspection copy

Share this Title

Related Titles