scsim

Space Combat SIMulation

Space Combat SIMulation

More or less intended as a Tie Fighter clone, down to how the radar works, or how the speed setting keys are set up. The numpad flight control scheme is borrowed from Freespace. The original code used SDL with some OpenGL readback tricks to emulate how the Unreal flares behaved. The black hole effect is just one of the things I saw at the OpenGL Challenge and liked, it’s not mine.

The project was basically an exploration of how linear algebra works, with the classic Matrices can be your Friends article as the foundation. From that I figured out that some sort of matrix inversion should be a possibility, then implemented an algorithm found in some old engineering book, and it worked as expected! Then it turned out that doing 3D models and texturing is kind of hard.

Play in browser