Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
qtsprites.win
Last Revision: | Version 1.0, 2003-02-25 Shows how to create a sprite track that contains three sprites: a space ship, an icon, and a world. |
Build Requirements: | QTWindows SDK |
Runtime Requirements: | Carbon |
This sample code has been updated for QuickTime 5.0 This sample code creates a sprite movie containing a sprite track. The sprite track contains three sprites: a space ship, an icon, and a world. Optionally, the track also contains a fourth sprite, a background picture. The space ship and icon move about as the sprite movie plays. This sample code also shows how to test for mouse clicks ("hits") on a sprite. Open a movie containing a sprite track and then click on a sprite; its visibility state is toggled between visible and invisible. 68k or PowerPC (or newer) machines running System 8.5 or later. PC with Intel Pentium or compatible processor. QuickTime 4.0 or later. CodeWarrior Pro 2 or later or Visual C++ 5.0 or later.
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-02-25