Context

In November 2012, collision detection was a fundamental element of any video game, and its implementation in JavaScript required algorithms suited to browser constraints.

What is this article about?

The article presents collision detection techniques for web games: bounding boxes, pixel-perfect collisions and optimizations.

Summary

Collision detection

Read the article

Published in Linux Pratique Special Issue #25, November 2012.

In this issue

This article is part of issue LPHS-025. Here are the other articles by Sébastien Chazallet in this issue: