horde-wave-logic

Manage enemy wave spawning with ScriptableObjects and Coroutines.

71|11|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/nlelouche/Unity-SkillForge --skill horde-wave-logic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: horde-wave-logic
Source: https://github.com/nlelouche/Unity-SkillForge/tree/main/.agent/skills/03-simulation-strategy/horde-wave-logic
Command: npx skills add https://github.com/nlelouche/Unity-SkillForge --skill horde-wave-logic

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the complex task of spawning waves of enemies in games, managing their pacing, types, and difficulty scaling to create engaging combat scenarios.

Core Features & Use Cases

  • Wave Configuration: Define custom waves using ScriptableObjects for easy designer tweaking.
  • Enemy Spawning: Manages the instantiation of enemies with configurable rates and spawn points.
  • Difficulty Scaling: Supports gradual increases in enemy numbers and types across waves.
  • Use Case: In a Tower Defense game, use this Skill to set up 10 distinct waves, each with increasing numbers of faster or tougher enemies, ensuring a challenging experience for the player.

Quick Start

Use the horde-wave-logic skill to start spawning waves using the default configuration.

Frequently Asked Questions about horde-wave-logic

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

FAQPage Schema
How do I spawn waves of enemies in Unity for a tower defense game?

Enemy wave spawning in Unity requires managing instantiation, spawn intervals, and difficulty scaling. This Skill uses ScriptableObjects for wave definitions and Coroutines for timed spawning to automate combat pacing for tower defense games.

What is the best way to configure enemy spawn intervals and difficulty scaling in Unity?

Configuring enemy spawning in Unity is best handled through ScriptableObjects to define custom waves. Designers can tweak enemy types, spawn intervals, and gradual difficulty scaling directly without modifying code.

Does this enemy spawning approach work for survival games as well as tower defense?

This enemy spawning approach works for both survival and tower defense games. It supports configurable waves, enemy types, and spawn points that create engaging combat scenarios adaptable to either genre.

How do I use object pooling for enemy spawning in Unity?

Object pooling for enemy spawning in Unity is integrated into this Skill to optimize performance. It reuses enemy instances during timed spawning Coroutines, reducing the overhead of frequent wave generation.

Can I define custom enemy types and spawn points using ScriptableObjects in Unity?

You can define custom enemy types and spawn points using ScriptableObjects in Unity. This Skill utilizes ScriptableObjects for wave definitions, letting you manage specific enemy configurations and spawn locations for each wave.

Why use Coroutines for timed enemy spawning in Unity waves?

Coroutines manage timed enemy spawning in Unity waves to handle spawn intervals efficiently. They wait between instantiating enemies and apply difficulty scaling across configurable waves without blocking the main game loop.