Layers
A room is a stack of layers. The top of the list is drawn in front. A new room has Instancias and Fundo.
| Type | Contents |
|---|---|
| Instances | Object instances |
| Tiles | A grid of tiles from a tileset |
| Sprites | Loose sprites, with no object and no code |
| Background | A color or an image |
- + Layer creates a layer above the active one. Dragging reorders; a double-click renames.
- The eye hides the layer, in the editor and in the game. The lock prevents editing.
- The clicked layer is the active one: it is where the mouse selects, drops objects or paints tiles.
- The right button renames, duplicates and deletes.
Layer Inspector
Section titled “Layer Inspector”| Option | What it does |
|---|---|
| Depth | The number that orders the layers (higher = further back). Reordering the list renumbers it. |
| Sort by Y (Instances) | Draws in front whoever is lower on screen, for top-down games. |
| Tileset, Collides (Tiles) | The layer tileset and whether solid tiles block movement. |
| Color, Sprite, Repeat, Stretch, Position, Speed (Background) | The color or image, the H and V repetition and the automatic movement. |
To move an instance to another layer, select it and change Layer, in the Inspector. In code: Layers and tiles.
