Advertisement

Collision Detection

  • Rex van der Spuy

Abstract

What happens when two sprites collide? That’s what this chapter is all about: collision detection. You’re going to learn how to determine if two sprites are touching, and make them react in interesting ways when they do. For 2D games, there are four essential collision detection techniques you need to know, and we’re going to cover all of them in this chapter:

Keywords

Collision Detection Game World Setup Function Collision Check Game Level 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Rex van der Spuy 2015

Authors and Affiliations

  • Rex van der Spuy
    • 1
  1. 1.OntarioCanada

Personalised recommendations