Tilemap

From SuperTux

Jump to: navigation, search

Tilemaps consist of all of the ground, spikes, lava, clouds, etc. that do not move and do not interact actively with the player. Each tilemap consists of one or more tiles, which each contain several attributes specified in data/images/tiles.strf . For a complete description, see Tile.

Tilemaps can be either solid or non-solid, in which case they do not interact with the player. Multiple tilemaps of each kind may be specified. Tilemaps are also scriptable if given a name, see the relevant page. Tilemaps may also be given a path, which they will follow once scripted to do so.

Note that infoblocks, crumbling blocks, bonus blocks, invisible blocks that can be activated, coins, and wooden bricks are not actually part of the tilemap; after the level is parsed, the tiles with the ID's or attributes representing those objects are replaced with the objects themselves and the tiles changed to empty.

Personal tools