# Level Editor

{% hint style="info" %}
**Hotkeys for testings**: \ <mark style="color:green;">**W**</mark> - Win\ <mark style="color:green;">**L**</mark> - Lose\ <mark style="color:green;">**D**</mark> - update the deck

Hotkeys can be changed in the debug settings
{% endhint %}

Go to <mark style="color:green;">**Tools**</mark> -> <mark style="color:green;">**BlockPuzzleGameToolkit**</mark> -> <mark style="color:green;">**Editor**</mark> -> <mark style="color:green;">**Level Editor**</mark> (or use hotkey <mark style="color:blue;">**C**</mark>)

<figure><img src="https://2636043456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylsttW53swa3nBL2KBDZ%2Fuploads%2FJaAwnt3UWJMvaPILf4F2%2Fimage.png?alt=media&#x26;token=c221a2e7-0e49-4de5-8bdc-b99d34820d00" alt=""><figcaption></figcaption></figure>

### General Settings for Both Modes

<mark style="color:red;">**\*Saving is done automatically**</mark>

<figure><img src="https://2636043456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylsttW53swa3nBL2KBDZ%2Fuploads%2FY81d0kdfbsCJV87Z2nV3%2Fimage.png?alt=media&#x26;token=f6205294-717b-4a70-8417-da7460e2aeeb" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="81"></th><th></th></tr></thead><tbody><tr><td>1</td><td>Button for testing the level</td></tr><tr><td>2</td><td>Level number</td></tr><tr><td>3</td><td>Previous/Next level</td></tr><tr><td>4</td><td>Save button</td></tr><tr><td>5</td><td>Add (+)/Remove (-) level</td></tr><tr><td>6</td><td>Number of rows and columns for the current level. You can adjust the values and click the RESIZE button.</td></tr><tr><td>7</td><td>Enabling timed levels and setting the seconds.</td></tr><tr><td>8</td><td>Level type: collect items, achieve the required score</td></tr><tr><td>9</td><td>Set the required Gems / Score and their quantity (<em>Gems / Score are set automatically in random generation but can be edited manually.</em>)</td></tr><tr><td>10</td><td>Add block</td></tr><tr><td>11</td><td>Clear Gamefield</td></tr><tr><td>12</td><td>Add block with Gem</td></tr><tr><td>13</td><td>Clear</td></tr><tr><td>14</td><td>Sets the percentage of empty cells for random generation.</td></tr><tr><td>15</td><td>Randomize button creates a random level. Remember to select the level type beforehand; otherwise, it will use the type from the previous level. The number of collectible game objects/points is set automatically, but you can adjust it manually if desired.</td></tr><tr><td>16</td><td>Uncheck to disable symmetrical level generation</td></tr></tbody></table>

### Level Type: BonusItem

<figure><img src="https://2636043456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylsttW53swa3nBL2KBDZ%2Fuploads%2F2wpm9ASAkWRikYoLvzjA%2Fimage.png?alt=media&#x26;token=f9aa0f50-e161-42f4-9fe6-2cb264cff0ed" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="50"></th><th></th></tr></thead><tbody><tr><td>1</td><td>Place a bonus object on the game field</td></tr><tr><td>2</td><td>Place a block</td></tr><tr><td>3</td><td>Remove a block</td></tr><tr><td>4</td><td>Clear field</td></tr></tbody></table>

### Level Type: Score

<figure><img src="https://2636043456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylsttW53swa3nBL2KBDZ%2Fuploads%2FCM8qyuhwO4WspM4qZKN6%2Fimage.png?alt=media&#x26;token=a1f597c5-c0dd-41d2-bb53-8d5c818e02aa" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="51"></th><th></th></tr></thead><tbody><tr><td>1</td><td>Set the required score for victory</td></tr><tr><td>2</td><td>Place a block</td></tr><tr><td>3</td><td>Clear field</td></tr><tr><td>4</td><td>Remove a block</td></tr></tbody></table>
