Chapter 11. Collision Detection

Topics in This Chapter

11.1 The Collision Detection Process

11.2 Collision Detection Techniques

11.3 Snail Bait’s Collision Detection

11.4 Select Candidates for Collision Detection

11.5 Detect Collisions Between the Runner and Another Sprite

11.6 Process Collisions

11.7 Optimize Collision Detection

11.8 Monitor Collision Detection Performance

11.9 Implement Collision Detection Edge Cases

11.10 Conclusion

11.11 Exercises

Nearly all computer games implement collision detection. Even games that are mostly static, such as puzzles, must detect collisions. Collision detection is a deep and varied topic, with entire books devoted to the subject. And the math required to implement certain types of ...

Get Core HTML5 2D Game Programming 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.