SpriteWorld is an extensive Open Source collection of powerful routines Mac programmers can use to implement smooth, fast sprite animation in games and other applications.
Some of its features include:
- Support for Carbon development while still supporting "Classic"
- Hardware accelerated drawing (through OpenGL in Carbon and RAVE in Classic)
- An unlimited number of sprites of any size
- Time-based animation making it possible to have smooth animation independent of frame rate.
- Sprite storage in variety of formats (PICT or RLE resouces or any type of graphic file that Quicktime can handle)
- Pixel-precise collision detection
- Special effects via. custom blitters, including alphamasking, rotating, scaling and additive blending
- Fast scrolling
- Simple yet effective sound handling
These features lend themselves to the creation of nearly any kind of 2D game, particularly those that are action oriented as SpriteWorld's routines are highly optimized for speed. SpriteWorld comes with complete source code in C, so you can study the code to gain a further understanding of how SpriteWorld works, or change areas you want to work differently.
SpriteWorld contains very thorough Inside-Mac style documentation. As well, many demos are available that show how to use almost every aspect of SpriteWorld, including one demo that is a complete game.
Additionally there are 3rd party tools to help you with your projects, including TileMap and Sprite editors (which you can find in the Links section).