2D Game Collision Detection: An Introduction To Clashing Geometry In Games
Publish Date: 2012-10-02
Author: Thomas Schwarzl
Attention: For textbook, access codes and supplements are not guaranteed with used items.
Arrives in 3-7 Business Days
Are You Wondering How 2D Collision Detection In Video Games Works?
Learn how to 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.
This Book Is Designed For Game Developers Who Want To Implement Fast And Efficient 2D Collision Detection.
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 throughout the book.
What You Will Get From This Book.
The following topics get explained in detail:
2D vector mathematics,
how to spot collisions of various 2D shapes,
simple yet effective body representation of game objects,
identifying clashing objects in motion and
plenty of optimization tricks.
Your Knowledge Will Be Built Up From Scratch.
The book 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.
Use This Book As A Reference Guide.
Aside its introductional nature this book is also designed to serve as a reference guide for looking up specific collision detection functions. So advanced game programmers will derive benefit from it as well.
All The Presented Code Is Ready For Immediate Use.
The code forged throughout the book can be downloaded from the book's website and can be used right away.