Category Archives : Mathematics








line_circle2 9
This article originally appeared in Dev.Mag Issue 29, released in February 2009. Last month we covered some of the very basic ways of testing whether object A hits object B. But, while the techniques we covered could quite likely take you very far, you’ll inevitably encounter a time when they […]

Basic Collision Detection in 2D – Part 2



collision_detection_header 20
This article originally appeared in Dev.Mag Issue 28, released in January 2009. Almost every video game needs to respond to objects touching each other in some sense, a practice commonly known as collision detection. Whether it’s simply to prevent the player character from walking through the walls of your maze […]

Basic Collision Detection in 2D – Part 1



This article originally appeared in Dev.Mag Issue 12, released in July 2007 Previously… Last issue we covered the core principles of trigonometry and learned how to use these to calculate unknown sides in a triangle. Well, I hope you’re rested and ready Commander, because we’ll be jumping straight back in […]

Trigonometry: Part 2