The techniques we've looked at so far won't help with pixel-perfect collision—at least, not easily. To create environments that are malleable on the smallest pixel level, we need to tackle one more great collision-detection system every Flash game designer should know: bitmap collision.
We're going to cover many interesting topics in this chapter. You'll learn how to do the following:
Convert sprites and movie clips to bitmaps.
Figure out if two bitmap objects are colliding.
Separate colliding bitmaps to create a solid collision boundary.
Build concave and convex bitmap environments for ...