Beginning Game Programming and over one million other books are available for Amazon Kindle. Learn more
  • List Price: $34.99
  • Save: $1.75 (5%)
FREE Shipping on orders over $35.
Only 5 left in stock (more on the way).
Ships from and sold by
Gift-wrap available.
Beginning Game Programmin... has been added to your Cart
Condition: Used: Good
Comment: Ships direct from Amazon! Qualifies for Prime Shipping and FREE standard shipping for orders over $35. Overnight and 2 day shipping available!
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Beginning Game Programming Paperback – July 27, 2009

18 customer reviews
ISBN-13: 978-1435454279 ISBN-10: 1435454278 Edition: 3rd

Buy New
Price: $33.24
15 New from $14.99 28 Used from $5.15
Amazon Price New from Used from
"Please retry"
"Please retry"
$14.99 $5.15

There is a newer edition of this item:


Amazon Educational Video Store
Amazon Educational Video Store
From Adobe to Microsoft and web design to photography, learn new skills in the Amazon's Educational Video Store. Explore More.
$33.24 FREE Shipping on orders over $35. Only 5 left in stock (more on the way). Ships from and sold by Gift-wrap available.

Frequently Bought Together

Beginning Game Programming + Beginning C++ Through Game Programming + Game Coding Complete, Fourth Edition
Price for all three: $89.84

Buy the selected items together

Editorial Reviews


Part 1: Introduction to Windows and DirectX Programming. Chapter 1: Getting Started with the Windows API. Chapter 2: Windows Messaging and the Game Loop. Chapter 3: Tapping Into Direct3D. Chapter 4: Initializing A Direct3D Device. Part 2: Creating a 2D Arcade Game. Chapter 5: Drawing Basic Graphics (Bitmaps). Chapter 6: Using Timers For Animation and Framerate Control. Chapter 7: Drawing A Tile-Based Game Level. Chapter 8: Drawing and Animating Sprites. Chapter 9: Detecting Sprite and Tile Collisions. Part 3: Creating a 3D Artillery Game. Chapter 10: Drawing Advanced Graphics (Meshes). Chapter 11: Setting Up The Camera View. Chapter 12: Adding Lights To The Scene. Chapter 13: Rendering A Static Environment. Chapter 14: Firing Rockets and Blowing Stuff Up.

From the Author

Part 1: Introduction to Game Programming with Windows and DirectX
Chapter 1: Getting Started With Windows
Chapter 2: Listening To Windows Messages
Chapter 3: Initializing Direct3D

Part 2: The Game Programming Toolbox
Chapter 4: Drawing Bitmaps
Chapter 5: Getting Input with the Keyboard, Mouse, and Controller
Chapter 6: Drawing and Animating Sprites
Chapter 7: Transforming Sprites
Chapter 8: Detecting Sprite Collisions
Chapter 9: Printing Text
Chapter 10: Scrolling The Background
Chapter 11: Playing Audio
Chapter 12: Learning The Basics of 3D Rendering
Chapter 13: Rendering 3D Model Files

Part 3: Game Projects
Chapter 14: Anti-Virus The Game

Part 4: Appendices
Appendix A: Configuring Visual C++
Appendix B: Resources For Further Study
Appendix C: Chapter Quiz Answers
Appendix D: Additional Examples

Source code for the projects in this book may be downloaded from these book resource locations:
  • (must create a free account first)
If you buy a new print edition of this book (or purchased one in the past), you can buy the Kindle edition for only $2.99 (Save 88%). Print edition purchase must be sold by Amazon. Learn more.

Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 448 pages
  • Publisher: Cengage Learning PTR; 3 edition (July 27, 2009)
  • Language: English
  • ISBN-10: 1435454278
  • ISBN-13: 978-1435454279
  • Product Dimensions: 9.1 x 7.3 x 1.3 inches
  • Shipping Weight: 2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (18 customer reviews)
  • Amazon Best Sellers Rank: #292,405 in Books (See Top 100 in Books)

Customer Reviews

Most Helpful Customer Reviews

11 of 11 people found the following review helpful By Kevin Dill on April 12, 2013
Format: Paperback
I am a professional developer who's worked on a wide variety of games (including some big titles like Zoo Tycoon 2 and Red Dead Redemption), and also teach classes in game programming and game AI. I use this book as a text for half of my Introduction to Game Programming class, and have my students (who are typically sophomores, many of whom have never built a game or even used C++ before) build a 2D game from scratch in C++ in about 5 weeks.

For somebody who has never built a game before and wants to learn about how they work, this book is an excellent place to start! It doesn't really get into 3D games at all (the last couple chapters hardly even scratch the surface), but it does teach the basic skills necessary to nearly all games out there. It also teaches the basics of working with DirectX and Windows.

I have two complaints with the book (from a teacher's perspective). First, while it is an excellent place to start, it doesn't cover the full breadth of material that I need to get through in an Intro to Game Programming book. With that said, it's much more practical and concrete than other books I've look at, which is why I still use it.

My second complaint is that the code - while functional and easy to take apart and play with - is very much sort of quick-and-dirty, C-style code. For the most part it's all just stuffed into the main() function with no classes at all, a lot of global variables, and poor variable/function names.
Read more ›
3 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
14 of 15 people found the following review helpful By EddieV223 on November 10, 2010
Format: Paperback Verified Purchase
Most of the reviews on this book are from the first and second editions which are from different writer and/or different language C. This review is of the Third Edition by Jonathan S. Harbour, for C++.

The book is really good, it starts into the basics of windows programming but only goes far enough so you know how to get a program running to start making directx games, which is good cause that stuff is confusing and not much fun. But the rest of the book is a blast to read and the information is priceless. As you go through the book you start building a library of your own for directx that you can use in all your projects and games even after the book is read, which gives it lasting value. The writing style is excellent and interesting, the example code just works everytime if you type it in correctly. Overall this book is perfect for me and perfect for anyone who understands C++ and wants to make games with directx.

Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By Bill Jones on September 16, 2011
Format: Paperback Verified Purchase
I've started reading multiple C++ game programming books and found that the Author clearly spells out what is needed, how to complete tasks, and most of all bug free code. It's very rare to find a book that will compile on the first go, and on VS 2010. The book takes you through the basics of getting started, then begins to teach you how to create a game. Starting out you'll begin to understand Windows Messages and what you can do with them for your game.

After you get past that you'll be moving along and starting to use Direct3D, while it's not DX11 it is however DX9. The author does an excellent job explaining why he is going to be using DX9. After you get the basics of DX down you'll then move along to Graphical uses, input from keyboard, mouse, and controllers! I really loved using the Xbox 360 controller and seeing how I could manipulate the input for my game.

Next up you'll venture on to using Animated Sprites for your game, this is something that is hard to understand, yet the author has done an excellent job with very detailed instructions and uses. Then you'll be moving along to Transforming Sprites, I had a ton of fun using the code from the book to manipulate my game sprites.

Detecting Collisions was very fun and I learned how players can walk on terrain, and it opens up so many other things such as shooting and hitting the target, even with melee weapons! Not to mention shortly after you'll be learning how to add audio to your game, and then some basic 3D rendering and you'll be provided with some model files courtesy of the compainion cd, or the authors website has the book source code.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By D. Robinson on April 3, 2010
Format: Paperback
Awesome book. It's so far exactly what I been looking for. I would purchase again. I would recommend to others.

At time of this writing I am on chapter 3 and have worked through all the projects for that chapter.

IMPORTANT!!! this is not a reference book, it's not exahaustive. You should know C/C++ before buying this book.
If you're like me a college student who spent several semester coding in c/c++ and are confident you know each of these languages
then you buy this book get, the basic tools and you play around with them.

Later you buy another book to get the "under the hood" details. Consider how you first learned a programming language did you read the book written by the creators of that language? No you read a intro book and later, you read a in nasty detail of the specifics of that language. Anyway

There are some really, really minor things that bothered me, and a few things I wish the book had
1) I wish that the answers to the projects were included on the CD. I also wish there were more projects, with a little more detail.
2) It's not in C, it's in C++
Dead giveaway, the bool keyword is not defined in C, only C++. Neither are the keywords true and false.
iostream is a C++ standard library, it would not work on a pure C compiler(in fact I'm kind of confused why he used the iostream library and not just string?)
These however are really minor/picky problems and the book is a great primer for those who know C/C++
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Beginning Game Programming
This item: Beginning Game Programming
Price: $33.24
Ships from and sold by

What Other Items Do Customers Buy After Viewing This Item?