Advanced 2D Game Development

ISBN-10: 1598633422

ISBN-13: 9781598633429

Edition: 2009

Authors: Jonathan S. Harbour

List price: $49.99
30 day, 100% satisfaction guarantee

If an item you ordered from TextbookRush does not meet your expectations due to an error on our part, simply fill out a return request and then return it by mail within 30 days of ordering it for a full refund of item cost.

Learn more about our returns policy


This book is a comprehensive guide to 2D game programming, covering every significant 2D game subject in one volume. It includes coverage of 2D animated sprites, tile-based scrolling, level editing, vector graphics, 2D physics, and the major game genres--real time strategy (Command & Conquer), turn based strategy (Civilization IV), vertical scrolling shoot-em-ups (Mars Matrix), horizontal shoot-em-ups (R-Type), scrolling platform-style games (Mario), and of course, role-playing games (Ultima). It includes discussion of overall game theory and development, explaining how to create a real time strategy game from concept to completion. Readers will create their own professional-quality RTS game using a royalty-free library of RTS artwork, C++, and the cross-platform game library Allegro. In addition to the basic graphics engine (which will run in 2D), this book covers each key feature of an RTS game, including pathfinding, enemy AI, grouping, unit formations, and other related subjects, each covered in a dedicated chapter. Each chapter's skills will be applied to the final game created by the reader.
what's this?
Rush Rewards U
Members Receive:
You have reached 400 XP and carrot coins. That is the daily max!
Study Briefs

Limited time offer: Get the first one free! (?)

All the information you need in one place! Each Study Brief is a summary of one specific subject; facts, figures, and explanations to help you learn faster.

Add to cart
Study Briefs
Periodic Table Online content $4.95 $1.99
Add to cart
Study Briefs
SQL Online content $4.95 $1.99
Add to cart
Study Briefs
MS Excel® 2010 Online content $4.95 $1.99
Add to cart
Study Briefs
MS Word® 2010 Online content $4.95 $1.99
Customers also bought

Book details

List price: $49.99
Copyright year: 2009
Publisher: Course Technology
Publication date: 6/9/2008
Binding: Paperback
Pages: 336
Size: 7.50" wide x 9.00" long x 1.00" tall
Weight: 1.518

Jonathan S. Harbour is an associate professor at the University of Advancing Technology (Tempe, AZ). His web site at includes an online forum and blog for book support. His most recent game projects are Starflight - The Lost Colony ( and Aquaphobia: Mutant Brain Sponge Madness (

Building a 2D Game Engine
Compiler Support
DirectX SDK Support
Why Do We Need an Engine?
Creating the Engine Project
Dev-C++ Project
Visual C++ Project
Engine Source Code
Compiling the Engine Project
Testing the Engine
The TestEngine Source Code
Dev-C++ Library Test Project
Visual C++ Library Test Project
3D Rendering
Rendering Basics
Adding Rendering Support
Adding Camera Support
Adding Mesh Support
Rendering Meshes
Runtime Cubes
Bouncing Balls
Direct Lighting
Directional Light
Spot Light
Point Light
Creating Lights
2D Rendering
Basic 2D Rendering
Raising Happy Sprites
Creating Vectors
Testing Vector3
Creating a Reusable Sprite Class
Rendering Spirites with Transparency
Color Key Transparency
Alpha Channel Transparency
Animation Demo
Sprite Rotation and Scaling
Animation with Transforms
Keyboard Input
DirectInput Device
Initializing the Keyboard
Reading Key Presses
Mouse Input
Initializing the Mouse
Reading the Mouse
Engine Modifications
Input Class
Engine Changes
Testing Keyboard and Mouse Input
Designing an Audio System
What Is FMOD?
Using the FMOD SDK
Audio Classes
Sample Class
Audio Class
Adding FMOD to the Game Engine
Audio Test
Building an Entity Manager
The Entity Class
Modifying the Engine
Modifying the Sprite Class
Testing Sprites as Entities
Modifying the Mesh Class
Testing Meshes as Entities
Creating a Font
Loading and Rendering a Font
Font Class
Using the New Font Class
Collision Detection
Automated Collision Detection
Bounding Rectangle Collision Test
Distance-Based Collision Test
Math Class
Math Class Header
Math Class Implementation
Math Test
Linear Velocity
Angle to Target
Drop-Down Console
Console Class
Console Test
Introducing the POSIX Threads Library
Installing POSIX Threads
Using POSIX Threads
Programming POSIX Threads
ThreadDemo Program
Threading the Game Engine
Threaded Garbage Collection
Testing the Newly Threaded Engine
Introducing Lua
Running Lua from the Command Prompt
Lua and C++
Lua Script Class
Linking with the Lua Library
Script Test
Scrolling Example
Blocks Game
Alien Invaders
Free shipping on orders over $35*

*A minimum purchase of $35 is required. Shipping is provided via FedEx SmartPost® and FedEx Express Saver®. Average delivery time is 1 – 5 business days, but is not guaranteed in that timeframe. Also allow 1 - 2 days for processing. Free shipping is eligible only in the continental United States and excludes Hawaii, Alaska and Puerto Rico. FedEx service marks used by permission."Marketplace" orders are not eligible for free or discounted shipping.

Learn more about the TextbookRush Marketplace.