Book description
With the increasing popularity of games that run on all PC platforms—whether Windows, Mac, or Linux—the search is on for game developers who can create cross-platform games. Cross-Platform Game Development explains to both beginners and experts how to use cross-platform tools, provides tutorials on setting up and compiling key gaming libraries, and examines the necessary code and conceptual frameworks to get started on the path to making cross-platform games.
With this book discover how to create cross-platform games in C++ using the cross-platform editor Code::Blocks; explore how to make games quickly with a combination of cross-platform and open-source gaming libraries; understand the fundamentals of game programming, including hierarchial scene management, collision detection, and depth sorting; learn how to make both 2D and 3D real-time cross-platform games, complete with sound, graphics, and more.
Table of contents
- Title Page
- Copyright
- Contents at a Glance
- Contents (1/2)
- Contents (2/2)
- Acknowledgments
- Introduction
-
Chapter 1 Cross-Platform Games
- 1.1 Platforms
- 1.2 Cross-Platform Games
-
1.3 Preparing to Go Cross-Platform
- 1.3.1 Multiple Booting
- 1.3.2 Step 1 — Preparing to Multiple Boot
- 1.3.3 Step 2 — Installing Windows XP (1/2)
- 1.3.3 Step 2 — Installing Windows XP (2/2)
- 1.3.4 Step 3 — Installing Windows Vista (1/2)
- 1.3.4 Step 3 — Installing Windows Vista (2/2)
- 1.3.5 Step 4 — Installing Linux Ubuntu (1/2)
- 1.3.5 Step 4 — Installing Linux Ubuntu (2/2)
- 1.3.6 Step 5 — Summary of Multiple Boot
- 1.4 Virtualization — Simulating Operating Systems
- 1.5 Conclusion
-
Chapter 2 Linux Ubuntu and Linux Gaming
- 2.1 Ubuntu Installation and Troubleshooting
-
2.2 Getting to Know Ubuntu
- 2.2.1 Ubuntu Login
- 2.2.2 Ubuntu Desktop
- 2.2.3 System Monitor
- 2.2.4 Update Manager
- 2.2.5 Screen and Graphics Preferences and Restricted Drivers Manager
- 2.2.6 Add/Remove Applications
- 2.2.7 Synaptic Package Manager
- 2.2.8 Ubuntu Terminal/Console/Shell
- 2.2.9 Places | Computer
- 2.2.10 Firefox Web Browser
- 2.2.11 OpenOffice.org
- 2.2.12 Photo Editing
- 2.2.13 Installing and Playing a Game on Ubuntu
- 2.3 Linux and “Transgaming” Technologies
- 2.4 Automating Ubuntu with Automatix
- 2.5 The Linux Shell
- 2.6 Conclusion
- Chapter 3 Cross-Platform Development Tools
-
Chapter 4 Game Programming Basics
- 4.1 Game Programming — Getting Started
- 4.2 Preparing to Make Games
-
4.3 Using the STL: Strings and Lists
-
4.3.1 std::string
- 4.3.1.1 Configuring Projects to Use STL and std::string with Code::Blocks
- 4.3.1.2 Declaring, Creating, and Assigning Strings with std::string
- 4.3.1.3 Looping through Characters of a String with std::string
- 4.3.1.4 Searching for Characters in a Specified Instance of std::string
- 4.3.1.5 Extracting and Inserting Substrings from and to a Specified Instance of std::string
- 4.3.1.6 Converting Instances of std::string to Standard char* Pointers
- 4.3.2 std::vector
-
4.3.1 std::string
- 4.4 The Game Loop
- 4.5 Conclusion
-
Chapter 5 SDL Graphics
- 5.1 SDL Breakdown
- 5.2 Downloading and Configuring SDL
- 5.3 Getting Started with SDL
- 5.4 Color Keying with Surfaces
- 5.5 Conclusion
- Chapter 6 Game Audio
- Chapter 7 Game Mechanics
-
Chapter 8 Novashell and 2D Games
- 8.1 Novashell Overview
- 8.2 Downloading Novashell (Windows, Linux, and Mac)
- 8.3 Exploring Novashell Games
- 8.4 Getting to Know Novashell
- 8.5 Novashell Editor
- 8.6 Novashell Tools
- 8.7 Editing Novashell Levels
- 8.8 Creating New Games and Maps
- 8.9 Importing Art into Novashell
- 8.10 Novashell System Palette
- 8.11 Novashell Scripting
- 8.12 Conclusion
- Chapter 9 Director and Web Games
- Chapter 10 3D Games with OGRE 3D
- Chapter 11 Other Cross-Platform SDKs and Tools
- Appendix A: GNU Lesser General Public License (1/2)
- Appendix A: GNU Lesser General Public License (2/2)
- Appendix B: BSD License
- Appendix C: Creative Commons License (1/2)
- Appendix C: Creative Commons License (2/2)
- Appendix D: zlib/libpng License
- Appendix E: The MIT License Template
- Appendix F: STL Public Member Methods Reference (1/2)
- Appendix F: STL Public Member Methods Reference (2/2)
- Appendix G: SDL Key Codes (1/2)
- Appendix G: SDL Key Codes (2/2)
- Appendix H: Novashell Functions (1/3)
- Appendix H: Novashell Functions (2/3)
- Appendix H: Novashell Functions (3/3)
- Appendix I: Director Events
- Appendix J: OGRE OIS Key Codes (1/2)
- Appendix J: OGRE OIS Key Codes (2/2)
- Index (1/2)
- Index (2/2)
Product information
- Title: Cross Platform Game Development
- Author(s):
- Release date: June 2009
- Publisher(s): Jones & Bartlett Learning
- ISBN: 9780763782818
You might also like
book
Advanced 3D Game Programming with DirectX 10.0
Advanced 3D Game Programming with DirectX 10.0 provides a guide to developing cutting-edge games using DirectX …
book
MonoGame Mastery: Build a Multi-Platform 2D Game and Reusable Game Engine
Master the art of game creation with MonoGame—the cross-platform framework of choice for independent developers. Learn …
book
Hands-On C++ Game Animation Programming
Learn animation programming from first principles and implement modern animation techniques that can be integrated into …
book
Introduction to 3D Game Programming with DirectX 10
Introduction to 3D Game Programming with DirectX 10 provides an introduction to programming interactive computer graphics, …