eBook Game Coding Complete, 4th Edition

  • Mike McShaffry
  • Published By:
  • ISBN-10: 1305488490
  • ISBN-13: 9781305488496
  • DDC: 794.81526
  • Grade Level Range: College Freshman - College Senior
  • 944 Pages | eBook
  • Original Copyright 2013 | Published/Released November 2014
  • This publication's content originally published in print form: 2013
  • Price:  Sign in for price



Welcome to Game Coding Complete, Fourth Edition, the newest edition of the essential, hands-on guide to developing commercial-quality games. Written by two veteran game programmers, the book examines the entire game development process and all the unique challenges associated with creating a game. In this excellent introduction to game architecture, you’ll explore all the major subsystems of modern game engines and learn professional techniques used in actual games, as well as Teapot Wars, a game created specifically for this book.This updated fourth edition uses the latest versions of DirectX and Visual Studio, and it includes expanded chapter coverage of game actors, AI, shader programming, LUA scripting, the C# editor, and other important updates to every chapter. All the code and examples presented have been tested and used in commercial video games, and the book is full of invaluable best practices, professional tips and tricks, and cautionary advice.

Table of Contents

Front Cover.
Title Page.
Copyright Page.
About the Authors.
1: What Is Game Programming Really Like?.
2: What's in a Game?.
3: Coding Tidbits and Style That Saved Me.
4: Building Your Game.
5: Game Initialization and Shutdown.
6: Game Actors and Component Architecture.
7: Controlling the Main Loop.
8: Loading and Caching Game Data.
9: Programming Input Devices.
10: User Interface Programming.
11: Game Event Management.
12: Scripting with Lua.
13: Game Audio.
14: 3D Graphics Basics.
15: 3D Vertex and Pixel Shaders.
16: 3D Scenes.
17: Collision and Simple Physics.
18: An Introduction to Game AI.
19: Network Programming for Multiplayer Games.
20: Introduction to Multiprogramming.
21: A Game of Teapot Wars!.
22: A Simple Game Editor in C#.
23: Debugging and Profiling Your Game.
24: Driving to the Finish.

Meet the Author

Author Bio

Mike McShaffry

Mike McShaffry, aka "Mr. Mike," began programming games as soon as he could tap a keyboard. After graduating from the University of Houston, he worked for Warren Spector and Richard Garriott, aka "Lord British," at Origin Systems on the Ultima series, including Ultima Online. Since then he's worked on more than a dozen shipped games, including Magnadoodle (PC); a series of card and casino games for Microsoft; Thief: Deadly Shadows (Xbox/PC); 24 Blue for U.S. Navy; Mushroom Men: The Spore Wars (Wii); Ghostbusters: The Video Game (Wii/PS2); Cook or Be Cooked (Wii); Star Wars: The Force Unleashed II (Wii); Thor: God of Thunder (Wii/3DS); and Inertia: Escape Velocity (iOS/Android). Mike is currently Director of Product Development for Red Fly Studio in Austin, Texas.