Self-Help Books from Cengage Learning PTR

Beginning Game Programming: A Collection

Beginning Game Programming: A Collection

ISBN 13: 9781598638059

ISBN 10: 159863805X

Author: John Hattan

Pages: 536

Published: 02/19/2009

Print Book Price: $39.99 Add to cart

Companion downloads

Welcome to "Beginning Game Programming: A Collection," the second in a series of books published in collaboration with, the online community where game developers worldwide can network and freely exchange information and ideas. Assembled in print for the first time, and comprised of the best introductory programming articles that have appeared on over the past decade, this volume features invaluable information and ideas for anyone looking for a solid foundation in the basics of game programming. Truly dedicated to the beginner, as you dive into the fun and challenging world of game development, you'll clear up the mystery of what programming language to use, find information on coding best practices, explore graphics creation, get an introduction to scripting, learn about debugging, and much more. All articles have been updated to comply with the latest technology, and as a bonus, this volume also features exclusive, new content that cannot be found anywhere else. Continuing in their tradition of excellence, "Beginning Game Programming: A Collection" captures the best of and is an invaluable resource in your pursuit of game development success.
  • Published in conjunction with, a well-known and respected online game development website and forum.
  • The authors of the articles are leaders in the game development community and considered experts in the industry.
  • Every article has been updated and revised for the current technology.
  • Suitable for students, hobbyists, and professionals alike.
  • Companion website available here:
Author Bio
John Hattan
John Hattan has been working steadily in the casual game-space since the TRS-80 days and professionally since 1990. After seeing his small-format games turned down for what turned out to be Tandy's last PC release, he took them independent, eventually releasing them as several discount game-packs through a couple of publishers. The packs are actually still available on store-shelves, although you'll need a keen eye to find them nowadays. He continues to work in the casual game-space as an independent developer, largely working on games in Flash for his website, The Code Zone ( His current scheme is to distribute his games virally on various web-portals and widget platforms. In addition, John writes weekly product reviews and blogs (over ten years old) for from his home office where he lives with his wife and daughter in their home in the woods near Lake Grapevine in Texas.
cover image - Beginning Game Programming: A Collection
Table of Contents
Part 1: Introductory Programming
Chapter 1: What Language Do I Use;
Chapter 2: Good Coding Practices;
Chapter 3: Using PDL for Code Design and Documentation;
Chapter 4: Debuggin in Visual Studio - Part 1;

Part 2: Graphics:
Chapter 5: Extended Graphical Templates for Sprite Management;
Chapter 6: Isometric and Hexagonal Maps
Chapter 7: Mouse Maps for Isometric Height Maps;
Chapter 8: Bezier Curves and Surfaces;
Chapter 9: Direct3D vs. OpenGL: Which API to Use When, Where, and Why;

Part 3: Scripting
Chapter 10: An Introcution to Lua;
Chapter 11: Introduction to GameMonkey Script;

Part 4: Networking
Chapter 12: The Internet, TCP/IP, and Socket Programming;
Chapter 13: Programming with Asynchronous Sockets;

Part 5: Algorithms
Chapter 14: Vectors and Matrices: A Primer;
Chapter 15: Collision Detection and Response;
Chapter 16: A* Pathfinding for Beginners;

Part 6: C++
Chapter 17: Organizing Code Files in C and C++;
Chapter 18: An Exceptional Quest;
Chapter 19: The One: A Singleton Discussion;

Part 7: Miscellaneous Topics
Chapter 20: Introduction to Pointers, Structures, and Linked Lists;
Chapter 21: Sound Formats and Their Uses in Games;
Chapter 22: Using XML Technologies for Enhancing Log Files;
Chapter 23: SQL in 60 Seconds;
Chapter 24: Item Management Systems;
Chapter 25: A Comparison of Browser and Widget Platforms;