diff options
Diffstat (limited to 'config/maps')
-rw-r--r-- | config/maps/205.lua | 49 | ||||
-rw-r--r-- | config/maps/404.lua | 51 | ||||
-rw-r--r-- | config/maps/aiguillon.lua | 47 | ||||
-rw-r--r-- | config/maps/alpha abyss.lua | 75 | ||||
-rw-r--r-- | config/maps/alpha.lua | 43 | ||||
-rw-r--r-- | config/maps/default.lua | 39 | ||||
-rw-r--r-- | config/maps/ribbit.lua | 37 | ||||
-rw-r--r-- | config/maps/rill.lua | 49 | ||||
-rw-r--r-- | config/maps/sorona.lua | 71 | ||||
-rw-r--r-- | config/maps/starstorm.lua | 61 |
10 files changed, 276 insertions, 246 deletions
diff --git a/config/maps/205.lua b/config/maps/205.lua new file mode 100644 index 0000000..d0aa1f8 --- /dev/null +++ b/config/maps/205.lua @@ -0,0 +1,49 @@ +return +{ + name = "AI Station 205", + theme = "sorona.ogg", + portrait = 1, -- TODO: See `maps/ribbit`. + center = {x = 0, y = 0}, + width = 360, + height = 240, + respawns = { + {x = -10, y = -55}, + {x = 0, y = -55}, + {x = 10, y = -55} + }, + create = { + { + flames = true + }, + { + x = -36, + y = -48, + platform = "205-top" + }, + { + x = -36+9, + y = -48+11, + decoration = "assets/decorations/205-exhaust-top.png" + }, + { + x = -122, + y = 10, + platform = "205-left" + }, + { + x = -122+49, + y = 10+2, + decoration = "assets/decorations/205-exhaust-left.png" + }, + { + x = 28, + y = 10, + platform = "205-right" + }, + { + x = 28+29, + y = 10+2, + decoration = "assets/decorations/205-exhaust-right.png" + } + } +} diff --git a/config/maps/404.lua b/config/maps/404.lua new file mode 100644 index 0000000..44b6c93 --- /dev/null +++ b/config/maps/404.lua @@ -0,0 +1,51 @@ +return +{ + name = "AI Station 404", + theme = "404.ogg", + portrait = 8, -- TODO: See `maps/ribbit`. + center = {x = 0, y = 0}, + width = 360, + height = 240, + respawns = { + {x = -15, y = -80}, + {x = -5, y = -80}, + {x = 5, y = -80}, + {x = 15, y = -80} + }, + create = { + { + ratio = 0, + background = "assets/backgrounds/404.png", + }, + { + x = -105, + y = -75, + platform = "404-top" + }, + { + x = -123, + y = 25, + platform = "404-bottom" + }, + { + x = 138, + y = -25, + platform = "404-small" + }, + { + x = -180, + y = -25, + platform = "404-small" + }, + { + x = 138, + y = 65, + platform = "404-small" + }, + { + x = -180, + y = 65, + platform = "404-small" + } + } +}
\ No newline at end of file diff --git a/config/maps/aiguillon.lua b/config/maps/aiguillon.lua index 40d3928..c4f0ee3 100644 --- a/config/maps/aiguillon.lua +++ b/config/maps/aiguillon.lua @@ -1,58 +1,51 @@ -return { - -- CENTER AND SIZE - name = "aiguillon", +return +{ + name = "Aiguillon", theme = "aiguillon.ogg", - center_x = 0, - center_y = 10, + portrait = 5, -- TODO: See `maps/ribbit`. + center = {x = 0, y = 10}, width = 370, height = 290, - -- RESPAWN POINTS respawns = { - {x = 0, y = -80}, - {x = 0, y = -80}, - {x = 0, y = -80}, - {x = 0, y = -80}, + {x = -15, y = -80}, + {x = -5, y = -80}, + {x = 5, y = -80}, + {x = 15, y = -80}, }, - -- GRAPHICS - clouds = false, - background = "assets/backgrounds/aiguillon.png", - platforms = { + create = { + { + ratio = 0, + background = "assets/backgrounds/aiguillon.png" + }, { x = -108, y = 22, - shape = {1,0, 212,0, 212,12, 206,18, 14,18, 1,12}, - sprite = "assets/platforms/aiguillon-wide.png" + platform = "aiguillon-wide" }, { x = -46, y = -19, - shape = {1,0, 87,0, 87,18, 14,18, 1,12}, - sprite = "assets/platforms/aiguillon-middle.png" + platform = "aiguillon-middle" }, { x = -141, y = -57, - shape = {1,0, 50,0, 50,18, 5,18, 1,13}, - sprite = "assets/platforms/aiguillon-left-big.png" + platform = "aiguillon-left-big" }, { x = -132, y = 84, - shape = {1,0, 25,0, 25,18, 1,18}, - sprite = "assets/platforms/aiguillon-left-small.png" + platform = "aiguillon-left-small" }, { x = 77, y = -57, - shape = {1,0, 50,0, 50,12, 37,18, 1,18}, - sprite = "assets/platforms/aiguillon-right-big.png" + platform = "aiguillon-right-big" }, { x = 103, y = 84, - shape = {1,0, 25,0, 25,18, 1,18}, - sprite = "assets/platforms/aiguillon-right-small.png" + platform = "aiguillon-right-small" } }, - decorations = {} } diff --git a/config/maps/alpha abyss.lua b/config/maps/alpha abyss.lua deleted file mode 100644 index 0dd2c61..0000000 --- a/config/maps/alpha abyss.lua +++ /dev/null @@ -1,75 +0,0 @@ --- The abyss of the alpha. --- Animations -local animations_small = { - default = { - frames = 20, - repeated = true - } -} -local animations_big = { - default = { - frames = 20, - repeated = true - } -} -for i=1,10 do - local a = love.graphics.newQuad(i*118-118, 0, 118,51, 1180,51) - animations_big.default[i*2-1] = a - animations_big.default[i*2] = a - local a = love.graphics.newQuad(i*60-60, 0, 60,20, 600,20) - animations_small.default[i*2-1] = a - animations_small.default[i*2] = a -end --- Map data -return { - -- GENERAL - name = "alpha abyss", - theme = "alpha.ogg", - center_x = 0, - center_y = -80, - width = 360, - height = 240, - -- RESPAWN POINTS - respawns = { - {x = -30, y = 0}, - {x = 30, y = 0}, - {x = 0, y = 0}, - {x = -120, y = -50}, - {x = 120, y = -50}, - {x = 0, y = -75} - }, - -- GRAPHICS - clouds = false, - background = "assets/backgrounds/alpha-1.png", - platforms = { - { - x = -60, - y = 0, - shape = {0,0, 117,0, 101,50, 16,50}, - sprite = "assets/platforms/alpha-big.png", - animations = animations_big - }, - { - x = -145, - y = -50, - shape = {0,0, 59,0, 59,19, 0,19}, - sprite = "assets/platforms/alpha-small.png", - animations = animations_small - }, - { - x = 85, - y = -50, - shape = {0,0, 59,0, 59,19, 0,19}, - sprite = "assets/platforms/alpha-small.png", - animations = animations_small - }, - { - x = -30, - y = -80, - shape = {0,0, 59,0, 59,19, 0,19}, - sprite = "assets/platforms/alpha-small.png", - animations = animations_small - } - }, - decorations = {} -} diff --git a/config/maps/alpha.lua b/config/maps/alpha.lua new file mode 100644 index 0000000..795b6cf --- /dev/null +++ b/config/maps/alpha.lua @@ -0,0 +1,43 @@ +return +{ + name = "Alpha Abyss", + theme = "alpha.ogg", + portrait = 7, -- TODO: See `maps/ribbit`. + center = {x = 0, y = -80}, + width = 360, + height = 240, + respawns = { + {x = -30, y = 0}, + {x = 30, y = 0}, + {x = 0, y = 0}, + {x = -120, y = -50}, + {x = 120, y = -50}, + {x = 0, y = -75} + }, + create = { + { + ratio = 0, + background = "assets/backgrounds/alpha.png", + }, + { + x = -60, + y = 0, + platform = "alpha-big", + }, + { + x = -145, + y = -50, + platform = "alpha-small", + }, + { + x = 85, + y = -50, + platform = "alpha-small", + }, + { + x = -30, + y = -80, + platform = "alpha-small", + } + }, +} diff --git a/config/maps/default.lua b/config/maps/default.lua index 05b8dc9..22c03f6 100644 --- a/config/maps/default.lua +++ b/config/maps/default.lua @@ -1,47 +1,46 @@ --- Default map from original roflnauts -return { - -- GENERAL +return +{ name = "default", theme = "default.ogg", - center_x = 0, - center_y = 0, + portrait = 1, -- TODO: See `maps/ribbit`. + center = {x = 0, y = 0}, width = 360, height = 240, - -- RESPAWN POINTS respawns = { {x = -15, y = -80}, {x = -5, y = -80}, {x = 5, y = -80}, {x = 15, y = -80} }, - -- GRAPHICS - clouds = true, - background = "assets/backgrounds/default.png", - platforms = { + create = { + { + clouds = "assets/clouds.png", + animations = "clouds-default", + count = 8, + }, + { + ratio = 0, + background = "assets/backgrounds/default.png" + }, { x = -91, y = 0, - shape = {0,1, 180,1, 180,10, 95,76, 86,76, 0,10}, - sprite = "assets/platforms/default-big.png" + platform = "default-big" }, { x = 114, y = 50, - shape = {0,1, 51,1, 51,18, 0,18}, - sprite = "assets/platforms/default-side.png" + platform = "default-side" }, { x = -166, y = 50, - shape = {0,1, 51,1, 51,18, 0,18}, - sprite = "assets/platforms/default-side.png" + platform = "default-side" }, { x = -17, y = -50, - shape = {0,1, 33,1, 33,14, 0,14}, - sprite = "assets/platforms/default-top.png" + platform = "default-top" } - }, - decorations = {} + } } diff --git a/config/maps/ribbit.lua b/config/maps/ribbit.lua index c3f5c78..08683ac 100644 --- a/config/maps/ribbit.lua +++ b/config/maps/ribbit.lua @@ -1,46 +1,41 @@ -return { - -- GENERAL - name = "ribbit", +return +{ + name = "Ribbit IV", theme = "ribbit.ogg", - center_x = 0, - center_y = 50, + portrait = 3, -- TODO: Either separate portraits now or change `iconsList` and `menu/host`. See also both mentioned files. + center = {x = 0, y = 50}, width = 360, height = 240, - -- RESPAWN POINTS respawns = { {x = -15, y = -80}, {x = -5, y = -80}, {x = 5, y = -80}, {x = 15, y = -80} }, - -- GRAPHICS - clouds = false, - background = "assets/backgrounds/ribbit.png", - platforms = { + create = { + { + ratio = 0, + background = "assets/backgrounds/ribbit.png" + }, { x = -154, y = 10, - shape = {1,12, 48,12, 48,32, 1,32}, - sprite = "assets/platforms/ribbit-left.png" + platform = "ribbit-left" }, { x = 67, y = 7, - shape = {36,14, 83,14, 83,29, 36,29}, - sprite = "assets/platforms/ribbit-right.png" + platform = "ribbit-right" }, { x = -70, y = -5, - shape = {0,3, 139,3, 134,24, 5,24}, - sprite = "assets/platforms/ribbit-top.png" + platform = "ribbit-top" }, { x = -54, y = 63, - shape = {0,3, 107,3, 75,44, 32,44}, - sprite = "assets/platforms/ribbit-bottom.png" + platform = "ribbit-bottom" } - }, - decorations = {} -}
\ No newline at end of file + } +} diff --git a/config/maps/rill.lua b/config/maps/rill.lua index 83c02f2..b027923 100644 --- a/config/maps/rill.lua +++ b/config/maps/rill.lua @@ -1,73 +1,66 @@ -return { - -- CENTER AND SIZE - name = "rill", +return +{ + name = "Rill", theme = "rill.ogg", - center_x = 0, - center_y = 75, + portrait = 2, -- TODO: See `maps/ribbit`. + center = {x = 0, y = 75}, width = 400, height = 260, - -- RESPAWN POINTS respawns = { {x = -135, y = 10}, {x = -135, y = 10}, {x = 135, y = 10}, {x = 135, y = 10} }, - -- GRAPHICS - clouds = false, - background = "assets/backgrounds/rill.png", - platforms = { + create = { + { + ratio = 0, + background = "assets/backgrounds/rill.png" + }, { x = -151, y = 25, - shape = {0,0, 55,0, 55,11, 0,11}, - sprite = "assets/platforms/rill-flat-left.png" + platform = "rill-flat-left" }, { x = 93, y = 25, - shape = {0,0, 55,0, 55,11, 0,11}, - sprite = "assets/platforms/rill-flat-right.png" + platform = "rill-flat-right" }, { x = -24, y = 55, - shape = {0,0, 48,0, 47,15, 1,15}, - sprite = "assets/platforms/rill-center.png" + platform = "rill-center" }, { x = -112, y = 80, - shape = {77,30, 17,0, 0,0, 0,7, 77,44}, - sprite = "assets/platforms/rill-slope-left.png" + platform = "rill-slope-left" }, { x = 35, y = 80, - shape = {0,30, 60,0, 77,0, 77,7, 0,44}, - sprite = "assets/platforms/rill-slope-right.png" - } - }, - decorations = { + platform = "rill-slope-right" + }, { x = 98, y = -20, - sprite = "assets/decorations/rill-lollipop-big-purple.png" + decoration = "assets/decorations/rill-lollipop-big-purple.png" }, { x = 127, y = 4, - sprite = "assets/decorations/rill-lollipop-small-green.png" + decoration = "assets/decorations/rill-lollipop-small-green.png" }, { x = -152, y = -20, - sprite = "assets/decorations/rill-lollipop-big-orange.png" + decoration = "assets/decorations/rill-lollipop-big-orange.png" }, { x = -121, y = 4, - sprite = "assets/decorations/rill-lollipop-small-blue.png" - }, + decoration = "assets/decorations/rill-lollipop-small-blue.png" + } } } diff --git a/config/maps/sorona.lua b/config/maps/sorona.lua index 8ec4727..4cc87cd 100644 --- a/config/maps/sorona.lua +++ b/config/maps/sorona.lua @@ -1,53 +1,50 @@ --- Sorona, but with the worms and such. -return { - -- GENERAL - name = "sorona", +return +{ + name = "Sorona", theme = "sorona.ogg", - center_x = 0, - center_y = 0, + portrait = 6, -- TODO: See `maps/ribbit`. + center = {x = 0, y = 0}, width = 360, height = 240, - -- RESPAWN POINTS respawns = { - {x = -98, y = -70}, - {x = 70, y = -70}, - {x = -30, y = -20}, - {x = -90, y = 40}, + {x = -10, y = -20}, + {x = 0, y = -20}, + {x = 10, y = -20} }, - -- GRAPHICS - clouds = false, - background = "assets/backgrounds/sorona.png", - platforms = { + create = { { - x = -60, - y = 0, - shape = {0,1, 59,1, 59,17, 0,17}, - sprite = "assets/platforms/sorona-center.png" + ratio = 0, + background = "assets/backgrounds/sorona.png", }, { - x = -40, - y = 55, - shape = {3,0, 180,0, 180,20, 3,20}, - sprite = "assets/platforms/sorona-right-bottom.png" + x = -71, + y = 50, + platform = "sorona-wide" }, { - x = -120, - y = 55, - shape = {3,0, 62,0, 62,23, 3,23}, - sprite = "assets/platforms/sorona-left-bottom.png" + x = -84, + y = -5, + platform = "sorona-small" }, { - x = 0, - y = -50, - shape = {1,1, 140,1, 1,17, 140,17}, - sprite = "assets/platforms/sorona-right-top.png" + x = -50, + y = -4, + decoration = "assets/decorations/sorona-bridge-left.png" }, { - x = -150, - y = -55, - shape = {1,9, 106,9, 40,27, 1,27}, - sprite = "assets/platforms/sorona-left-top.png" + x = -14, + y = -4, + decoration = "assets/decorations/sorona-bridge-loop.png" + }, + { + x = 14, + y = -4, + decoration = "assets/decorations/sorona-bridge-right.png" + }, + { + x = 43, + y = -5, + platform = "sorona-small" } - }, - decorations = {} + } } diff --git a/config/maps/starstorm.lua b/config/maps/starstorm.lua index 7f00633..b4fabcd 100644 --- a/config/maps/starstorm.lua +++ b/config/maps/starstorm.lua @@ -1,12 +1,11 @@ -return { - -- CENTER AND SIZE - name = "starstorm", +return +{ + name = "Starstorm", theme = "starstorm.ogg", - center_x = 0, - center_y = -20, + portrait = 4, -- TODO: See `maps/ribbit`. + center = {x = 0, y = -20}, width = 400, height = 260, - -- RESPAWN POINTS respawns = { {x = 100, y = 45}, {x = -100, y = 45}, @@ -15,79 +14,65 @@ return { {x = -110, y = -70}, {x = 110, y = -70} }, - -- GRAPHICS - clouds = false, - background = "assets/backgrounds/starstorm.png", - platforms = { + create = { + { + ratio = 0, + background = "assets/backgrounds/starstorm.png" + }, { x = -170, y = -55, - shape = { - {0,1, 33,1, 39,6, 39,21, 31,21, 0,21}, - {40,6, 115,6, 115,14, 40,14} - }, - sprite = "assets/platforms/starstorm-left-top.png" + platform = "starstorm-left-top" }, { x = -156, y = -2, - shape = {0,0, 109,0, 109,20, 0,20}, - sprite = "assets/platforms/starstorm-left-middle.png" + platform = "starstorm-left-middle" }, { x = -160, y = 69, - shape = {0,4, 8,4, 13,1, 102,1, 102,16, 19,16, 0,11}, - sprite = "assets/platforms/starstorm-left-bottom.png" + platform = "starstorm-left-bottom" }, { x = 52, y = -55, - shape = { - {115,1, 82,1, 76,6, 76,21, 84,21, 115,21}, - {75,6, 0,6, 0,14, 75,14} - }, - sprite = "assets/platforms/starstorm-right-top.png" + platform = "starstorm-right-top" }, { x = 44, y = -2, - shape = {109,0, 0,0, 0,20, 109,20}, - sprite = "assets/platforms/starstorm-right-middle.png" + platform = "starstorm-right-middle" }, { x = 55, y = 69, - shape = {102,4, 94,4, 89,1, 0,1, 0,16, 83,16, 102,11}, - sprite = "assets/platforms/starstorm-right-bottom.png" + platform = "starstorm-right-bottom" }, { x = -27, y = 40, - shape = {0,6, 53,6, 53,14, 0,14}, - sprite = "assets/platforms/starstorm-center.png" - } - }, - decorations = { + platform = "starstorm-center" + }, { x = -166, y = -37, - sprite = "assets/decorations/starstorm-left-top.png" + decoration = "assets/decorations/starstorm-left-top.png" }, { x = -163, y = 19, - sprite = "assets/decorations/starstorm-left-bottom.png" + decoration = "assets/decorations/starstorm-left-bottom.png" }, { x = 119, y = -37, - sprite = "assets/decorations/starstorm-right-top.png" + decoration = "assets/decorations/starstorm-right-top.png" }, { - x = 52+77, + x = 129, y = 19, - sprite = "assets/decorations/starstorm-right-bottom.png" + decoration = "assets/decorations/starstorm-right-bottom.png" } } } |