Catch and avoid (Minigame)

Drag the component from the minigames 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.

How to set up the Catch and Avoid 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 setup options: Puzzle and Advanced.
Puzzle
Here you can define:
Good and bad elements → Upload your own images and divide the good elements and the bad ones.
Container → You can choose between three different containers for the player to use at the bottom of the screen.
The game always starts with 3 lives. Each time the player catches a bad item, one life is lost. When all lives are lost, the game ends automatically.
Advanced
In the Advanced settings you can:
Mute the game.
Change the minigame volume.
Set the wait time (in seconds) before the win/lose actions are executed.
Allow the player to restart the game.
Show a summary at the end of the game.
Player interaction
Players can only move the container horizontally at the bottom of the screen. The goal is to catch the good elements and avoid the bad ones as they fall from the top.
As the game progresses, objects will fall faster and appear more frequently, making it increasingly challenging.
How to set up the actions
There are different actions you can configure for this game.
When the player finishes the game
You can set up one or more of the following actions:
Go to another scene in the game
Add X points
Subtract X points
Visit an external URL
When the player collects a good item
You can also set up actions for each correct item collected, for example:
Add X points
Subtract X points
Visit an external URL
Go to another scene in the game
When the player collects a bad item
You can set up actions for each incorrect item collected, for example:
Add X points
Subtract X points
Visit an external URL
Go to another scene in the game
Last updated