Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated samples

  • Loading branch information...
commit a7e3095062973d6fb80efeaf2249c7fd50ed0ca1 1 parent d26d8f3
@Rejcx Rejcx authored
Showing with 571 additions and 438 deletions.
  1. +570 −437 Samples/SampleNew.moo
  2. +1 −1  Samples/SampleOriginal.lua
View
1,007 Samples/SampleNew.moo
570 additions, 437 deletions not shown
View
2  Samples/SampleOriginal.lua
@@ -1 +1 @@
-return { version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 16, height = 16, tilewidth = 20, tileheight = 20, properties = {}, tilesets = { { name = "InnerTilesetWIP", firstgid = 1, tilewidth = 20, tileheight = 20, spacing = 0, margin = 0, image = "graphics/InnerTilesetWIP.png", imagewidth = 300, imageheight = 420, properties = {}, tiles = {} } }, layers = { { type = "tilelayer", name = "Below", x = 0, y = 0, width = 16, height = 16, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 77, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 79, 92, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 94, 92, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 94, 92, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 94, 92, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 20, 92, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 20, 92, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 92, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 92, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 94, 92, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 94, 92, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 94, 92, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 94, 92, 2, 2, 2, 2, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 94, 92, 2, 2, 2, 2, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 94, 92, 2, 2, 2, 2, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 94, 107, 108, 81, 2, 2, 80, 108, 108, 108, 108, 108, 108, 108, 108, 108, 109 } }, { type = "tilelayer", name = "Below", x = 0, y = 0, width = 16, height = 16, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 0, 0, 0, 0, 35, 0, 0, 0, 0, 0, 119, 0, 0, 0, 0, 0, 0, 0, 0, 36, 35, 37, 0, 129, 130, 133, 134, 135, 129, 130, 0, 0, 0, 0, 0, 33, 32, 34, 0, 144, 145, 148, 149, 150, 144, 145, 0, 0, 0, 0, 0, 35, 38, 35, 0, 0, 0, 163, 164, 165, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 247, 248, 249, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 262, 263, 264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 277, 278, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 155, 157, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 156, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 170, 0, 0, 0, 0, 0, 0, 0, 122, 123, 124, 125, 126, 143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 138, 139, 140, 141, 158, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, { type = "tilelayer", name = "Below", x = 0, y = 0, width = 16, height = 16, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 178, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 159, 160, 193, 194, 195, 159, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 174, 175, 208, 209, 210, 174, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 292, 293, 294, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 307, 308, 309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 221, 0, 220, 0, 205, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, { type = "tilelayer", name = "Above", x = 0, y = 0, width = 16, height = 16, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, { type = "tilelayer", name = "Collision", x = 0, y = 0, width = 16, height = 16, visible = true, opacity = 1, properties = { ["CollisionLayer"] = "true" }, encoding = "lua", data = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } } } }
+return { version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 16, height = 16, tilewidth = 20, tileheight = 20, properties = {}, tilesets = { { name = "InnerTilesetWIP", firstgid = 1, tilewidth = 20, tileheight = 20, spacing = 0, margin = 0, image = "../graphics/InnerTilesetWIP.png", imagewidth = 400, imageheight = 420, properties = {}, tiles = {} }, { name = "NpcTiles", firstgid = 421, tilewidth = 20, tileheight = 20, spacing = 0, margin = 0, image = "../graphics/NpcTiles.png", imagewidth = 160, imageheight = 120, properties = {}, tiles = {} } }, layers = { { type = "tilelayer", name = "Bottom", x = 0, y = 0, width = 16, height = 16, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 8, 8, 8, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 97, 8, 8, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 97, 8, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 97, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 97, 9, 9, 8, 8, 8, 62, 8, 8, 8, 8, 8, 8, 8, 8, 8, 97, 9, 9, 8, 8, 62, 62, 62, 8, 8, 8, 8, 8, 8, 8, 8, 97, 9, 9, 8, 62, 62, 62, 62, 62, 8, 8, 62, 8, 8, 8, 8, 97, 9, 9, 8, 62, 62, 62, 62, 62, 8, 62, 62, 62, 8, 8, 8, 97, 9, 9, 8, 63, 63, 63, 63, 63, 62, 62, 62, 62, 62, 8, 8, 97, 9, 9, 8, 8, 8, 8, 8, 8, 62, 62, 62, 62, 62, 8, 8, 97, 9, 9, 8, 8, 9, 9, 9, 8, 63, 63, 63, 63, 63, 8, 8, 97, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 97, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 97, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 97, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 97, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8 } }, { type = "tilelayer", name = "Middle", x = 0, y = 0, width = 16, height = 16, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 0, 0, 0, 90, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 93, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 93, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 93, 112, 112, 0, 0, 0, 0, 0, 0, 58, 0, 0, 155, 156, 0, 90, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 92, 0, 0, 0, 159, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 92, 0, 158, 139, 139, 139, 160, 0, 0, 0, 0, 0, 0, 0, 0, 90, 92, 0, 157, 149, 0, 149, 0, 0, 0, 159, 0, 0, 0, 0, 0, 90, 92, 0, 178, 179, 179, 179, 179, 158, 139, 139, 139, 160, 0, 0, 0, 90, 92, 0, 132, 0, 0, 0, 132, 157, 149, 0, 149, 177, 155, 156, 0, 90, 92, 0, 0, 70, 71, 72, 0, 178, 179, 179, 179, 180, 0, 0, 0, 114, 113, 71, 71, 114, 0, 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 111, 111, 111, 111, 111, 111, 112, 0, 0, 131, 0, 131, 0, 0, 132, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 132, 132, 0, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95, 95 } }, { type = "tilelayer", name = "Middle", x = 0, y = 0, width = 16, height = 16, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114, 0, 39, 39, 58, 40, 40, 58, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39, 39, 58, 40, 40, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39, 59, 0, 60, 40, 39, 39, 58, 40, 40, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 60, 39, 39, 58, 40, 40, 0, 0, 0, 0, 0, 0, 0, 0, 66, 0, 0, 39, 59, 0, 60, 40, 0, 0, 0, 0, 0, 0, 0, 0, 86, 0, 0, 59, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 75, 0, 0, 0, 75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 0, 0, 0, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, { type = "tilelayer", name = "Above", x = 0, y = 0, width = 16, height = 16, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 58, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 39, 58, 40, 20, 0, 0, 0, 0, 0, 135, 136, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 58, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 39, 58, 40, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 135, 136, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, { type = "tilelayer", name = "Collision", x = 0, y = 0, width = 16, height = 16, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } }, { type = "objectgroup", name = "Warps", visible = true, opacity = 1, properties = {}, objects = { { name = "Warp", type = "", x = 20, y = 0, width = 280, height = 20, properties = { ["Transition"] = "north", ["WarpToMap"] = "SantaHQOutsideWorkshop", ["X"] = "-1", ["Y"] = "14" } }, { name = "Warp", type = "", x = 0, y = 20, width = 20, height = 260, properties = { ["Transition"] = "west", ["WarpToMap"] = "SantaHQOutsideEntrance", ["X"] = "14", ["Y"] = "-1" } }, { name = "Warp", type = "", x = 100, y = 160, width = 20, height = 20, properties = { ["Transition"] = "in", ["WarpToMap"] = "SantaHQHome1", ["X"] = "3", ["Y"] = "14" } } } }, { type = "objectgroup", name = "NPCs", visible = true, opacity = 1, properties = {}, objects = { { name = "npc", type = "", x = 140, y = 280, width = 0, height = 0, gid = 422, properties = { ["Type"] = "snowhare" } }, { name = "npc", type = "", x = 220, y = 60, width = 0, height = 0, gid = 422, properties = { ["Type"] = "snowhare" } } } } } }
Please sign in to comment.
Something went wrong with that request. Please try again.