How overlordsock/commander works
Commander is a Godot 4 game. The tree suggests a player-driven combat loop involving a world, enemies, weapons, and a HUD, with a commander subsystem tracking combat and applying mutations. The README confirms the game identity but documents no runtime flow or feature details. Source excerpts were unavailable, so the components below are identified from filenames and no call, data-flow, or scene-wiring relationships are asserted.
Components 19
Gameplay
- Player
scripts/player.gd - World
scripts/world.gd - Enemy
scripts/enemy.gd - Enemy Stats
scripts/enemy_stats.gd
Commander System
- Commander
scripts/commander_modules/commander.gd - Combat Tracker
scripts/commander_modules/combatTracker.gd - Combat Event
scripts/commander_modules/combatEvent.gd - Performance Report
scripts/commander_modules/performanceReport.gd - Mutation Base
scripts/commander_modules/mutations/mutation.gd - Mutation Bundle
scripts/commander_modules/mutations/mutationBundle.gd - Defensive Mutations
scripts/commander_modules/mutations/defensive - Offensive Mutations
scripts/commander_modules/mutations/offensive - Tactical Mutations
scripts/commander_modules/mutations/tactical
Game Interface
- Menu UI
scripts/menu_ui.gd - Health Bar
scripts/healthbar.gd
Combat Effects
- Sparks
scripts/sparks.gd