Bad Car Physics

Sep 20th, 2017

What Is This?
I thought it would be fun to mess with car physics and make something where you're constantly drifting. Remember Driift Mania for the Wii? Super fun!

How Long Did It Take?
3 weekends

How Many Lines of Code? (Excluding Phaser)

What Did I Learn?
Separating axis theorem. I rolled my own (bad) physics. Learn about SAT here here or here.

A simple way to do car physics. The basic algorithm is only 6 lines of code! Check it out here.

Where Did I Get The Assets?
Top Down Racing Game Creation Kit ($15) on Envato Market.