itch.io is community of indie game creators and players

Devlogs

Devlog #018: Implemented friction

Rocket Shipment
A downloadable game for Windows and Linux

The physics are working pretty well now. I've replaced my previous collision detection with a functionality following the seperating axis theorum. This is a breeze to understand codewise and also works a lot more stable than the "check if lines cross" type of approach I had programmed earlier.

As you can see I've implemented friction as well. Once you understand the vector math used in SAT, this is also a pretty straightforward thing to implement (I might post a "how to" on some site if people want me to).

I'm stoked to start testing some stuff with this renewed physics system I implemented. Right now I'm building crates that can be hooked and pulled for transfer later in the game. As soon as I have some working in the game, I can start playing around with them colliding into eachother.

Download Rocket Shipment
Leave a comment