See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.

21 used & new from $6.70

Have one to sell? Sell yours here
 
   
Game Programming All in One, Second Edition
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Game Programming All in One, Second Edition (Paperback)

by Jonathan S. Harbour (Author) "Greetings! This book is the second edition to the best-selling Game Programming All in One by Bruno Miguel Teixeira de Sousa, to whom I am..." (more)
Key Phrases: sprite handler, int framecount, int voice, Tank War, Ari Feldman, Warbirds Pacifica (more...)
3.4 out of 5 stars See all reviews (45 customer reviews)


Available from these sellers.


10 new from $9.01 11 used from $6.70
Also Available in: List Price: Our Price: Other Offers:
Paperback (1) 35 used & new from $2.40
There is a newer edition of this item:
Game Programming All in One Game Programming All in One 3.7 out of 5 stars (6)
$32.99
In Stock.
What Do Customers Ultimately Buy After Viewing This Item?
Game Programming All in One, Second Edition
53% buy the item featured on this page:
Game Programming All in One, Second Edition 3.4 out of 5 stars (45)
Beginning C++ Through Game Programming
14% buy
Beginning C++ Through Game Programming 4.0 out of 5 stars (61)
$19.79
Game Programming All in One
13% buy
Game Programming All in One 3.7 out of 5 stars (6)
$32.99
Advanced 2D Game Development
12% buy
Advanced 2D Game Development 3.4 out of 5 stars (5)
$31.49

Customers Who Bought This Item Also Bought

Beginning C++ Through Game Programming

Beginning C++ Through Game Programming

by Michael Dawson
4.0 out of 5 stars (61)  $19.79
Beginning Game Programming

Beginning Game Programming

by Jonathan S. Harbour
3.2 out of 5 stars (12)  $19.79
3D Game Programming All in One

3D Game Programming All in One

by Kenneth C Finney
3.5 out of 5 stars (39)  $34.64
The Ultimate Guide to Video Game Writing and Design

The Ultimate Guide to Video Game Writing and Design

by Flint Dille
4.9 out of 5 stars (20)  $13.57
Swords & Circuitry: A Designer's Guide to Computer Role-Playing Games (Game Development)

Swords & Circuitry: A Designer's Guide to Computer Role-Playing Games (Game Development)

by Neal Hallford
4.8 out of 5 stars (13)  $25.54
Explore similar items

Editorial Reviews

Review
"Game programming is without a doubt the most intellectually challenging field of computer science in the world. However, we would be fooling ourselves if we said that we are 'serious' people! Writing (and reading) a game programming book, should be an exciting adventure for both the author and the reader." Andre LaMothe, Series Editor --This text refers to an out of print or unavailable edition of this title.

Product Description
Create your own high-caliber games with some of the same tools used by professional game developers! If you have a working knowledge of C or C++, then "Game Programming All in One, 2nd Edition" can get you started on your journey. It uses hands-on projects to explain each new subject and includes many sample programs to reinforce the material in each chapter. Begin by learning about cross-platform game programming, writing code that will run under Windows®, Linux®, Mac OS® X, and many other systems. Enhance your skills by working through the core features of the Allegro game library and writing code to load images, manipulate sprites, scroll the background, use double-buffering, read a joystick, detect collisions, and implement other core features of any game. You will gain experience by creating a complete game and adding features to it in each new chapter. You will also learn how to write a scrolling platform game and a vertical shooter.

See all Editorial Reviews

Product Details

  • Paperback: 752 pages
  • Publisher: Course Technology PTR; 2 edition (June 17, 2004)
  • Language: English
  • ISBN-10: 1592003834
  • ISBN-13: 978-1592003839
  • Product Dimensions: 9.1 x 7.4 x 2.1 inches
  • Shipping Weight: 3.2 pounds
  • Average Customer Review: 3.4 out of 5 stars See all reviews (45 customer reviews)
  • Amazon.com Sales Rank: #402,257 in Books (See Bestsellers in Books)

Inside This Book (learn more)



Books on Related Topics (learn more)
 
 

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

45 Reviews
5 star:
 (15)
4 star:
 (8)
3 star:
 (9)
2 star:
 (7)
1 star:
 (6)
 
 
 
 
 
Average Customer Review
3.4 out of 5 stars (45 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
29 of 34 people found the following review helpful:
5.0 out of 5 stars A note from the author, January 12, 2005
Please note: Amazon combined all of the reviews from the 1st and 2nd editions of this book when the 1st edition went out of print. These are essentially two totally different books. The first was a tutorial on C++ and DirectX. The second covers C and Allegro and game development.

This book is the second edition to the bestselling Game Programming All In One. This new second edition is a complete rewrite of Game Programming All In One with a completely new direction, new goals, new assumptions, and new development tools. All In One 2E has done away with the C++ tutorials, Windows programming tutorials, and DirectX tutorials. In fact, this book does not cover Windows or DirectX at all. Instead this book focuses on game programming using a cross-platform game library called Allegro. This library is extremely powerful and versatile. Allegro opens up a world of possibilities that are ignored when focusing specifically on Windows and DirectX. A full quarter of the first edition was devoted to a C++ language primer, while another fourth of the book focused on Windows and DirectX basics. I decided that for this second edition we did not need to cover those subjects again, and thus this book uses the standard C language and the sample programs will compile on multiple platforms.

The Windows version of Allegro uses DirectX, as a matter of fact, but it is completely abstracted and hidden inside the internals of the Allegro Game Library. What we are provided instead is a basic C program that includes the Allegro library and is capable of running in fullscreen DirectDraw mode using any supported resolution and color depth.

Additionally, Allegro provides a uniform interface for sound effects, music, device input, which are implemented on the Windows platform with DirectSound, DirectMusic, and DirectInput. Specifically, Allegro supports DirectX 8. Imagine writing a high-speed arcade game using DirectX, and then being able to recompile that program (without changing a single line of code!) under Linux, Mac, Solaris, FreeBSD, Irix, and other operating systems? Allegro is a cross-platform game library that will double or triple the user base for your games with the help of this book.

This book will teach you to write complete games that will run on just about any operating system. Specifically, we focus on three compilers: Visual C++, Dev-C++, and KDevelop, and the sample programs will be written using both Windows and Linux, with screenshots taken from both operating systems.

You will have the opportunity to use your favorite development tool in all likelihood since Allegro supports several C compilers, including Borland C++, Borland C++Builder, Apple Development Tools 2002, and several other compilers on various platforms.

The target audience are beginning to intermediate programmers who already have some experience with C or C++, or someone who wants to learn to develop with a C or C++ compiler, and will use this book as an entry-level guide. The material is not for someone new to programming, but just to game programming. I must assume the reader has already learned C or C++, because there is too much to cover in the game libraries, interfaces, and so on, to focus on the basic syntax of the actual language. It was difficult enough to support three different compilers and integrated development environments without also explaining every line of code. Intermediate-level experience is assumed, while extreme beginners will definitely struggle.

This book is not extremely advanced--the source code is straightforward, with no difficult libraries to learn, per se, but I do not explain every detail. I do cover the entire function library built into Allegro, since that is the focus of this book, but do not explain any standard C functions. The goal is to get up and running as quickly as possible with some game code! In fact, you will be writing your first graphics programs in chapter 3, and your first game in chapter 4. You DO need a basic understanding of C or you will quickly get lost.

Someone who has done some programming in Visual C++, CodeWarrior, Watcom C, Borland C++, GNU C++, or even Java or C# will understand the programs in this book. Those with little or no coding experience will benefit from a C primer before delving into these chapters. The emphasis of this book is on a cross-platform, open-source compiler, integrated development environment, and game library. The reader will not need to learn Windows or DirectX programming, and these subjects are not covered.

The primary IDE is an open-source (freeware) program called Dev-C++, and is included on the CD-ROM. The game library is called Allegro; it is also freeware, open-source, and included on CD-ROM that accompanies this book. The reader has all the free tools needed to run the programs in the book. This book is highly accessible to all C programmers, regardless of their platform of choice.

This book's source code and sample programs will run, without modification, on all of the following systems: Windows 9x/2k/ME/XP/2003, Apple MacOS X, Linux (any version), BeOS, QNX, Unix (Irix, Solaris, Darwin, FreeBSD), and believe it or not, these programs will also run under MS-DOS (DJGPP, Watcom C). So, that is just about every computer system out there.

At the same time, the Windows version supports DirectX, so it is future-proof as well. The programs will run in fullscreen or windowed mode with full support for the latest video cards. As you can see from the table of contents below, this is a very 2D-oriented book, with many chapters devoted to sprite programming. There is no coverage of 3D--none. But these chapters are perhaps some of the best you will find on the subject of 2D sprite programming and background scrolling anywhere.

Part I: Introduction To Cross-Platform Game Programming
1: Demystifying Game Development
2: Getting Started with Dev-C++ and Allegro
3: Basic 2D Graphics Programming with Allegro
4: Writing Your First Allegro Game
5: Programming The Keyboard, Mouse, and Joystick

Part II: 2D Game Theory, Design, and Programming
6: Introduction To Game Design
7: Basic Bitmap Handling and Blitting
8: Basic Sprite Programming: Drawing Scaled, Flipped, Rotated, Pivoted, and Translucent Sprites
9: Advanced Sprite Programming: Compiled Sprites, Collision Detection, and Animation
10: Programming Tile-Based Backgrounds with Scrolling
11: Timers, Interrupt Handlers, and Multi-threading
12: Creating A Game World: Editing Tiles and Levels
13: Vertical Scrolling "Arcade Games"
14: Horizontal Scrolling "Platform Games"

Part III: Taking It To The Next Level
15: Mastering The Audible Realm: Allegro's Sound Support
16: Using Data Files To Store Game Resources
17: Playing FLIC Movies
18: Introduction to Artificial Intelligence
19: The Mathematical Side of Games
21: Publishing Your Game

Part IV: Appendices
Appendix A: Chapter Quiz Answers
Appendix B: Useful Tables
Appendix C: Numbering Systems: Binary and Hexadecimal
Appendix D: Recommended Books and Web Sites
Appendix E: Configuring Allegro for Visual C++ and Other Compilers
Appendix F: Compiling The Allegro Source Code
Appendix G: Using the CD-ROM

Comment Comments (2) | Permalink | Was this review helpful to you? Yes No (Report this)



 
9 of 9 people found the following review helpful:
4.0 out of 5 stars Yeah I'm a kid, and I figured it out., June 26, 2006
A Kid's Review
Yes, this is a kid reveiw, and I figured it out. Acually I'm 13, but that is about the minimum age for intelect that you would need to get this book. You could try it if you where younger, but it would be harder for you. I got through it with minimum amount of strugle, but some parts of the book is hard to make the programs run...

The only thing holding me back from giving this book 5 stars is 2 things: (1) There are some obvious typos and mixups that should of been caought in the editing process, and(2) Some of the programs(acually alomost ALL the programs) require some tweaking to run. I wont elaborate on the first problem, but I will on the second. I would not advise you to buy this book if you are a beginner in programming(when I say beginner I mean NO experience in programming, and little experience with computers). If you try to read this book without some prior experience with programming, you have to realize that you will have dificulteis, and you will have problems. Read up on your C programming before you read this book. You could figure out this book if you read "Begginging C++ Game Programming", thats what I did. You will fare fine. But back to the matter at hand. The programs on the CD dont run fine without tweaking. Such as messing with the project options, doing some other includes, etc...

But, if you do have experience in any C programming, are a near expert in computers, love computers and video games, and have an uncontrolable urdge of wanting to see the final product of your game, this my freind is the book for you. With some sweat, twiching eyes, and un countable hours on the computer, you too will have a fun game that you can share with the world. Who knows, maybe your game will be the next "Super Mario Bros." or "Sim City", or even the next"Super Smash Bros.". Have fun with it. Dont be afraid to try this book if you have the urdge to make games. See ya.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
7 of 7 people found the following review helpful:
5.0 out of 5 stars Covers 2D programming with Allegro library, July 2, 2004
I admit I am excited about this book, which covers game programming with the open source, multi-platform allegro library. Much easier to use than Direct X, Allegro and this book get you up and going pretty quick. Topics include sprites, sound and AI for your games. The code examples are written in C (not C++), and a copy of Dev-C++ and Allegro come on the enclosed CD.

My only complaint is no coverage of 1st person 3D topics, but as the author states, the reason is 3D engines and games built on that engine are difficult for a single programmer to create alone in a reasonable amount of time, if at all. The focus of the book is on a single developer creating quality 2D shareware and freeware games with good game play. Emphasis on incorporating other freely available tools and libraries to help an individual programmer or small team reduce the amount of coding and resources and to get the title completed is another theme, and he discusses the issues surrounding getting the game published in a small chapter at the end.
Comment Comments (2) | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Hard to get into
I made the mistake of getting this book with no experience, It has alot of fluff(I hate fluff) and not enough work on telling you how to code.
Published 1 month ago by Leigh Zipf

5.0 out of 5 stars An excelent learning tool.
Harbour presents everything in a simple manner with very little presumptions. He provides useful information on entering the game industry and making money from your games... Read more
Published on February 26, 2007 by Nimnengil

4.0 out of 5 stars a pretty good book
I think this is a great starting point for someone who already knows the basics of c++ and wants to learn the allegro library. Read more
Published on February 15, 2007 by Georgia G. Brown

3.0 out of 5 stars I would advise against it
I first would like to say that this book is most definitely not for people with no programming experience (but you could have figured that out from the rest of the reviews)... Read more
Published on February 12, 2007 by C. Feda

3.0 out of 5 stars software did not work
first, the book was great . organized in text book fashion it would be great for a high school level course on game programming. Well organized and an easy read. Read more
Published on January 7, 2007 by Harry Silva

5.0 out of 5 stars Very informative
I bought this for my 15 year old son. He says it is very informative.
Published on January 5, 2007 by K. Whicheloe

5.0 out of 5 stars 2CD Edition--Not the 1st- This one is great
The first comment in the above "Most Helpful Comments" section about this book is misleading. Notice that guy is talking about the FIRST edition of this book (check the date of... Read more
Published on May 18, 2006 by Joshua Suarez

3.0 out of 5 stars Games, Yes... a good way to start?, No
well i bought this book togther with the "Game Programming C++ For Beginners", before that i already had some knowlegde in C programming... Read more
Published on May 4, 2006 by Guy Zaidanband

5.0 out of 5 stars Excellent book for those who already know programming
One of the main reasons I liked this book is it didn't dumb things down too much. I already know how to do basic stuff like program in C and operate a compiler, so it was... Read more
Published on April 2, 2006 by R. Sullivan

4.0 out of 5 stars A personal favorite among game programming books
I have worked my way through several game programming titles. This book has really become a favorite of mine for a few of reasons. Read more
Published on November 2, 2005 by J. Schaefer

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Perfect Programming

Shop for programmable thermostats

Install a programmable thermostat to help reduce heating costs by ensuring your home is heated optimally. Shop for name-brand thermostats, including Honeywell and Lux, in Home Improvement.

Shop all programmable thermostats

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Summer Reading for Kids & Teens

Summer Reading for Kids and Teens
Discover everything from beach reads and board books to teen romance and action-adventure series in Summer Reading for Kids & Teens. And, check off the kids' required reading lists in our Summer School Reading Store.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning
The Adventures of Sherlock Holmes
The Adventures of Sherlock Holmes by Arthur Conan, Sir, 1859-1930 Doyle

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates