Tag Archives: simulation

2D polygonal collision-detection and internal edges

Hi and welcome back to my blog! I wanted to share something I’ve recently discovered about the heinous problem of internal edges in 2D polygonal collision detection. It’s not a full-solution, but maybe it will give some other programmers an … Continue reading

Posted in Collision Detection, Geometry, Polygons, Technical | Tagged , , , | 14 Comments

The physics of rolling

Hello and welcome back to my blog! This time I’m going to talk about the physics behind simulating a rolling circle, Super Monkey Ball style but in 2d. The key The key to making this work is understanding how we … Continue reading

Posted in AS3, Circles, Collision Detection, Geometry, Physics, Technical | Tagged , , , , , | 12 Comments

Fun with convex polygons

Hello and welcome back to my blog! I wanted to talk about a couple of elegant ways of working with polygons that I’ve used over the years. Simple convex polygon area I’ve seen a lot of people go through and … Continue reading

Posted in AS3, Geometry, Graphics, Polygons, Technical | Tagged , , , , , , | 12 Comments

How to make a 2d platform game – part 2 collision detection

Hello and welcome back to my blog! In this series of articles, I’m talking about the technology behind a platform game. If you missed part 1 you can check it out here. The language is actionscript 3.0, but the techniques … Continue reading

Posted in AS3, Collision Detection, Platform game, Technical | Tagged , , , , , , , , , | 42 Comments

Collision detection for dummies

Hello and welcome back to my blog! This article is a kind of companion article to Physics engines for dummies and talks about the act of actually detecting a collision between two shapes. This article assumes the reader has a … Continue reading

Posted in AS3, Collision Detection, Geometry, Physics, Technical | Tagged , , , , , , | 134 Comments

Physics engines for dummies

Hello and welcome back to my blog! This time i’m going to talk about the basic components that make up a physics engine and how to put them together; this tutorial is aimed at programmers who have a basic grasp … Continue reading

Posted in AS3, Beginner, Collision Detection, Geometry, Graphics, Physics, Technical | Tagged , , , , , , , | 187 Comments

Speculative Contacts – a continuous collision engine approach

Hello and welcome back to my blog… Today i’m going to talk about a continuous collision detection technique called Speculative Contacts which has been employed in games such as Little Big Planet PS3 and PSP versions. First of all we need to answer … Continue reading

Posted in Collision Detection, Physics, Silverlight, Technical | Tagged , , , | 167 Comments