Skip to main content

Maxwell 2

Based on game build 714014 | Last updated: 2026-02-28

Overview

This file defines the static layout for the Maxwell arena, used in boss encounters. It specifies the map dimensions (36x36 tiles at 16x16 pixels per tile), background tile layer data (BG_TILES), and an object group (FG_OBJECTS) containing placements of static assets such as the Maxwell statue and chess-piece-themed structures (knight, rook) and marble trees. It is not a runtime component but a preprocessed map data structure used during world generation to instantiate arena environments.

Usage example

This file is returned as a Lua table and consumed by the map loader during world generation. It is not meant to be instantiated as a component. A typical usage pattern in the engine would be:

-- Loaded via require() or asset system, then passed to map generator:
local arena_layout = require "map.static_layouts.maxwell_2"
worldgen.AddStaticLayout("maxwell_arena", arena_layout)

Dependencies & tags

Components used: None (static data file, no runtime component logic). Tags: None identified.

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled map format version.
luaversionstring"5.1"Target Lua version for encoding.
orientationstring"orthogonal"Map tile orientation.
widthnumber36Map width in tiles.
heightnumber36Map height in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
propertiestable{}Global map properties (empty here).
tilesetstableSee sourceArray of tileset definitions (contains one default tileset tiles).
layerstableSee sourceArray of map layers — includes BG_TILES (tile layer) and FG_OBJECTS (object group).

Main functions

This file does not define any functions or methods. It is a pure data definition returning a table.

Events & listeners

This file does not define any events or listeners.