Roofen-Game
  • Welcome to Roofen Game
  • Frameworks
    • Common Stat
      • Demo
      • Quick Start
      • Runtime
      • Action
      • Formula
      • Examples
      • FAQ
      • Version Update
      • FutureDirection
    • RToDo
  • Survivors Roguelike Kit
    • Quick Start
    • Core Concepts Overview
      • Scene Concepts
      • Stat Concepts
      • Skill Concepts
    • Adding a New Playable Character
    • Adding a New Enemy
    • Adding a New Wave Configuration
    • Adding a New Map Configuration
    • Adding a New Level
    • Adding a New Attack Skill
    • Upcoming Features Preview
  • RSOFramework
Powered by GitBook
On this page
  1. Survivors Roguelike Kit

Adding a New Wave Configuration

PreviousAdding a New EnemyNextAdding a New Map Configuration

Last updated 14 days ago

Step-by-Step Wave Creation

1. Create a New Wave Config

Option A: Duplicate Existing Wave

  • Navigate to: Assets/RGame/RoguelikeKit/ScriptableObjects/DataSO/Level/Waves/

  • Right-click an existing WaveConfig → Duplicate

  • Rename (e.g., Wave_05_BossRush.asset)

Option B: Create New Wave from Scratch

  • Right-click in folder → Create → RGame → RoguelikeKit → Wave → WaveConfig

  • Name it (e.g., Wave_03_Elites.asset)


2. Configure Wave Properties

Open the new WaveConfig in the Inspector:

Property
Description

WaveDelay

Delay before this wave starts (seconds)

Enemies

Array of enemies to spawn


3. Add Enemies to the Wave

Click + in the Enemies array to add entries:

Field
Description

Enemy Prefab

The enemy to spawn

PoolKey

Unique ID for object pooling

Count

Number to spawn

SpawnDelay

Time between spawns (0 = simultaneous)

(Repeat for all enemies in the wave.)