by jesse__ · 1y ago · 0 comments
I also wrote a metaprogramming language which generates a lot of the editor UI for the engine. It's a bespoke C parser that supports a small subset of C++, which is exposed to the user through a 'scripting-like' language you embed directly in your source files. I wrote it as a replacement for C++ templates and in my completely unbiased opinion it is WAY better.
In all seriousness, I think I have the same propensity to have a hundred unfinished projects and have a hard time finding motivation to complete them. The difference might be that I have this 'big' project called a 'game engine' that wraps them all up into some semblance of a cohesive whole. For example, projects that are incomplete, but mostly just good enough to be serviceable (sometimes barely):
1. Font rasterizer 2. Programming language 3. Imgui & layout engine 4. 3D renderer 5. Voxel editor
.. etc
Now, every one of those on their own is pretty boring and borderline useless .. there are (mostly) much better options out there for each in their specific domain. But, squash them all together and it's starting to become a useful thing.
It just happened that I enjoy working on engine tech and I picked a huge project I have no hope of ever finishing. Take from that what you will
"I hate to advocate drugs, alcohol, violence or insanity to anyone, but they've always worked for me. --Hunter S. Thompson
Toooootalllly. This project started out for me as a learning exercise, and for a long time an explicit non-goal of the project was to ship a game. It's just my own little land that I know every nook and cranny of for experimenting and, sharpening my tools, as it were. It's also the best way I've ever found.
Username checks out
I've always also had a side project or two in this domain but I've never managed to stick with one for more than 3-5 years.
Do you have any recommendation on voxel engine learning materials (e.g. books, courses, etc)
I'd recommend Handmade Hero for a more traditional resource on how to build a game engine. That's how I learned to program for real, and it worked great for me.
Additionally, the bottleneck for me is typically writing graphics code, and LLMs are hilariously bad at that.