Mac OS: What is a Game Sprocket?

I see several files in my System Folder with the word "Sprocket" in the title. The Info window shows that these are copyright Apple Computer. What are they and what are they for?

This document applies to Mac OS 9 and earlier.
This article has been archived and is no longer updated by Apple.
Apple Game Sprockets is a set of technologies designed to make writing Macintosh games easier for developers. They are designed specifically to provide the functionality that games need on the Macintosh: drawing to the screen, handling input devices, setting up multiplayer games, and simulating 3D sound sources.

There are four kinds of game sprockets: InputSprocket, DrawSprocket, NetSprocket and SoundSprocket.

InputSprocket allows games to support a wide variety of input devices including joysticks, gamepads, steering wheels and flight sticks without having to write customized routines for each.

DrawSprocket gives game developers a way of using different graphics hardware (video cards/chips) without having to write customized routines for that hardware. DrawSprocket allows the user to select among any connected monitor that meets the requirements of the game.

NetSprocket gives game developers standard ways to configure networking preferences and to send and receive information to other players.

SoundSprocket gives game developers an easier way to use sound including simulating 3D sound. SoundSprocket will display a dialog for configuring the sound options supported by the game.


Additional information

See http://developer.apple.com/documentation/macos8/MultimediaGraphics/GameSprockets/applegamesprockets.html

Last Modified: Feb 20, 2012

Additional Product Support Information