I've been working on a power system for my game lately. I'm really happy with ho...
mort @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: https://github.com/mortie/project-swan/commit/eceeef349649f3b142de2b3b2f0e934305742e0c#diff-8c96b2a4c63ef590718427840ea13884192a37327ba154f99f7967c40bc965a0