Skip to content

Remove main.gd duplicates#338

Open
grandeisa wants to merge 84 commits intomoraguma:masterfrom
GamuxUnicamp:feat/remove-main-duplicates
Open

Remove main.gd duplicates#338
grandeisa wants to merge 84 commits intomoraguma:masterfrom
GamuxUnicamp:feat/remove-main-duplicates

Conversation

@grandeisa
Copy link
Copy Markdown
Collaborator

Changes to core:

  • Removes need for main.gd files
  • Screen dimensions variable added to microgame.tres files that replaces WIDTH and HEIGHT constants found in main.gd files
  • Removes need for register win/lose functions and respective signals by adding a function to Minigames autoload that checks if the node that called it is in the current microgame node or its descendant
  • Removes empty main.gd files

All needed changes have been retroactively made to existing active microgames.

@grandeisa grandeisa added Contribution Discusses something related to the contribution workflow of Gamutoware Core Unrelated to specific microgames. Related to the maintenability of the project labels Mar 15, 2026
@grandeisa grandeisa linked an issue Mar 15, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minigame crash now when ends (in win and lose)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minigame crash now when ends (win and lose)

@grandeisa grandeisa requested a review from ayudaV March 21, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Contribution Discusses something related to the contribution workflow of Gamutoware Core Unrelated to specific microgames. Related to the maintenability of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mass remove duplicate main.gd script

2 participants