# Level Editor

## # Level Editor Interface

* Go to Sweet Sugar menu → Game editor and settings<br>

  <figure><img src="https://content.gitbook.com/content/TAtaJoxpORkxXbaFi9tt/blobs/uQKiKFpOpapwwCLw0Web/image.png" alt=""><figcaption></figcaption></figure>

  * Open EDITOR
  * How to create new levels, check [Video Tutorial](https://www.youtube.com/watch?v=IkcNo5m5RSg)<br>

    <figure><img src="https://content.gitbook.com/content/TAtaJoxpORkxXbaFi9tt/blobs/Zu3uhFifbffO1HD6JsYp/image.png" alt=""><figcaption></figcaption></figure>

## **# General Settings**

1. **Test Level:** Use this button to test your level. The level is automatically saved when using this button.
2. **Test level** button: To test your level. The level is automatically saved when using this button.\
   **Save:** Use this button to save your level and keep changes without testing.
3. **Level:** Choose a level and use the + or - buttons to create or delete levels.
4. **Sub Levels:** Create additional playing fields for the current level.
5. **Limit:** Set the number of moves or time.
6. **Color Limit:** Set the number of available colors.
7. **Stars:** Set the number of points required for 1, 2, or 3 stars.
8. **Don’t Regen:** Use this to disable the regeneration of items if no matches are detected.
9. **Target:** Choose a game target.
10. **Columns and Rows:** Adjust the size of the playing field.
11. **Level Settings**
12. **Tools:** Set up the current game field.
13. **Game Field**

## # Time Bomb Items

1. Place a Time Bomb item from the Items section onto the game field.&#x20;
2. Set the number of moves before the bomb will be activated.
3. Set the required amount.\ <br>

   <figure><img src="https://content.gitbook.com/content/TAtaJoxpORkxXbaFi9tt/blobs/3LNtypA1rgqaRqPB0kst/image.png" alt=""><figcaption></figcaption></figure>

<mark style="color:orange;">This parameter doesn't matter if you haven't placed a Time Bomb on the game field. In that case, you can skip it.</mark>

## # Blocks section

Use this section to set up the game field for the level.

<figure><img src="https://content.gitbook.com/content/TAtaJoxpORkxXbaFi9tt/blobs/89InYQuauzuM5nvoWZBh/image.png" alt=""><figcaption></figcaption></figure>

1. **Clear:** Resest all changes.&#x20;
2. **Empty** Cells&#x20;
3. **Blocks:** Place them on the playing field for interesting level design. To learn more about these blocks, read SPECIFICATION.
4. **X:** Delete a cell.&#x20;
5. **Fill** + - Select any block and use FILL+ to fill empty cells.

## # Items section

Place any game item in any available cell of the gamefield. Use this section to place the game items on a gamefield for interesting level design.<br>

<figure><img src="https://content.gitbook.com/content/TAtaJoxpORkxXbaFi9tt/blobs/89tksuHF4FnhwefgUhhD/image.png" alt=""><figcaption></figcaption></figure>

## # Directions section

You can setup direction of movement of game items on the gamefield. \
Check [Video Tutorial](https://www.youtube.com/watch?v=ATJPR7Ad_pA)

<figure><img src="https://content.gitbook.com/content/TAtaJoxpORkxXbaFi9tt/blobs/1jzyQsq2v2C5azOWKJzN/image.png" alt=""><figcaption></figcaption></figure>

* Enable/disable the enter points
* Rotate one cell
* Rotate all cells
* Reset to default

## # Teleports section

* Go to teleport section
* Click once to place the teleport input
* Click second time to place the teleport output

  \
  Check this [VIDEO TUTORIAL](https://www.youtube.com/watch?v=jF-UOSxo2Lk)<br>

  <figure><img src="https://content.gitbook.com/content/TAtaJoxpORkxXbaFi9tt/blobs/jjMjkx2OrXfT5u4sKtPe/image.png" alt=""><figcaption></figcaption></figure>

1. Teleport **input**
2. Teleport **output**
