Skip to content

Add export plugin#578

Closed
Zehir wants to merge 2 commits intogaea-godot:2.0from
Zehir:export_plugin
Closed

Add export plugin#578
Zehir wants to merge 2 commits intogaea-godot:2.0from
Zehir:export_plugin

Conversation

@Zehir
Copy link
Collaborator

@Zehir Zehir commented Feb 10, 2026

This PR is the last step for #573.

The idea here is to exclude editor-only resources and scripts from exports.

The main script is ignored (GaeaEditorPlugin, a.k.a. gaea.gd). This script holds many references to editor-only scripts and has no purpose in the game logic.

The following directories are ignored:

  • res://addons/gaea/editor/
  • res://addons/gaea/graph/components/
  • res://addons/gaea/assets/

The following classes, child classes, or scenes whose root node has a matching script are also ignored:

  • GaeaGraphNode
  • GaeaGraphFrame
  • GaeaGraphNodeArgumentEditor

Now, every file that gets shipped with the game should be able to run at runtime and exported game. As a result, no references to editor scripts are allowed.

@Zehir Zehir requested review from BenjaTK and cullumi February 10, 2026 22:03
@Zehir Zehir added 🐞 bug Something isn't working ✨ enhancement New feature or request optimization labels Feb 10, 2026
@BenjaTK
Copy link
Collaborator

BenjaTK commented Feb 15, 2026

This can be made more cleanly with #521

@Zehir
Copy link
Collaborator Author

Zehir commented Feb 15, 2026

This can be made more cleanly with #521

Yes I think about that too but there is too many open PR to move that many files, we will get too many conflicts. I could handle it in a cleaner split if we merge the other PRs

@BenjaTK
Copy link
Collaborator

BenjaTK commented Feb 15, 2026

I can work on it after we merge the other PRs, will get to reviewing today

@BenjaTK BenjaTK closed this Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working ✨ enhancement New feature or request optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants