Basic Collision Detection in Typescript Tutorial

In this video tutorial I'm covering some basic 2d collision detection for HTML5 canvas games in TypeScript. I cover basic circle collision detection, rectangle collision detection, line collision detection and rotated rectangle collision detection. There's some basic trigonometry that get's covered, but nothing that is too mathematically challenging. I do leave out polygon collision detection, but I will cover that in a later tutorial. There is a brief introduction to the separating axis theorem when I cover Oriented Rectangle collisions, but I save the details of that for when we do Polygon Collision Detection.

The code for this tutorial is available on the written version of the Basic Collision Detection page.