MacTrove  — Classic Macintosh Archive
 
 Home Software Hardware Docs Magazines Forums Search
Search:   Software, forums, magazines & more

Offscreen Toys 13 Demo P

File offscreen-toys-13-demo-p.hqx
Size 34.7 KB
Category Development
↓ Download offscreen-toys-13-demo-p.hqx

Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat.

About

Offscreen 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.