We'll continue working in the scene created in the Chapter 2, Canvases, Panels, and Basic Layouts, examples and will use the art assets imported for them. 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 when 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've used the program Texture Packer, which can be found at https://www.codeandweb.com/texturepacker.
Before you begin with the following examples, complete the following steps:
- Import the foodSpriteSheet.png sprite sheet...