Part 2 of week 6 assignment - We used BFS algorithm to place the player in a correct place that he will be able to reach 100 tiles from his location.
This also makes sure that the player will not be placed on a mountain

Source code - HolyTrie/TileMaps: Part of week 6 assignment (github.com)

Leave a comment

Log in with itch.io to leave a comment.