Buy Used
Used - Very Good See details
$3.91 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Have one to sell? Sell yours here
Windows Game Programming For Dummies
 
 
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.

Windows Game Programming For Dummies [Paperback]

André LaMothe (Author)
4.2 out of 5 stars  See all reviews (204 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback $21.59  
Paperback, March 11, 1998 --  
There is a newer edition of this item:
Windows Game Programming for Dummies, Second Edition Windows Game Programming for Dummies, Second Edition 4.2 out of 5 stars (204)
$21.59
In Stock.

Book Description

0764503375 978-0764503375 March 11, 1998 1
Ready to start creating your own Windows games but not sure where to begin? A little programming knowledge can go a long, long way when you've got the inside track to game programming with Windows Game Programming For Dummies.

Using the latest DirectX technology from Microsoft, veteran game designer Andre LaMothe takes you step-by-step through the process of creating your own games for Windows 95, Windows NT, and Windows 98. After you understand the nuts and bolts of Windows programming, you can add music and sound effects, design your own artificial intelligence to create thinking" opponents, and use the powerful DirectX tools to build lightning-fast applications...all without having to suffer through the complicated coding requirements of MFC and C++.

All the tools you need to start writing (and selling) your own games are right here in Windows Game Programming For Dummies, along with a special CD-ROM loaded with the complete DirectX Software Developers Kit, code samples included in the book, state-of-the-art animation and modeling software, and lots of graphics and sound files to use in your own custom-built games."


Editorial Reviews

From the Back Cover

"I can't think of a better place to start investigating the world of DirectX programming...." - Steve Smith, Games Technology Evangelist for Microsoft Corporation

Free Game programming "Cheat Sheet" Inside!

With This Book and Some Experience in C Programming, You Can Start Making Games for Windows in No Time! Interested in developing your own game software, but have no idea where to begin? Windows(r) Game Programming For Dummies(r) takes you straight from mystery to mastery! Based on the latest DirectX technology from Microsoft, the steps and procedures outlined by Andr? LaMothe will help you start writing games in no time. Valuable Bonus CD Includes:
* Sound Forge XP: Add excitement to your Web site with the demo of this powerful sound editor from Sonic Foundry
* Microsoft's DirectX SDK: The entire Software Developer's Kit that makes DirectX game programming quick and easy for Windows 95, Windows 98, and Windows NT
* Lots of shareware games from MegaGames and more!
* Bonus chapters about artificial intelligence and game programming potpourri
* Author-created games and code
Shareware programs are fully functional, free trial versions of copyrighted programs. If you like particular programs, register with their authors for a nominal fee and receive licenses, enhanced versions, and technical support. Freeware programs are free, copyrighted games, applications, and utilities. You can copy them to as many PCs as you like - free - but they have no technical support. System Requirements: PC with Pentium or Pentium II processor with Windows 95 or NT 4.0, or later; 16MB RAM; and a CD-ROM drive

Inside, find helpful advice on how to:
* Write Windows applications without dealing with the complexities of MFC and C++
* Use DirectX technology to take advantage of video acceleration and the latest hardware
* Create lightning-fast 2D games that run in Windows 95, Windows NT, and the new Windows 98
* Use artificial intelligence to create "thinking" opponents
* Make music and sound effects on your PC
* Sell your games via the shareware market
* Use your knowledge of C programming to create Windows-based games with DirectX

About the Author

About the Author Andr? LaMothe is the CEO of Xtreme Games LLC. He is the author of many game programming books.

Product Details

  • Paperback: 496 pages
  • Publisher: For Dummies; 1 edition (March 11, 1998)
  • Language: English
  • ISBN-10: 0764503375
  • ISBN-13: 978-0764503375
  • Product Dimensions: 9.2 x 7.4 x 1.2 inches
  • Shipping Weight: 1.8 pounds
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (204 customer reviews)
  • Amazon Best Sellers Rank: #2,232,492 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

204 Reviews
5 star:
 (126)
4 star:
 (38)
3 star:
 (17)
2 star:
 (11)
1 star:
 (12)
 
 
 
 
 
Average Customer Review
4.2 out of 5 stars (204 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

66 of 68 people found the following review helpful:
4.0 out of 5 stars A Great Book to get your feet on the ground!, April 13, 2000
This review is from: Windows Game Programming For Dummies (Paperback)
An idiot who slapped the 1 - star rating on this book is, in fact, a dummy. You CANNOT expect to write any game without having C or C++ down. Before buying this book, make sure that you are strong in using pointers and such 'advanced' things found in the C language. Some Windows programming is nice, however, Andre LaMothe is able to explain it nicely in the pages that are in the book, without going into explicit detail (which is a good and a bad thing). If you want to learn how to write games using your C language, then this book is a very good one. It explains Direct X fully, although, it doesn't go into explicit detail. On a final note, this game teaches a lot in the pages that it houses. It teaches basic Windows Programming, DirectX, as well as Physics and AI. Don't expect to get an extremely detailed tutorial on each concept taught in the book. If you need every detail found in Win32 Programming, then head off and purchase Windows 98 Programming by Schildt. If you want to learn DirectX (no D3D..) by going into explicit detail, Inside DirectX is the way to go. However, if you want a brief and somewhat detailed tutorial of both (including many, many other aspects of game programming), you'll find that this book provides you with everything you need to know. However, don't expect to write ANYTHING 3d. Right now, after reading that book, I am able to program my own Secret of Mana type game. How many people can say that after reading a 480 page book?
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


34 of 34 people found the following review helpful:
5.0 out of 5 stars My 2nd Review of this book, it is that good., May 27, 1999
By A Customer
This review is from: Windows Game Programming For Dummies (Paperback)
This book is for programmers with a fair grasp of C; you should understand macros, pre-compiler directives and a little bit of Windows programming (IMHO).

This book is NOT for people who do not have some programming knowledge (basic understanding of C is REQUIRED)

Also this book does NOT use MFC or C++ for a very good reason. MFC adds too much overhead to game programming and since MOST games using DirectX run in fullscreen mode - MFC is USELESS for DirectX programming. C++ can also add a large amount of complexity for someone trying to LEARN game programming. While I prefer C++ myself the author chose the right language to write the samples in (why worry about inheritance relationships/polymorphism/templates etc when you dont have to :).

Many 'evil' reviewers (heh how COULD you give this book a bad rating) stated that this book focuses on Windows programming too much. Believe me that is a GOOD thing. It is amazing how much code is required just to print the text "Hello, World!" in Windows. The book gives a great overview of the NECESSARY and FUNDAMENTAL workings of the Windows API. You MUST read those sections if you have never programmed in Windows. It does help.

What Andre Lamothe does with the Windows API is build a game shell that handles all the Windows implementation details (messages etc), freeing you to work on game specific details and DirectX. He explains the characteristics of fonts, bitmaps and how Windows handles output using GDI (which leads to why DirectX is faster for games...read the book you'll get it :)

Some people have given this book bad reviews because the code samples are not done in C++ or by using the VC++ 6.0 APP wizard etc. To those people I'd like to say that all the code in this book is EASILY portable to C++. That was part of the fun of this book for me: implementing his ideas into C++ (using ADTs etc, polymorphism woohoo). I challenge those reviewers to show me any SUCCESSFUL commercial game that uses DirectDraw/Direct3D and uses MFC. Can't find any? I suppose they are the same people who think the next great first-person shooter game should be written with Visual Basic...

Also using wizards to create and maintain your code is great but NOT while you are learning a language/API. Wizards and application frameworks (MFC) can hide implementation details which doesn't help you understand the code. I like to understand what I am coding before I let a tool (VC++) help me maintain my code.

When you finally reach the DirectX section you get a clear, focused discussion of the DirectX API. I have never read a book that explained DirectDraw so well. Never.

If you want more of a reference to DirectX just download the DirectX 6.1 SDK and use the documentation provided, or get Inside DirectX, by MSPress (surprisingly good book on DirectX 5)

C is NOT dead. C is a highly portable (though using DirectX negates that =P) language that has seen use in the most popular games, i.e. the Quake line of games.

To summarize,

This book WILL teach you how to use DirectDraw using C. While the book does teach you about DirectInput (great intro) and DirectSound, its main focus is on DirectDraw (how to use bitmaps to make sprites/animation, different special effects etc).

I do recommend that you at least know C before buying this book. You don't have to be an expert C programmer but at least feel comfortable with the language. Understanding how the Windows API works (namely messaging) is also recommended but NOT a requirement (Andre does a great job of helping you here). If you know C++ then you'll probably be tempted to convert his code, I know I was - but I learned a LOT about how to use DirectX from his C code.

If you want to understand DirectDraw (before going on to Direct3D (yikes)) then get this book...

This book does NOT cover advanced topics but this IS a dummies book after all...

For a good reference book, check out Inside DirectX; while not a tutorial it is a GREAT reference on some of the more advanced features of DirectX (especially DirectInput).

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


41 of 43 people found the following review helpful:
3.0 out of 5 stars Buy his "tricks of the 3d programming gurus" instead, June 24, 2001
By 
"jonfrain" (Nashua, NH United States) - See all my reviews
This review is from: Windows Game Programming For Dummies (Paperback)
Based on the amazon reviews, I purchased both this book and Andre's more recent tricks of the 3d programming gurus. His newer and much more detailed book covers everything in this book in more detail.

Both books are definitely excellent tools for learning the basics of game design. Game programming can be extremely difficult due to the real-time nature of the application. Because of this, a good game programmer knows how to write efficient code.

My suggestion to ANY aspiring game programmers is to learn C or C++. C++ is MUCH more difficult to learn due to the added complexities of Object Oriented Design. Get comfortable with dealing with data structures (such as arrays, linked lists, binary trees) because many times efficient code requires efficient management of data.

Once you have a grasp of the language, then move on to Andre's gurus book. The learning curve will be fairly steep at first as you try to understand windows programming, although you really only need to know how to design a basic shell to create a window and handle messages.

Andre's DirectX explanations are usefull, but VERY outdated. DirectX 8.0 marks a vast change in many areas as it seems to be becoming more openGL-like.

I would not suggest that anyone writing a game today use the older direct draw 2D methodology. Instead, you can utilize the added functionality of direct3D and get access to the 3D accelerator and still create a top-view or side-view game that appears 2D. What this means is that you're working in a 3D space (x,y and z coordinates) but placing all of your 3D objects on the x-y or x-z or y-z plane and using the third axis to view this 2D plane.

Get a hold of the DirectX 8.0 SDK from the msn website. Go over the documentation and look at and edit their sample programs until you understand the concepts you want to learn. They provide you with predrawn 3D meshes in their 3D donuts game, which also contains all of the source code.

I'm actually writing my first game now after a long time of researching to make sure I do it right. The game is a simple asteroids like top-down game except that I'm using 3D ships, asteroids and such. I first learned how to render my 3D ship in a window, then learned how to move (translate) it and also rotate it by reading the keyboard inputs. I then figured out how to render a background behind the ship. The next step was to learn how to use directShow to play an mp3 theme when the level started. The next steps will be to learn how to play a .wav file when say thrusting or firing, and then editing the lighting effects of the models and the entire scene.

If you break the project down into small steps, as described by Andre, the task because much less daunting.

One last thing, C++ is definitely going to become a HUGE asset to engine and game programmers. It's portability and modularity makes for easy partitioning of tasks and reusability. Even John Carmack (Doom, Quake)is debating learning C++ as the games are getting extremely complicated over time and reusability could save him a great deal of recoding.

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



Inside This Book (learn more)
First Sentence:
In this chapter, I start off with just a few details on what the heck you're going to be doing. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
palletized modes, surface memset, backbuffer surface, directdraw object, set cooperation level, graphics device context, main window handle, predefined data format, main event handler, most game programmers, invalid rectangle, return success return, memory pitch, int attr, main event loop, primary buffer, clipping list, primary surface, sound buffer, secondary surface, destination surface, color keying, clip list, entire client area, game processing
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Star Ferret, Value Meaning, The Rest of the Puzzle, Puff Dragons, True Color, Component Object Model, Graphics Device Interface, Microsoft Visual, Raster Line, Sound Forge, Paint Shop Pro, The Part of Tens, Center This String, Creative Voice File, Getting Familiar, Hello Dumb World, Left Right, Making Noise, Putting Windows, Star Wars, Xtreme Games
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:





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).
 
(20)
(12)

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