Technical requirements
To examine the source from this chapter, you can download it from https://github.com/PacktPublishing/Building-Games-with-Flutter/tree/main/chapter10.
The following steps will add a library to the pubspec
file to assist with pathfinding, along with some new and updated assets:
- In this chapter, we will use updated versions of the tile map files, so please download these updated tile map files and place them in the
assets/tiles
folder, overriding the existing files:
- Open the
pubspec.yaml
file and add the following dependency:a_star_algorithm: ^0.3.0
- In this chapter, we will use a modified version of the sprite sheet for our character George, so let's update that.
Download the george.png
image from the following...