Skip to content

Minigame Data

André Yuhji Terada edited this page May 9, 2026 · 3 revisions

Minigames in Gamutoware must include specific signals and variables to interact correctly with the minigame loader. This page explains the basics of minigame implementation.

MicrogameAsset

MicrogameAsset Inspector

Cover

Link a 450 x 450 px PNG image to serve as the game cover.

Title

Define the title of the game in both Portuguese and English.

Credits

Set the creator's name and provide links to any third-party assets used.

image

Start Message

Define the message that appears when the game starts. The minigame calls the NotificationCenter to display this explanation text. It is highly recommended that minigames use this text to provide a clear clue about what the player should do.

image

Main Scene

Link the .tscn file of the minigame's primary scene.

Screen Dimensions

Minigames are loaded using the resolution defined by the WIDTH and HEIGHT constants and are then scaled up to fit the screen. You can change these values, but they must maintain a 16:9 aspect ratio.


Victory Conditions

Victory Conditions Code

The minigame loader constantly listens for win and lose signals within the minigame’s script to determine the outcome.

  • Default State: By default, the minigame state is set to lost.
  • Updating State: The functions register_win() and register_lose() can be called to change the current state of the minigame.
  • Final Result: When the minigame timer ends, the outcome is determined by the last function called. If neither function was ever called, the minigame will result in a loss.

Clone this wiki locally