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
  • Step 1: Create Level Configuration
  • Step 2: Configure Level Parameters
  • Step 3: Add to Level Selection UI
  • Step 4: Testing the Level
  1. Survivors Roguelike Kit

Adding a New Level

PreviousAdding a New Map ConfigurationNextAdding a New Attack Skill

Last updated 14 days ago

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