Skip to main content

Balatro

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

Overview

This file is a Tiled map JSON export (version 1.1) representing the static layout of the Balatro arena stage. It defines the background tile grid (BG_TILES), foreground object placements (FG_OBJECTS), and associated properties (e.g., pickable berry bushes, fixed interactive areas like balatro_machine and balatro_card_area). It is used during world generation to instantiate the arena environment with pre-defined static geometry and assets.

Usage example

This file is not a component and is not instantiated via inst:AddComponent(). It is consumed by the world generation system during map loading. A typical usage path in the engine would be:

-- Not a component, so direct instantiation does not apply.
-- The engine loads this JSON via map loading utilities (e.g., `WorldGen:LoadStaticLayout(...)`),
-- which converts it into in-game entities and tile data.

Dependencies & tags

Components used: None — this is a static map definition and not an ECS component. It is processed by the world generation engine to spawn prefabs and tiles.

Tags: None identified.

Properties

This file is a top-level JSON map structure, not a component. It does not define properties on an entity or component instance. The table below summarizes the top-level map attributes present in the file:

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled map format version.
luaversionstring"5.1"Lua version metadata embedded by Tiled export.
orientationstring"orthogonal"Tile orientation type.
widthinteger12Map width in tiles.
heightinteger12Map height in tiles.
tilewidthinteger16Width of each tile in pixels.
tileheightinteger16Height of each tile in pixels.
propertiestable{}Global map properties (empty in this layout).
tilesetstable[...]List of tileset definitions (contains one tileset: "tiles").
layerstable[...]List of layers: background tile layer BG_TILES and object group FG_OBJECTS.

Main functions

This file contains no Lua code — it is a static data file in JSON format. It defines layout data only, and does not implement any functional logic.

Events & listeners

This file defines no events or listeners, as it is not a runtime component and contains no executable Lua logic.