View Categories

Basic concepts

< 1 min read

This section defines the core terms used in Levelmock to avoid ambiguity while using the editor or interpreting exported data.

Level #

A Level refers to the collection of elements used to compose a scene. It can represent:

  • A playable level.
  • A single screen.
  • A UI scene.
  • Any structured 2D layout.

Grid #

The Grid is the guide used on the editor canvas. Its main functions are:

  • Aligning visual elements.
  • Working with consistent sizes.
  • Facilitating the precise placement of pieces.

The grid size is typically fixed and depends on the specific needs of the project.

Pieces #

Pieces are reusable graphic elements used to compose:

  • Scenes.
  • Levels.
  • User interfaces.

A piece represents a single, placeable visual unit within the level.

Properties #

Properties describe the characteristics of a piece. These may include:

  • Transformation: scale, rotation.
  • Positional: X and Y coordinates.
  • Custom: user-defined properties based on the specific game logic.

Coordinates #

Since this is a 2D environment, all pieces are positioned using X and Y coordinates on the canvas. These coordinates define the exact location of every element within the level.

Powered by BetterDocs

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *