Skip to content

GameEditorMainView ​

Inherits: PanelContainer

Main container for the unified game editor system

Variables ​

BuildSizeEditorbuild_size_editor
SkeletonsEditorskeleton_database_editor
InteractableScenesEditorinteractable_scenes_editor
ResourceManager # For ResourceManager-based editorsresource_manager
EditorPluginplugin
DockStatedock_stateDockState.DOCKED
Windowfloating_window
ViewModecurrent_view_modeViewMode.WORLD
Stringcurrent_view"maps"
Arrayentity_stats_panels[]
Arraytags_panels[]
Arrayitems_panels[]
Arrayequipment_definitions_panels[]
Arrayentities_panels[]
Arraybehaviors_panels[]
Arrayabilities_effects_panels[]
Arrayevents_quests_panels[]
Arrayworld_panels[]
Arrayentity_assets_panels[]
Arrayassets_panels[]
Arrayaudio_panels[]
Arraygame_settings_panels[]

Methods ​

boolopen_resource( resource: Resource )
voidmake_floating()
voiddock_to_editor()
boolis_floating()
voidcleanup_floating_window()
voidsetup_plugin_reference( p_plugin: EditorPlugin )
Controlget_current_editor()
voidapply_theme()

Signals ​

dock_state_changed( is_floating: bool ) ​

Enumerations ​

enum DockState ​

  • DOCKED = 0
  • FLOATING = 1

enum ViewMode ​

  • WORLD = 0
  • EVENTS_QUESTS = 1
  • ENTITIES = 2
  • ABILITIES_EFFECTS = 3
  • BEHAVIORS = 4
  • ENTITY_STATS = 5
  • TAGS = 6
  • ITEMS = 7
  • EQUIPMENT_DEFINITIONS = 8
  • ENTITY_ASSETS = 9
  • ASSETS = 10
  • AUDIO = 11
  • GAME_SETTINGS = 12

Variable descriptions ​

BuildSizeEditor build_size_editor ​

The Build Size tab (made in code: it has no scene).

SkeletonsEditor skeleton_database_editor ​

Entity Assets > Skeletons and Interactable Scenes (2026-11-14: Model Scenes split in two; made here)

InteractableScenesEditor interactable_scenes_editor ​

No description yet.

ResourceManager # For ResourceManager-based editors resource_manager ​

No description yet.

EditorPlugin plugin ​

No description yet.

DockState dock_state = DockState.DOCKED ​

No description yet.

Window floating_window ​

No description yet.

ViewMode current_view_mode = ViewMode.WORLD ​

No description yet.

String current_view = "maps" ​

No description yet.

Array entity_stats_panels = [] ​

No description yet.

Array tags_panels = [] ​

No description yet.

Array items_panels = [] ​

No description yet.

Array equipment_definitions_panels = [] ​

No description yet.

Array entities_panels = [] ​

No description yet.

Array behaviors_panels = [] ​

No description yet.

Array abilities_effects_panels = [] ​

No description yet.

Array events_quests_panels = [] ​

No description yet.

Array world_panels = [] ​

No description yet.

Array entity_assets_panels = [] ​

No description yet.

Array assets_panels = [] ​

No description yet.

Array audio_panels = [] ​

No description yet.

Array game_settings_panels = [] ​

No description yet.

Method descriptions ​

bool open_resource( resource: Resource ) ​

Opens a definition in its own editor of the Database: the category and the tab are chosen and the definition is loaded there. False when this kind of definition has no editor to go to.

void make_floating() ​

No description yet.

void dock_to_editor() ​

No description yet.

bool is_floating() ​

No description yet.

void cleanup_floating_window() ​

No description yet.

void setup_plugin_reference( p_plugin: EditorPlugin ) ​

No description yet.

Control get_current_editor() ​

No description yet.

void apply_theme() ​

No description yet.