Mining Pathfinding sucks


I’ve been working on this project since Godot4.0 beta was released, and I’m very happy seeing where it is now.

I of course have much bigger ideas for where this can go, I have a mind map that represents how far I’ve imagined complexity https://www.tldraw.com/v/Vsy_c_7v-x0sa5u5v0JfVcTi9Q?page=page%3AQk3-89VyWUjdoYIF7zV-m&viewport=-2534%2C-2409%2C8007%2C3866

Love that tldraw app

I am disappointed with how much lag happens when a few dwarves mine out rocks that have traversable tiles on all sides. The fewer open sides of the rock the better. I just need to come up with a more efficient algorithm to get to the mining stuff. I think if the dwarf would chomp out a section, moving a tile at a time, it would be more efficient than looping through all the tiles. I need to set up range limits with how far a dwarf will look to find a place to mine. That’s what took up most of my day, yurp. Totally worth it. Even though it’s 1:11 now.

I hope I get enough sleep to see my fiance tomorrow ♥

Files

1000Dwarves.zip 6 MB
Apr 08, 2023
stableBuggyMining.zip 6 MB
Apr 15, 2023

Get DFclone

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

Figuring out basic problems and optimizing them sounds like fun!