Chapter 3. Collisions Between Circles
This chapter covers collision detection between circles. Circles are a good place to start because they have the same dimensions all the way around. If you understand collision detection between circles, understanding collision detection between polygons becomes much easier.
This chapter covers the following topics:
Using abstract classes to help you build games with extensible and reusable code
Handling collisions between moving and stationary circles
Handling collisions between a circle and a line
Dealing with collisions when both circles are moving
Handling collisions between multiple circles on the stage at the ...
Get AdvancED Game Design with Flash now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.