itch.io is community of indie game creators and players

Devlogs

Devlog 6/15 - Hives and Bees

Bug Bank
A browser game made in HTML5

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

Download Bug Bank
Leave a comment