We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › Sprite Animation/Collision Library!
Page Index Toggle Pages: 1
Sprite Animation/Collision Library! (Read 1232 times)
Sprite Animation/Collision Library!
Jun 5th, 2006, 6:13pm
 
Hi,
I have just completed a fully functional (but barely tested) sprite library that supports optimized pixel perfect collision detection (calculated from alpha at the moment, although it would be easy to add chroma keying) and animated sprites (you can set the framerate. Also, each frame collides based on its own collision map.)

You can see a very simple demo of it in action and download the source from:
http://www.staronesw.com/SpriteClass/

Any additions, questions, or comments would be appreciated.
Page Index Toggle Pages: 1