What problem does it solve?
This Skill provides a comprehensive framework for developing Real-Time Strategy (RTS) games, addressing complex mechanics like unit selection, command systems, pathfinding, and resource management.
Core Features & Use Cases
- Unit Selection: Implements advanced selection methods including drag-box selection and shift-to-add functionality.
- Command & Pathfinding: Manages unit movement, attack commands, and utilizes Godot's NavigationAgent2D with RVO avoidance for smooth pathfinding.
- Fog of War: Includes a system for implementing a dynamic fog of war effect using SubViewport and shaders.
- Resource Economy: Outlines the core loop for resource gathering and building construction.
- Use Case: Develop a base-building RTS game where players select multiple units, issue move and attack commands, manage resources, and explore a map with a visible fog of war.
Quick Start
Use the godot-genre-rts skill to implement unit selection and pathfinding for a new RTS game.