Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Games Overview

The Macintosh is a great platform for games, with a wide range of options and technologies for game developers. With OpenGL, OpenAL, Velocity Engine, and the Mac OS X development and performance optimization tools, you have everything you need to build or port exciting and compelling games. You can choose to develop with any of three frameworks—Cocoa, Java or Carbon—each of which has advantages that accelerate your game development. Plus, the ADC website provides a wide range of tools, sample code, SDKs, and documentation for developing the best games of today and tomorrow on Mac OS X.

Games are all about high-performance graphics, and Mac OS X is built around a powerful OpenGL implementation that is integral to the OS. And while OpenGL is the industry standard for immersive and "cinematic" 3D graphics, it is also great for extremely high-performance 2D "sprite" graphics. Mac OS X supports the OpenGL 1.5 specification and includes a wide array of extensions that expose game-relevant techniques such as GPU programmability and optimized vertex and texture handling.

QuickTime is an excellent cross-platform solution, not only for video playback, but also for audio and 2D image loading. QuickTime supports a large number of video, audio, and still image formats.

Great sound is essential for great games, and OpenAL leveraging Apple's Core Audio API is the choice on Mac OS X, offering high-performance multichannel environmental sound, along with extensive MIDI capabilities.

Games need all the processor bandwidth they can get. The Velocity Engine expands the G4 and G5 processor's capabilities to concurrently address high-bandwidth data processing and algorithmic-intensive computations, accelerating graphics, audio, and other functions.

Display management on Mac OS X is provided by the CGDirectDisplay API, which supplies classes for enumerating, querying, and manipulating attached displays. CGDirectDisplay also provides gamma manipulation and fading controls.

No-hassle networking is a big advantage for games, so if your game uses networking, you can use Mac OS X's Rendezvous zero-configuration networking architecture, an industry-standard mechanism for auto-discovery of computers, devices, and services on IP networks. In addition, the I/O Kit enables games to easily identify, configure, and use specialized input and force-feedback hardware devices.

Mac OS X supports a wide variety of game input devices via its Human Interface Device framework and USB class driver. Developers can also take advantage of the latest trends in haptic game devices by using Mac OS X's built-in support force feedback devices such as Immersion TouchSense compliant devices.

Apple's performance and debugging tools, included with the Xcode Tools suite, help you analyze your game's hotspots, locate problem areas, and debug quickly and easily. To learn how to enhance your program to achieve maximum performance under the Mac OS X system architecture and to use the Mac OS X development tools to analyze your code, you can refer to Inside Mac OS X: Performance Fundamentals.

Some of the biggest names in games use Mac OS X to accelerate development, including Blizzard Entertainment with World of Warcraft, and UbiSoft with Myst IV Revelation. These leading games take advantage of Mac OS X's strengths, including use of Apple's superior optimization tools including Shark and OpenGL Profiler.

If you are ready to begin learning about the APIs and tools available on Mac OS X for Games, go to Getting Started With Games, for a guided introduction and learning path.

For news, updates and links to other ADC content related to Games Mac OS X, return to the Games topic page.

Posted: 2005-03-04