I've been working on a power system for my game lately. I'm really happy with ho...

@mort@floss.social

I've been working on a power system for my game lately. I'm really happy with how it's turning out. I wanted to make it mimic real world #electronics, and I think I managed to make that happen.

Showcased here are my two first components: a coal burning generator and an incandescent light bulb. My sister helped me get through physics and the Stefan-Boltzmann law and stuff so it actually pretty much models a proper lamp; see: github.com/mortie/project-swan

#gamedev #programming #projectswan