# Background

To add a new game background, you need to create the preview image with the same name as the background.

<figure><img src="https://3654138429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayI03Bo6qPcnGbK1nZ5j%2Fuploads%2FDjNMyD9TjEg1wDlCXM2h%2FCaptura%20de%20pantalla%202024-04-23%20175408.png?alt=media&#x26;token=12af148a-2611-46d2-be3c-de78e0acc2b9" alt=""><figcaption></figcaption></figure>

1. Create the background image with your favorite image editor and save it as PNG.

The Background Image must be saved in /Soliaire Touch/Resources/Sprites/Backgrounds.

2. create the preview image with your preferred image editor and save it as PNG.

The preview in /Soliaire Touch/Resources/Sprites/BackgroundsPreviews.

3. Select the first reference object to be located in the hierarchy.

<figure><img src="https://3654138429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayI03Bo6qPcnGbK1nZ5j%2Fuploads%2FvPCokQvpnnqEMU6oFZF6%2FCaptura%20de%20pantalla%202024-04-23%20180339.png?alt=media&#x26;token=41d5b920-1500-4a55-bde7-3e77f595f2e1" alt=""><figcaption></figcaption></figure>

4. To add a new background: duplicate the object and edit its png image with the preview image.

<figure><img src="https://3654138429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayI03Bo6qPcnGbK1nZ5j%2Fuploads%2Fg1jTBRGKwrxKdZg0xzzG%2FCaptura%20de%20pantalla%202024-04-23%20180558.png?alt=media&#x26;token=2a60c4e4-8312-4828-853f-c73be3559332" alt=""><figcaption></figcaption></figure>

5. Add The reference it with the object that selects the background. you need to add the preview image and the duplicate object.

<figure><img src="https://3654138429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FayI03Bo6qPcnGbK1nZ5j%2Fuploads%2FdO9HvyG9D6oYMTE6xY85%2FCaptura%20de%20pantalla%202024-04-23%20180826.png?alt=media&#x26;token=4bb4644d-4141-4fec-a725-3f79c8992f58" alt=""><figcaption></figcaption></figure>
