Summary:
Open Source Game Development: Qt Games for KDE, PDAs, and Windows starts with a review of game design and walks the reader through Open Source game development using Qt and KDE. From there it moves on to cover topics such as Canvas Games (2D), OpenGL (3D), graphics & sound, pathfi nding, AI, particle effects, math, and physics. All relevant sections of the book include ready-to-use code snippets that are accompanied by fully functional tutorial/example programs and extensive API documentation. The companion CD-ROM includes C++ source code for Qt applications and all of the algorithms from the text. After reading this book, game programmers will have the tools and knowledge to master Open Source game development. KEY FEATURES * Designed as a tutorial guide for the setup of a desktop game application on different platforms such as KDE, PDAs (Qtopia) and Mac OS/Windows (Qt) * Contains step-by-step development of a fully playable desktop game and includes this game on the CD-ROM * Code snippets allow beginners in game programming and/or KDE/Qt programming to understand how to develop their own desktop game * Introduces key topics relevant for desktop games such as pathfi nding, artifi cial intelligence, multimedia, and particle effects On the CD! This CD-ROM contains source code and documentation to demonstrate the techniques described in the book (please see the appendix for detailed information): * Example programs * API documentation for the example programs * Free tools and games * Figures in the book SYSTEM REQUIREMENTS Minimum Hardware: 300 MHz processor; 128 MB RAM; 40MB disk space. Recommended Hardware: 900 MHz processor; 256 MB RAM; 3D graphics card; 400 MB disk space. Software: Microsoft Windows (98, Me, NT, 2000, XP), or Mac OS X, or Linux (e.g. RedHat or Suse Linux with kernel 2.4.x, 2.6.x or similar) with C++ compiler and Qt 3.Optional: For the KDE examples: KDE 3.x; for the Qt 4 examples: Qt 4.x; for the PDA example: Qtopia SDK 1.7.0 or higher; for the OpenGL example: OpenGL development library, drivers, and GLUT; for the OpenAL example: the OpenAL development library.
Table of Contents:
Acknowledgments
Preface
Foreword
Chapter 1 Introduction to Desktop Gaming
Chapter 2 Qt Primer
Chapter 3 Game Development Using KDE
Chapter 4 Qt Game Development Using Microsoft Windows
Chapter 5 Game Development on PDAs
Chapter 6 Canvas Games
Chapter 7 OpenGL
Chapter 8 OpenGL with Qt
Chapter 9 Sound and Graphics
Chapter 10 Artificial Intelligence
Chapter 11 Pathfinding
Chapter 12 Particle Effects
Chapter 13 Math and Physics in Desktop Games
Chapter 14 Qt Network Games
Chapter 15 The KGame Library
Chapter 16 XML
Chapter 17 Open Source and Intellectual Property Rights
Chapter 18 A Practical Summary
Appendix A About the CD-ROM
Appendix B Software License
Index