Technical requirements
To examine the source from this chapter, you can download it from https://github.com/PacktPublishing/Building-Games-with-Flutter/tree/main/chapter04.
For this chapter, you will also need to download some images to use for the animation.
Also, I used the sprite sheets downloadable from the following links:
- For our player character, we will use the sprite sheet image at https://github.com/PacktPublishing/Building-Games-with-Flutter/blob/main/chapter04/assets/images/george.png.
- For the enemies, we will use the sprite sheet image at https://github.com/PacktPublishing/Building-Games-with-Flutter/blob/main/chapter04/assets/images/zombie_n_skeleton.png.
Now, we will add the images to our game with the following steps:
- Open your file manager and go to the
goldrush
folder for your project. - Create a folder called
assets
in thegoldrush
folder. - Go into the
assets
folder and create another folder calledimages
. - Move the two images...