Determine shot impacts, find out which enemies are covered by lines of sight, recognize collisions of race cars or simply check if the mouse cursor floats above a button.

Are you wondering how 2D collision detection in video games works? If so this book is made for you.

Get all the latest offers and news directly in your inbox!

It is written for beginners, new to the topic of geometrical 2D collision detection. There are plenty of illustrations and code examples which make it easy to understand the necessary concepts and algorithms.

The book is also designed to serve as a reference guide for looking up specific 2D collision detection functions. So it is useful for advanced game programmers as well.

The only prerequisite you need is basic knowledge in procedural programming. If you are familiar with any popular programming language like C, C++, Java, C# or Objective-C you have all you need to understand the code examples.