or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Sams Teach Yourself Game Programming in 24 Hours
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Sams Teach Yourself Game Programming in 24 Hours [Paperback]

Michael Morrison (Author)
3.6 out of 5 stars  See all reviews (23 customer reviews)

List Price: $39.99
Price: $27.57 & this item ships for FREE with Super Saver Shipping. Details
You Save: $12.42 (31%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 2 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
School & Library Binding --  
Paperback $27.57  

Book Description

067232461X 978-0672324611 January 3, 2003

Sams Teach Yourself Game Programming in 24 Hours demystifies game programming by providing clear, practical lessons using C/C++, the industry standard in game programming. The book focuses on the Windows API to construct games for the Windows platform and discusses game theory, including double-buffered graphics, sprite animation, and digitized sound effects and music. A fully functional game engine provides readers with the ability to create their own future games.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Sams Teach Yourself Game Programming in 24 Hours + Beginning Game Programming + Windows Game Programming for Dummies, Second Edition
Price For All Three: $77.31

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Beginning Game Programming $28.15

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Windows Game Programming for Dummies, Second Edition $21.59

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

From the Back Cover

Sams Teach Yourself Game Programming in 24 Hours demystifies game programming by providing clear, practical lessons using C/C++, the industry standard in game programming. The book focuses on the Windows API to construct games for the Windows platform and discusses game theory, including double-buffered graphics, sprite animation, and digitized sound effects and music. A fully functional game engine provides readers with the ability to create their own future games.

About the Author

Michael Morrison is a writer, developer, toy inventor, and author of a variety of computer technology books and interactive Web-based courses. In addition to his primary profession as a writer and freelance nerd for hire, Michael is the creative lead at Stalefish Labs, an entertainment company he co-founded with his wife, Masheed. The first commercial debut for Stalefish Labs is a traditional social/trivia game called Tall Tales: The Game of Myths, Legends, and Creative One-Upmanship (http://www.talltalesgame.com/). When not glued to his computer, playing hockey, skateboarding, or watching movies with his wife, Michael enjoys hanging out by his koi pond. You can visit Michael on the Web at http://www.michaelmorrison.com/.


Product Details

  • Paperback: 512 pages
  • Publisher: Sams (January 3, 2003)
  • Language: English
  • ISBN-10: 067232461X
  • ISBN-13: 978-0672324611
  • Product Dimensions: 9.1 x 7.4 x 1.1 inches
  • Shipping Weight: 1.9 pounds (View shipping rates and policies)
  • Average Customer Review: 3.6 out of 5 stars  See all reviews (23 customer reviews)
  • Amazon Best Sellers Rank: #1,293,101 in Books (See Top 100 in Books)

More About the Author

Michael Morrison is a writer, developer, toy inventor, and author of a variety of computer technology books and interactive web-based courses. In addition to his primary profession as a writer and freelance nerd for hire, Michael is the creative lead at Stalefish Labs (http://www.stalefishlabs.com), an entertainment company he co-founded with his wife, Masheed. The first commercial debut for Stalefish Labs is a traditional social/trivia game called Tall Tales: The Game of Legends and Creative One-Upmanship. When not glued to his computer, playing hockey, skateboarding, or watching movies with his wife, Michael enjoys hanging out by his koi pond while he daydreams about new Web creations. You can visit Michael on the Web and discuss this book at http://www.michaelmorrison.com/.

 

Customer Reviews

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

20 of 20 people found the following review helpful:
4.0 out of 5 stars Great introductory books, January 6, 2004
By A Customer
This review is from: Sams Teach Yourself Game Programming in 24 Hours (Paperback)
I have a passion about games. That's why I studied computer science, and I finally decided to dedicate all my free time to start learning how to program games. So I bought Teach yourself game programming in 24 hours by Michael Morrison. Let me tell you, I was surprisingly pleased, and didn't want the book to end.

To start with, this book is not for complete newbies into the C++ language but it shouldn't be. I hate a game book that spends half of its pages teaching you how to program C++. If I wanted that, I'd go back to school and take another C++ course. It also doesn't throw all the theory and math on you like some gaming books out there that are better left for writing a PHD thesis. No, this one is easy enough to follow but also assumes you already have working knowledge of C++. It digs into building a game engine from the ground up, and uses all that knowledge to build gradually more fun and interesting 2D games. It really opened my eyes to many little new tricks I can use to build my own games like the sprite manager and animation. If you guys can't compile the games, I think you still need to have better knowledge of C++ before you tackle this one. I had no problems compiling all the programs using Microsoft Visual C++ 6.0, and although there was a problem or two (due to the fact that the book was written in 2002 and some windows functions used in the book have changed since MSVC++ 6.0), I still found a way to fix them and get them to work. Now why didn't I give it the 5 shining stars then?

Well, first of all it is a 2D book, and it does not use DirectX. So we can use it to build primitive games, but come on, how many companies out there don't use DirectX. Like for example, there is no maximize button in all the windows the book creates, because then the different resolutions can mess up the game. That's where directx comes to your help. Also the sound libraries used are very primitive. PlaySound is not useful in mixing 2 sounds at the same time, and there were some games in the book that sounded weird because of that.

The other thing I didn't like about the book was how the text had lots of bugs in it. Like the text does not actually map one to one to the code on the CDs. But if you are not picky and a little alert, it's not a big deal. Anyway, a couple of emails to the publisher and a 2nd edition will fix that.

My final pet peave was that in so many cases, I was begging that the author would go in detail about the subject, but he would say, "this is too complex, but what I'm providing you is very good". I want some of that complex stuff too. Like I wanna know how a scrolling background works (Many adventure games use it like "Broken Sword"). My knowledge is not complete without it.

But overall, I think the book taught me many new things I didn't know, and although I won't be able to go write a commercial game out there by just reading this book, I can really put that knowledge with the knowledge from more advanced books to use.

I hope Michael Morrison will consider writing a DirectX book version of the Game Programming book, with 3D graphics, and the more "complex" stuff which were missed in this one. Even if the book costs double this one, I'll be the first to buy it.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


27 of 30 people found the following review helpful:
4.0 out of 5 stars Sams Teach Yourself Game Programming In 24 Hours, December 10, 2002
By 
daman (Atlanta,GA) - See all my reviews
This review is from: Sams Teach Yourself Game Programming in 24 Hours (Paperback)
Buy It! Why? This book teaches the fundamentals of game
programmiing - //minus the confusing direct x layer
Learning C++,Win32,SDK,API is quite a challenge for the
beginner and adding COM (+) Direct X is quite daunting
for absolutebeginners.
Michael outlines how to write simple games with source
code and all of the executables work,but you will have
to tweak them,if you want to add minutes to the
gameplay or add levels.
The reason I like this book was because it taught the

fundamentals of game programming. After studying this
text, if you want, you can then move on to algorithms,
data structures,3d-mathmatics and other game wizardry.
I highly recommend Sams Teach Yourself Game Programming
In 24 Hours.

If you're like me you read everything in the bookstore,
in the computer gaming section and end up purchasing
too many books.
Unfortunately, all books are not created equal. So, to
save you a little time and fustration, read the list
below for what I think are a few fundamental c++ and
game programming text currently on the market. I know
that "Stroudstrap" wrote C,C++ and parts of Unix, but
brilliant programmer does not always translate into
great author;(personal experience).
These are excellent books are for absolute beginners
and soon to be Gurus:

1. C++ How to Program (Fourth Edition)Author: Deitel
It's not a "fun read", but it covers all of the
fundamentals inside and out.
Do yourself a favor - Get it!
It covers everything. After reading this, you will not have a
need for Stroudstrap, (unless you want to "get fancy and show-
off".

2. Programming Windows (Fifth Edition) Author: Charles Petzold

Fundamentals again. Teaches how to write code for a
window,how to write bitmaps to the screen,blitting,
color palattes...
Everyone has it,it's an easy read, get it.
Rector is o.k., but he's talking about programming
for windows apps and using MFC (isn't that a fried
chicken franchise somewhere)? skim and read through
it several times,you'll see what I mean. "Corporate
will never understand the creative"!

3.Tricks of The Game Programming Gurus (Second Edition)
Author: Andre LaMothe

After completing cs101,cs202,cs303 of the above listed texts;
this book should "in a perfect world" culminate your learning
while matriculating through the virtual world of game
programming.

Game Programming Gurus covers all of the information in the
previous titles, but it covers "real world code". If you have
dreams of becoming the next "Great Programmer", you will use
all of the information in this book. Much unlike many of the
corporate college courses you've probably completed.
"Not that (it)'s anything wrong with 4 years".
This book covers algorithms,2d,3d,direct x,gdi,COM,sound,...

After reading,then (studying), these four texts I think that you
will have confidence and ablity to accomplish anything!

Yes indeed,
you'll be able to exclaim,
with a complete and popular domain,
without sounding insane,
"Yes! I Got Game".

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 13 people found the following review helpful:
4.0 out of 5 stars Code to perform the most common game operations, January 25, 2004
This review is from: Sams Teach Yourself Game Programming in 24 Hours (Paperback)
Many years ago, after I purchased my TRS-80, I did what so many budding programmers did, I purchased some games and then tried my hand at writing my own. In the subsequent years, the conversations that I have had with many other programmers has revolved around their first attempts to write games. In fact, a solid argument can be made that for many people of that era, the first "large" programs that they wrote were games. Any attempt to write a game requires the use of most of what we do in programming. Topics such as file handling, sophisticated graphics, advanced data handling and complex decision making are all necessary to a good game. In this book Morrison covers all of those areas, as he steps you through the construction of several games.
The coverage of what is needed for game development is complete, and all of the code is available on CD, which is fortunate, because there is a lot of it. The language is C++, specifically Microsoft Visual C++ and
Borland C++ builder version 6. Code for the games in both versions is included on the CD. Borland C++ builder version 5.5 complete and a trial copy of version 6 are also on the CD for those who lack access to a suitable compiler. While I consider the language choice to be fine, it will pose a problem for those with limited exposure to their structures.
By necessity, Morrison is forced to spend the bulk of his allotted ink in explaining the programming of the games. Therefore, anyone unfamiliar with object-oriented programming or how these two versions of C++ are structured will find it difficult to follow the code. This is not to say that it cannot be understood, just that limited exposure to these versions of C++ will probably require that you consult another resource.
If you have a background in these versions of C++, then let the games begin. Morrison gives you a solid background in what is an excellent way to learn the fundamentals of programming, how to develop and organize a complex program and how to have fun while doing it.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

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











Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(19)

Your tags: Add your first tag
 

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 Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject