> For the complete documentation index, see [llms.txt](https://docs.candy-smith.com/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.candy-smith.com/main/sweet-candy-sugar-match-3/setup-background.md).

# Setup background

Backgrounds are selected from the `Pictures` array in 20-level groups:

| Element | Levels | Current sprite  |
| ------- | ------ | --------------- |
| 0       | 1–20   | `background_01` |
| 1       | 21–40  | `background_02` |
| 2       | 41–60  | `background_03` |
| 3       | 61–80  | `background_04` |
| 4       | 81–100 | `background_05` |

Files are stored in `Assets/SweetSugar/Textures_png/Backgrounds`. Use 2048 × 1536 PNGs (4:3).

### Add or reorder backgrounds

1. Import the PNG into the backgrounds folder with the settings above.
2. Open `Assets/SweetSugar/Scenes/game.unity`, select `Background`, and update **Background > Pictures**.

<figure><img src="/files/0xCGP8qVLe23yPLBKhEA" alt=""><figcaption></figcaption></figure>

If you want to use static map Open `Assets/SweetSugar/Scenes/gameStatic.unity` and copy the same sprite order to:

* the gameplay `Background` component;
* `SafeArea/Background` > **Backgrounds For Static Map**.

Save both scenes. To support another 20 levels, increase **Size** in every list and assign the new last element. Element 5 covers levels 101–120.

###
