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 Map Configuration
  • Step 2: Configure Core Parameters
  • Step 3: Add Tile Variants
  1. Survivors Roguelike Kit

Adding a New Map Configuration

PreviousAdding a New Wave ConfigurationNextAdding a New Level

Last updated 14 days ago

Step 1: Create Map Configuration

Option A: Duplicate Existing Map

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

  2. Right-click an existing MapConfig → Duplicate

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

Option B: Create New Map

  1. Right-click in folder → Create → RGame → RoguelikeKit → Map Config

  2. Name it (e.g., Map_IceCavern.asset)

Step 2: Configure Core Parameters

Open the new MapConfig in Inspector:

Parameter
Description
Example Value

Width

Map width in tiles

50

Height

Map height in tiles

50

PropCount

Number of loot containers

15

Step 3: Add Tile Variants

Click + in the Tiles array to add tile types:

Field
Description

Sprite

Tile Sprite

Weight

Spawn probability weight

Weight Calculation

  • Total weight = 70 (Stone) + 20 (Wall) + 10 (Moss) = 100

  • Stone Floor spawn chance = 70/100 = 70%