We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tiles, defined in tiles.lua as a table, have the following attributes:
tiles
tiles.lua
String. The Unique ID of the tile.
Boolean. Whether the player or other entities can pass through the file.
Table of coordinates. The hitbox of the tile in regards to light.
Boolean. Whether the tile emits off any light.
Double. The range in which the tile emits light.
Table consisting of RGB values, 0-255. eg.
emitColor = {r = 174, g = 0, b = 0}
tileMap defined in globals.lua as a table is a list of all the tiles on the map. The way to access elements in the tileMap is
tileMap
globals.lua
tileMap[x .. " " .. y]
Where x and y are the coordinates of the tile.
x
y