Blocky Farm - Update #16 - Pathfinding, medicines production, camera focus & first animation!

Hello there everyone. We have some interesting features for you today. Before you start, remember that we are still using placeholders :D

Pathfinding



Our pets now are able to find paths among building, decorations and other obstacles. We’ve implemented this feature basing on the A* algorithm. Everytime the player builds something, graph with all possible paths is recalculated and saved in the memory. Thanks to that, our pets can find a shortest possible way to the toy or something like that.

Generated graph with all possible paths

How it works?



Pathfinding during play with ball



Medicines production



As you probably know, animals sometimes become ill in Blocky Farm. To heal them, player needs medicines. So we’ve added a Herbalist where some healthy syrups can be produced. The important aspect of this feature is that we’ve created a special area on the map where some buildings stand - useful but not directly related to the farm. (More info in the next devlog)

Camera focus



Camera focus was fixed. Just that ;)

First animation

Our animals will be as much interactive as possible. To achieve that, we will need many animations. Just look on the first one. How do you like it?

Bigger resolution

That is all for today. We would be thankful for any feedback. See you next week! :)

Links

Twitter | Facebook