Examples
We’ll continue working on the scene created in Chapter 6 and use the art assets imported for them.
Note
If you did not follow along with the examples in Chapter 6 but would like to follow along with these, you can download the unity package named Chapter 07
- Examples – Start.unitypackage
from the code bundle.
In addition to the art already added to our project, we’ll be using art assets that I’ve modified from free art assets found at https://opengameart.org/content/platformer-pickups-pack.
The download from the previous link provides many individual images. I could have used those, but for performance reasons, it is best to use sprite sheets whenever possible. So, you can find the sprite sheet labeled foodSpriteSheet.png
in the code bundle. To combine all the images into a sprite sheet, I used the program Texture Packer, which can be found at https://www.codeandweb.com/texturepacker.
Before you begin with the following examples...