One of the things I really wanted was easily tweakable buildings on which you build your towers. Being able to easily change the layout for gameplay, as well as get decent visuals and variation has been good. Here’s some examples of some mesh generation features that turned out nice.
This is the layout system for the tops of buildings. These layouts are pretty critical to what you can use the buildings for, as the types of turrets have specific layouts, and being able to customize what elements you fit into these buildings is one of the interesting elements of this Tower Defense game. This layout editor allows you to quickly toggle the elements on the building, and the floors and geometry will be dynamically built to represent these changes.
This is another super valuable tool, basically allowing the curve points for a path to be adjusted, and snapped on elements like road borders and road support columns to be moved around and will automatically snap to the correct place on the curve/road. In this case, I integrated a 3rd party tool named Curvy wich is handling the curve generation/editing. The mesh generation, however, I wrote, mostly because Curvy had some similar tools but had a few shortcomings at the time that made it useful for me to spin up my own mesh generation.