Day 10 - Skill / Tech Upgrade Tree
I knew this was going to be a tougher one, but the idea got lodged in my brain to write a skill / tech tree and wouldn't come out. Had a lot of fun with it, even though it took about 6 hours (maybe a little under half that on the art, even using some assets).
It exposed a bit of a weakness with my current setup, which is the authoring and specification of arbitrary data. While my ECS happily contains all the info needed for this, I haven't written generic persistence logic for it yet. I ended up hacking a solution that printed out code to the console that I copied back into my source.
On the data authoring side, while I do already have dear imgui integrated, I don't have anything pre-built that would give me high leverage in a situation like this. There are probably a few widgets and auto-generated forms based on common needs that could probably help me out.
credits: started with some
vector art for the root system, used some nice
icons for the upgrade options, and the lovely
cybergum6 palette.
(made some small edits the next day to improve coloring / highlighting behavior, image updated)