Quantcast
The World Famous 8bitrocket.com Home Page
hitpixels_with_bitmap_anmationloop.swf (2007)
A demo of using bitmapData to do pixel level collision detection and bitmap animation caching.
Use the arrow keys to move the spaceman around the room.

The bitmap hit will become true only if the spaceman collides with a walls (green), even through he is actually colliding with the wall bitmap all the time.
The Player Sprite number in the text box represents the current sprite in the array (bitmapData object).
The frame rate tells the current frame rate.

downlod the fla file

Ari Feldman's Sprite Lib used via GPL



Questions? Comments?
For more information, contact: info@8bitrocket.com