Tilemap

The Tilemap object can be used to display tile-based objects. It's a good way to create maps for RPG, strategy games or create objects by assembling tiles, useful for platformer, retro-looking games, etc… Read more explanations about it.

Tilemap

Displays a tiled-based map, made with the Tiled editor (download it separately on https://www.mapeditor.org/).

Object actions

Animation speed (FPS)
Set the animation speed (in frames per second) of the Tilemap.

Animation speed scale
Set the animation speed scale of the Tilemap (1 by default).

Display mode
Set the display mode

Layer index
Set the layer index of the Tilemap.

Tilemap JSON file
Set the JSON file containing the Tilemap data to display. This is usually the JSON file exported from Tiled.

Tileset JSON file
Set the JSON file with the tileset data (sometimes that is embeded in the Tilemap, so not needed)

Object conditions

Animation speed (FPS)
Compare the animation speed (in frames per second).

Animation speed scale
Compare the animation speed scale.

Display mode
Compare the value of the display mode.

Layer index
Compare the value of the layer index.

Tilemap JSON file
Check the Tilemap JSON file being used.

Tileset JSON file
Check the tileset JSON file being used.

Object expressions

Expression Description
Object.AnimationFps() Get the animation speed (in frames per second)
Object.AnimationSpeedScale() Get the Animation speed scale
Object.LayerIndex() Get the layer index being displayed

This page is an auto-generated reference page about the Tilemap feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.