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

Navigation

</aside>

🏠 Home Page

Overview

Level Editor

Blocks

Figures

Collectables

Combo System

Skin System

Map

Lives System

UI Store

💰 Monetization (Ads & IAP)

Blocks are fundamental units in the game's grid system, managed by the LevelElementBehavior class. They are initialized, manipulated, and rendered through interactions with the LevelRepresentation, LevelController, and skin data classes. These elements support various states and behaviors, such as being occupied, previewed, or collected, and are essential for the game's level mechanics and visual representation.

Visuals

image.png

The LevelSkinData class is used to manage the visual appearance of the game's level elements. It stores different images and colors that can be applied to the blocks within a level.

Skin Data is stored in the Level Skin Database scriptable object and contains the following variables:

Id - A unique identifier used to determine which skin should be loaded.

Preview Sprite - The sprite used in the Store UI.

image.png

Sprites - An array of SpriteData objects, each representing a different type of element sprite with associated colors.

Special Sprite - A background sprite is used as an alternative to the actual image when a Сollectable object is attached to the block.

image.png

You can read more about the Skin System on a separate page - Skin System