Adding a New Level

Step 1: Create Level Configuration

Option A: Duplicate Existing Level

  1. Navigate to: Assets/RGame/RoguelikeKit/ScriptableObjects/DataSO/Level/SelectLevel/

  2. Right-click an existing level config → Duplicate

  3. Rename (e.g., Level_03_Catacombs.asset)

Option B: Create New Level

  1. Right-click in folder → Create → RGame → RoguelikeKit → Level → LevelConfigSO

  2. Name it following convention (e.g., Level_04_IceCavern.asset)

Step 2: Configure Level Parameters

Open the new level config in Inspector, Just set it by name.

Map Config and Wave Config can be found in the catalog on the left to find out how to create them.

Step 3: Add to Level Selection UI

  1. Open prefab: Assets/RGame/RoguelikeKit/Prefabs/UI/MainMenu/LevelSelect_Panel.prefab

  2. In Inspector:

    • Find MLevelSos (LevelConfigSO array)

    • Click + to add new slot

    • Drag your new LevelConfigSO into the empty field

Step 4: Testing the Level

  1. Open scene: Assets/RGame/RoguelikeKit/Scenes/Initialization.unity

  2. Enter Play Mode

Last updated