-
Notifications
You must be signed in to change notification settings - Fork 0
Progress Reports
Towers now have recursive turrets. For now placement is directly copied from Zivbot's code.
Inspired by Zivbot's Grand Castle Generator, I'm trying to replicate his approach. So far I've copied his tower designs. Also implemented animation.
After detecting a mountain top, I put towers around it and connect them with walls.
After some adjustment, mountains are detected with separate parts "top", "slope" and "perimeter". The tops of mountains are limited by height difference from average, this helps to separate distinct levels of height within a large mountain range.
Heightmaps produced by the nifty "Radar" item. Need to improve the detection algorithm so that it captures more of the mountain, and doesn't think that flat land is a mountain.
It's not necessary to constrain the volume of the room after you've cleared the space. This way I can have the foundation stretch all the way down until it reaches the ground. Also writing code in the beautiful Kotlin now!
Testing random corridors connecting to each other. Branch corridors are added with some probability, and often cascade into infinity.
Initial tests to see if a grid of random-sized boxes would connect correctly, revealed issues with misalignment of walls and "empty air" (the blocks that are excavated prior to building a room) between them.
