Skip to content

Remove main.gd duplicates#338

Merged
grandeisa merged 91 commits intomoraguma:masterfrom
GamuxUnicamp:feat/remove-main-duplicates
Apr 18, 2026
Merged

Remove main.gd duplicates#338
grandeisa merged 91 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
Comment thread microjogos/2024S1/gamufit/cenas/scripts/main.gd
Comment thread microjogos/2024S1/projeto-guilherme/cenas/main.tscn
Comment thread microjogos/2024S1/projeto-felipe-silva/microgame.tres
@grandeisa grandeisa requested a review from ayudaV March 21, 2026 19:36
@grandeisa grandeisa merged commit 8a7da77 into moraguma:master Apr 18, 2026
@grandeisa grandeisa deleted the feat/remove-main-duplicates branch April 18, 2026 03:58
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

3 participants