godot-genre-rts

Implement RTS unit selection, pathfinding, fog of war, and resource economy in Godot.

488|36|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-genre-rts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: godot-genre-rts
Source: https://github.com/thedivergentai/gd-agentic-skills/tree/main/skills/godot-genre-rts
Command: npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-genre-rts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

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.

Frequently Asked Questions about godot-genre-rts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement drag-box unit selection and command systems for an RTS game in Godot?

RTS unit selection and command systems in Godot can be implemented using pre-built patterns for drag-box selection, shift-to-add functionality, and issuing movement or attack commands to multiple selected units simultaneously.

What's the best way to handle RTS pathfinding and unit collision avoidance in Godot?

RTS pathfinding in Godot utilizes NavigationAgent2D combined with RVO avoidance to manage unit movement, ensuring smooth navigation and preventing collisions when commanding large numbers of units across the map.

How does fog of war work in a Godot RTS game?

Fog of war in a Godot RTS game works by implementing a dynamic visibility effect using SubViewports and shaders, obscuring unexplored map areas and revealing terrain as player units move through the environment.

Can I build a base-building RTS with a resource economy and AI opponents using this framework?

Yes, this framework supports base-building RTS games by providing architectural guidance for resource gathering loops, building construction, and AI opponents, alongside deterministic unit control for tactical combat.

Does this RTS framework support performance optimization for large numbers of units?

Yes, the framework provides performance optimization patterns specifically designed to handle large numbers of units, ensuring efficient micromanagement automation and deterministic unit control without gameplay degradation.