<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />

Navigation

</aside>

🏠 Home Page

Overview

Level Editor

Blocks

Effects & Interactable Objects

Power-Ups

Skin System

Map

UI Store

Lives System

💰 Monetization (Ads & IAP)

Static Map is a UI module that integrates with the Level System and renders a visual map of the current and several upcoming levels (the number depends on how many guiding elements are linked). It represents a modern approach to level map design in casual games, ensuring linear level progression (no replaying of completed levels), which is essential for analytics consistency and game balance.

The Init method is responsible for initializing the map display and preparing all visual elements before the panel becomes active. It retrieves the current level information from the Level System and determines the appropriate preview prefab from the LevelDatabase based on the level’s type. Using the predefined positions stored in mapElementPositions, it instantiates and arranges the corresponding level previews in the correct order, ensuring that the first preview represents the current playable level. During initialization, event listeners are assigned both to the current level preview and to the Play button, allowing the player to start the level either by clicking directly on the current preview or by pressing the Play button.

image.png

How to add a new level type

How to modify map visuals