|
Version: 1.0 Posted: 2007-12-19 Build Requirements: Xcode Tools 3.0 and Mac OS X version 10.5 Runtime Requirements: Mac OS X version 10.5 Download Sample (GeekGameBoard.zip, 1.13M) |
||||
DescriptionGeekGameBoard is an example of using Core Animation to present the user interface of a board or card game. It implements a small framework for implementing such games, with domain-specific classes like "Grid" and "Piece", and examples of several game definitions built on top of the framework. Some of the generally-useful Core Animation techniques illustrated are: • Hit testing • Dragging CALayers with the mouse • Loading images from files and setting them as layer contents • 3D "card-flip" animations Document Revision History
|
|