How ligameacademy/godot4_turn_based_combat_system works
Project type and purpose
• This is a Godot 4 turn-based combat system teaching/demo project. It’s a single executable game framework that demonstrates how to build a modular, extensible battle system in Godot, covering character stats, skills, status effects, AI, battle flow, and UI.
File structure
• Top-level scene entry point: main.tscn + main.gd.
• scenes/: subdivided into battle, characters, and ui subfolders, each holding .tscn scenes plus drive-logic .gd scripts.
• scripts/:
• autoload/skill_system: a global singleton skill dispatcher and a set of effect processors.
• core: domain-level game logic (battle managers, AI, character components, turn order, combat rules).
• managers/audio_manager.gd: a global sound system.
• resources: data-wrapper scripts for battle/character/skill/attribute/status/skill_effect resources.
• Build/config files: project.godot, .editorconfig, .gitignore, etc.
README for additional insights
• Confirms the componentized design approach: property management, skill processing, battle flow, AI, UI decoupled via signals.
• Mentions future direction: further splitting components, event-bus decoupling, AI behavior trees.