veridian-expanse icon indicating copy to clipboard operation
veridian-expanse copied to clipboard

Source code for the asteroid mining game I've been building.

NOTE:

This source mirror is getting a bit out of date, and I'm unsure if I want to continue hosting it on GitHub given their policy of training commercial AI models from GPLed code like this... My more permanent solution is to simply package the game's source code with it's other assets. This also conveniently solves the issue of building the assets correctly to match the source code it goes with. Check the itch.io link below and look in in the included resources.zip file.

Veridian Expanse

Veridian Expanse is a side project I've been working on for a while now. Lately I've been putting a lot more time into it with plans to release it on Steam, Itch.io, and Flathub. It won't be a free game, but I don't see any problem releasing the source code (without the assets) for it, especially since I keep telling people all the "good parts" anyway. I have a bit of information about the game on my blog. The working name for the game used to be "Project Drift", so there's still plenty of references around using that name.

Some highlights:

  • Simple C11 implementation
  • Job system built around Tina
  • Hotloading of code, shaders, and assets in ~200 ms
  • Simple, high performance renderer with GL3 and Vulkan backends
  • Dynamic, single pass soft shadows
  • Normal mapped lighting via 2D light fields
  • Simple ECS(ish) based game objects
  • High performance physics engine
  • High performance r-tree

How to Build:

At the moment... you can't. The build process relies on the assets, which I haven't included.