Devlog 6/15 - Hives and Bees
Drawing Tiles and Fog of War
Fairly self-explanatory. The player will be able to toggle between "path" and "wall" tiles by clicking, and they can expand their area of influence by purchasing the tiles behind the "fog of war" (black), so long as those tiles are connected to the areas they have expanded.
Bee Pathing
In order for bees to generate resources, they need to have a path to the outside in order to pick up pollen. This pathfinding uses a BFS (or BeeFS) in order to find the shortest path outside, and I added a cute little debug view to draw the path to the exit, so long as one is possible. This gif shows the path immediately updating whenever a tile touching or on it is updated.
Resource Generation
And finally -- when bees have access to the outside, they produce honey! Or as the debug view calls it, Element 0.
Get Bug Bank
Bug Bank
Explore deep, colorful caverns and carve out a home for bugs to breed!
Status | Released |
Author | Nitro-Carwash |
Genre | Simulation |
More posts
- Devlog 6/16 - Slugs and BeetlesJun 17, 2023
- Welcome to the Bug Bank!Jun 16, 2023
Leave a comment
Log in with itch.io to leave a comment.