Skip to main content

Test

Based on game build 714014 | Last updated: 2026-03-15

Overview

This file defines static layout test data conforming to the Tiled map format, used for previewing or validating map room layouts in development. It specifies a 32x32 orthogonal grid with 16x16 tiles and includes two layers: a tile layer (BG_TILES) containing static tile IDs, and an object group (FG_OBJECTS) listing placement markers for game entities like firepits, areas, and spawn points.

Usage example

-- This file is not instantiated as a component; it is referenced directly as static layout data.
-- It is typically loaded via worldgen or level builder tools to verify room layouts.
-- Example (conceptual, not executable in-game):
-- local layout = require("map/static_layouts/test")
-- assert(layout.width == 32)
-- assert(#layout.layers == 2)

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled map format version.
luaversionstring"5.1"Lua version compatibility flag.
orientationstring"orthogonal"Map rendering orientation.
widthnumber32Map width in tiles.
heightnumber32Map height in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
tilesetstableSee sourceTileset definitions.
layerstableSee sourceLayer definitions including tiles and objects.

Main functions

Not applicable — this file exports a static data structure (a Lua table) and contains no functional methods.

Events & listeners

Not applicable