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
  2. Core Concepts Overview

Scene Concepts

PreviousCore Concepts OverviewNextStat Concepts

Last updated 14 days ago

Core Scene Structure

1. Initialization (Boot Scene)

  • Path: Assets/Scenes/Core/Initialization.unity

  • Responsibilities:

    • First scene loaded when game launches

    • Initializes essential services before loading PersistentManagers

  • Best Practice: Should have minimal dependencies and load quickly

2. PersistentManagers (Permanent Scene)

  • Path: Assets/Scenes/Core/PersistentManagers.unity

  • Key Systems:

3. MainMenu (UI Hub)

  • Path: Assets/Scenes/UI/MainMenu.unity

  • Feature Panels:

4. GamePlay (Systems Container)

  • Path: Assets/Scenes/Core/GamePlay.unity

  • Manager Matrix:

    Manager
    Responsibility
    Dependencies

    MapManager

    Procedural map generation

    WaveManager

    WaveManager

    Enemy spawn waves and difficulty scaling

    TimeStepManager

    TimeStepManager

    FixedUpdate-based timers (CD)

    SkillManager

    SkillManager

    Skill upgrades/execution

    AttributeManager

    AttributeManager

    Stat calculations (base+powerup)

    LevelManager

    LevelManager

    XP/level progression

    SaveSystem

    CheatManager

    Debug tools/test shortcuts

    (All systems)

5. Game (Runtime Scene)

  • Path: Assets/Scenes/Gameplay/Game.unity

Includes a level generator