Your first step into the visual world — importing Kenney sprites into Unity
Before you drag anything into Unity, set up a clean folder structure. This keeps your project organised and makes finding files easy later on.
| File | Location | Purpose |
|---|---|---|
| bg.png | Base pack/ | Sky background for your level |
With bg.png selected, check these settings in the Inspector panel on the right:
Pick one character to be your player. You can always change later, but start with one.
| File | Location | Character |
|---|---|---|
| p1_front.png | Base pack/Player/ | Pink/beige character |
| p2_front.png | Base pack/Player/ | Girl with pink hair |
| p3_front.png | Base pack/Player/ | Boy with green hat |
| File | Location | Purpose |
|---|---|---|
| grassMid.png | Base pack/Tiles/ | Flat grass surface |
| grassLeft.png | Base pack/Tiles/ | Left edge of platform |
| grassRight.png | Base pack/Tiles/ | Right edge of platform |
| dirtCenter.png | Base pack/Tiles/ | Underground fill |
| File | Location | Purpose |
|---|---|---|
| cloud1.png, cloud2.png, cloud3.png | Base pack/Items/ | Sky clouds |
| bush.png | Base pack/Items/ | Ground decoration |
| plant.png, plantPurple.png | Base pack/Items/ | Ground decoration |
| rock.png | Base pack/Items/ | Ground decoration |
| cactus.png | Base pack/Items/ | Ground decoration |
In 2D games, Sorting Layers control what draws in front of what. Think of it like layers of a cake — the bottom layer is the furthest back, and the top layer is closest to the camera.
Go to Edit → Project Settings → Tags and Layers, expand Sorting Layers, and create these layers in this exact order:
| Order | Layer Name | What Goes Here |
|---|---|---|
| 1 (furthest back) | Background | bg.png, clouds |
| 2 | Midground | Ground tiles, bushes, plants, rocks |
| 3 | Foreground | Items that appear in front of the player |
| 4 (closest to camera) | Player | Your character sprite |
Finished early? Import these extra assets to make your scene even more detailed.
| File | Location | Purpose |
|---|---|---|
| hill_small.png, hill_large.png | Base pack/Tiles/ | Background hills |
| sign.png, signLeft.png, signRight.png | Base pack/Tiles/ | Direction signs |
| fence.png, fenceBroken.png | Base pack/Tiles/ | Decorative fences |
| coinGold.png | Base pack/Items/ | Preview of collectibles |