Saturday, November 12, 2016

Markeen - Keeping options open

I noticed that Markeen still has issues with structures colliding with each other. Therefore, I thought it would be helpful to make the tile chooser avoid creating impossibilities. So I wrote up a change to the branch where there are multiple options and knocked out choices that would increase the number of unfillable spots. Unfortunately, making this work at higher orders seems very challenging, so it currently only works at one level. And, of course, failure is sometimes unavoidable at this depth. This feature has successfully altered some choices for improved quality, but it affects way less than one percent of the tiles in each level.

I also saw that some tiles should have been manageable, but were blocked for poor reasons (like a point item being too near what could easily be a pole cap). So at the end of the last pass, I now have Markeen iterating over all the failed tiles and placing the singular one that fits one of the sides - something of a resurrection of the now removed rare structure generator.








If you look closely, you'll find some placed tiles that don't quite fit together. Those are the products of the fallback placer; they would otherwise be normal failures. These levels were generated with a target of 9 maximum failures, 3 passes, and a profile depth of 2.

No comments:

Post a Comment