Skip to content

Godot plugin: skeleton addon that adds an empty dock #278

Closed

Description

@TMHSDigital

Summary

Create the bare Godot editor plugin: an addon that turns on cleanly and adds an empty "Free Assets" dock. Nothing else yet. It is the base for the fetch, UI and export work.

Depends on #276 (where it lives, minimum Godot version).

Suggested approach

addons/free_game_dev_assets/
  plugin.cfg            # name, description, author, version, script
  plugin.gd             # @tool extends EditorPlugin: add_control_to_dock / remove on exit
  dock.tscn, dock.gd    # VBoxContainer with a placeholder Label
  icon.svg
  • _enter_tree adds the dock and _exit_tree removes and frees it, so turning the plugin off and on leaks nothing.
  • GDScript only: no GDExtension, no C#, so it runs on every platform the editor runs on.
  • Name everything with a fgda_ prefix or class names scoped to the addon, so they don't clash with user projects.

Acceptance criteria

  • Copying addons/free_game_dev_assets/ into a new project and turning it on under Project Settings → Plugins shows the dock
  • Turning it off removes the dock, with no errors or orphan-node warnings in the Output panel
  • Opening the project with godot --headless --editor --quit at the minimum supported version prints no script errors

Part of #116. Effort: S. audit-key: enhancement|godot-plugin|skeleton

Activity

  1. added
    good first issue
    priority: low
    feature
    godot-plugin
    on Nov 10, 2026
  2. TMHSDigital commented on Nov 10, 2026

    @TMHSDigital
    OwnerAuthor

    Done in TMHSDigital/free-game-dev-assets-godot@0e34e18.

    • The addon: addons/free_game_dev_assets/ holds plugin.cfg, plugin.gd and dock.gd. _enter_tree adds the dock; _exit_tree removes and frees it.
    • The dock is built in code rather than a .tscn, so one source loads the same across 4.x.
    • The repo root is now a dev project with the plugin turned on. project.godot is export-ignored. git archive ships only LICENSE and the addon folder.
    • Verified locally with Godot 4.7.1: godot --headless --editor --quit-after 120 --verbose --path . prints dock added, then dock removed when the addon unloads, with no script or parse errors.
    • Not verified here: loading under Godot 4.3, the minimum. No 4.3 editor is installed on this machine. Godot plugin: unit and smoke tests in CI against a fixture feed #283's CI matrix (4.3 plus latest stable) covers it. The code uses only EditorPlugin.add_control_to_dock and remove_control_from_docks and basic Controls, all available in 4.3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuregodot-plugingood first issuepriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions