|
||||||
| Home Software Hardware Docs Magazines Forums Search | ||||||
Offscreen Toys 13 Demo P
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat. AboutOffscreen Toys is a stand-alone sprite animation demo with full source code. (Please don't confuse it with Offscreen Toys SAT, which looks the same but uses Sprite Animation Toolkit.) I wrote this as a simple sprite demo, though I got a bit over-ambitious, putting in a lot of not entirely trivial things. You will find the following: - The standard Mac event loop and event handling. - Setting up GWorlds. - Using CopyBits between GWorlds. - Preloading graphics to GWorlds. - Animation. - Using BitMapToRegion to create a mask region for CopyBits. - Collision detection. - Collision handling. Think and Metrowerks Pascal source-code. /Ingemar Ragnemalm |
||||||
|
MacTrove — Classic Macintosh Archive —
Full site |
Software |
Search
Classic version — compatible with older browsers. |