# Quizz Run (Advanced Minigame)

<figure><img src="https://1618304434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTBDwg85v5p9Ru3nmGF1a%2Fuploads%2F27nj9uHkKbFJNHLsES1S%2Farcade%20thumbnail.png?alt=media&#x26;token=676a7c03-cb21-49f1-bc41-d7464614fb75" alt="" width="188"><figcaption></figcaption></figure>

Drag the component from the minigame tab to the scene you're working on.

## How to change the component style

To resize it, use the arrow icon in the top menu.

<figure><img src="https://1618304434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTBDwg85v5p9Ru3nmGF1a%2Fuploads%2FerQVlZQHds30HxfDlZ3g%2FQuizzRun_video_1.gif?alt=media&#x26;token=760fb963-e101-4071-8300-ac4662b864d8" alt=""><figcaption></figcaption></figure>

## How to set up the Quizz Run minigame

Click on the minigame and then on the settings gear icon that will appear in the top menu or double click on the minigame.

You will see a menu with two set up options: Configuration and Advanced.

### Configuration

By clicking here you can set up as many levels as you want, in each level you can write a question and 3 short answers. Use the dropwdown menu to select which one is the right answer.

{% hint style="info" %}
The maximum lenght of the answers is 4 letters or numbers
{% endhint %}

In this menu, you can also turn on  the arcade mode. In this mode, instead of answering questions, the objective is to pick up all the pills to advance to the next level.

You can also select if you want to use a custom character for the game or if you want to use the ones taht are included in the minigame.

Additionally, you can choose the color of the walls, adjust the difficultty and set if you want the player to get a minimum score in order to win the game.

{% hint style="info" %}
for the custom character you can use .jpg or .png files
{% endhint %}

<figure><img src="https://1618304434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTBDwg85v5p9Ru3nmGF1a%2Fuploads%2FbmKH5HeD3NbEI4C4ncB4%2FQuizzRun_video_2.gif?alt=media&#x26;token=2d7d46b7-d71a-4a4e-91a9-eb76db664b57" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To remove a level click on the trash icon and it will dissapear.
{% endhint %}

### Advanced

In the Advanced setting you can:

* Mute the game.
* Change the volume.
* Allow the player to restart the game once it´s completed.
* Set the wait time between when the player finishes all the levels  and when the win or lose actions are executed.
* Show a the summary of all the questions with all the correct answers.
* Show an in-game progress.
* Randomize the order in which the questions show up.

<figure><img src="https://1618304434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTBDwg85v5p9Ru3nmGF1a%2Fuploads%2FwXIRMoHF4XtIt0DPH2QC%2FQuizzRun_video_3.gif?alt=media&#x26;token=f3cae045-af6e-4e5e-9dfd-63735f2e152f" alt=""><figcaption></figcaption></figure>

## Player interaction

Players can move the character towards the right answer (or just the pills in arcade mode) while they try to avoid the enemies moving around the labyrynth.

<figure><img src="https://1618304434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTBDwg85v5p9Ru3nmGF1a%2Fuploads%2FolB4buGG2fQQP5wzzAlm%2FQuizzRun_video_4.gif?alt=media&#x26;token=493029de-fb78-42a5-9e41-3ae0f143790b" alt=""><figcaption></figcaption></figure>

## How to set up the actions during the game and after the player finishes all the levels.

There are different actions that you can set up for this game.

<figure><img src="https://1618304434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTBDwg85v5p9Ru3nmGF1a%2Fuploads%2FNeilcQDhxmV8IKZ3VGsg%2FQuizzRun_video_5.gif?alt=media&#x26;token=b88b7224-64d8-4791-8e75-4212483ee007" alt=""><figcaption></figcaption></figure>

### When the player answer a question correctly.

You can set up actions for every right answer the player gets:

* **Go to another scene in the game**
* **Add X points**
* **Subtract X points**
* **Visit an external URL**

### When the player fails a question.

You can set up actions for every answer the player fails:

* **Visit an external URL**
* **Subtract X points**
* **Add X points**
* **Go to another scene in the game**

### When the player dies.

You can set up actions for every time the player dies:

* **Visit an external URL**
* **Subtract X points**
* **Add X points**
* **Go to another scene in the game**

### When the player completes a level.

You can set up actions for every time the player completes a level:

* **Visit an external URL**
* **Subtract X points**
* **Add X points**
* **Go to another scene in the game**

### When the player picks up a pill.

You can set up actions for every pill the player picks up:

* **Visit an external URL**
* **Subtract X points**
* **Add X points**
* **Go to another scene in the game**

### When the player ends the game.

You can set up actions for when the player completes all the levels:

* **Visit an external URL**
* **Subtract X points**
* **Add X points**
* **Go to another scene in the game**

It's very important to specify what should happen in each case. Click on the Actions icon in the top menu and add one or more actions for both when the player gets the puzzle right or wrong.
