diff options
Diffstat (limited to 'assets/maps/level1.lua')
-rw-r--r-- | assets/maps/level1.lua | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/assets/maps/level1.lua b/assets/maps/level1.lua new file mode 100644 index 0000000..ffcb4eb --- /dev/null +++ b/assets/maps/level1.lua @@ -0,0 +1,107 @@ +return { + version = "1.5", + luaversion = "5.1", + tiledversion = "1.8.2", + orientation = "orthogonal", + renderorder = "right-down", + width = 16, + height = 16, + tilewidth = 16, + tileheight = 16, + nextlayerid = 3, + nextobjectid = 2, + properties = {}, + tilesets = { + { + name = "tileset", + firstgid = 1, + tilewidth = 16, + tileheight = 16, + spacing = 0, + margin = 0, + columns = 32, + image = "../images/tileset.png", + imagewidth = 512, + imageheight = 512, + objectalignment = "unspecified", + tileoffset = { + x = 0, + y = 0 + }, + grid = { + orientation = "orthogonal", + width = 16, + height = 16 + }, + properties = {}, + wangsets = {}, + tilecount = 1024, + tiles = {} + } + }, + layers = { + { + type = "tilelayer", + x = 0, + y = 0, + width = 16, + height = 16, + id = 1, + name = "ground", + visible = true, + opacity = 1, + offsetx = 0, + offsety = 0, + parallaxx = 1, + parallaxy = 1, + properties = {}, + encoding = "lua", + data = { + 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, + 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, + 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, + 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, + 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, + 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0 + } + }, + { + type = "objectgroup", + draworder = "topdown", + id = 2, + name = "entities", + visible = true, + opacity = 1, + offsetx = 0, + offsety = 0, + parallaxx = 1, + parallaxy = 1, + properties = {}, + objects = { + { + id = 1, + name = "player", + type = "entity", + shape = "rectangle", + x = 14.6667, + y = 13.3333, + width = 0, + height = 0, + rotation = 0, + visible = true, + properties = {} + } + } + } + } +} |