From 1bef699a48e9a2c147d0358954d2c63ec359d1b5 Mon Sep 17 00:00:00 2001 From: MilkingChicken Date: Tue, 19 Sep 2017 18:53:45 +0200 Subject: AI Station 404 assets and configs added --- assets/backgrounds/404.png | Bin 0 -> 15541 bytes assets/maps.png | Bin 10070 -> 10688 bytes assets/music/404.ogg | Bin 0 -> 3338347 bytes assets/platforms/404-bottom.png | Bin 0 -> 2054 bytes assets/platforms/404-small.png | Bin 0 -> 389 bytes assets/platforms/404-top.png | Bin 0 -> 1911 bytes config/maps/404.lua | 51 ++++++++++++++++++++++++++++++++++++++++ config/platforms/404-bottom.lua | 10 ++++++++ config/platforms/404-small.lua | 5 ++++ config/platforms/404-top.lua | 9 +++++++ 10 files changed, 75 insertions(+) create mode 100644 assets/backgrounds/404.png create mode 100644 assets/music/404.ogg create mode 100644 assets/platforms/404-bottom.png create mode 100644 assets/platforms/404-small.png create mode 100644 assets/platforms/404-top.png create mode 100644 config/maps/404.lua create mode 100644 config/platforms/404-bottom.lua create mode 100644 config/platforms/404-small.lua create mode 100644 config/platforms/404-top.lua diff --git a/assets/backgrounds/404.png b/assets/backgrounds/404.png new file mode 100644 index 0000000..d1d7231 Binary files /dev/null and b/assets/backgrounds/404.png differ diff --git a/assets/maps.png b/assets/maps.png index 261622c..f0e530d 100644 Binary files a/assets/maps.png and b/assets/maps.png differ diff --git a/assets/music/404.ogg b/assets/music/404.ogg new file mode 100644 index 0000000..e952135 Binary files /dev/null and b/assets/music/404.ogg differ diff --git a/assets/platforms/404-bottom.png b/assets/platforms/404-bottom.png new file mode 100644 index 0000000..b3e9831 Binary files /dev/null and b/assets/platforms/404-bottom.png differ diff --git a/assets/platforms/404-small.png b/assets/platforms/404-small.png new file mode 100644 index 0000000..787cd67 Binary files /dev/null and b/assets/platforms/404-small.png differ diff --git a/assets/platforms/404-top.png b/assets/platforms/404-top.png new file mode 100644 index 0000000..7452857 Binary files /dev/null and b/assets/platforms/404-top.png differ 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/platforms/404-bottom.lua b/config/platforms/404-bottom.lua new file mode 100644 index 0000000..4e59a98 --- /dev/null +++ b/config/platforms/404-bottom.lua @@ -0,0 +1,10 @@ +return +{ + sprite = "assets/platforms/404-bottom.png", + shape = { + {0,0, 69,0, 87,17, 87,28, 0,28}, + {161,17, 178,0, 247,0, 247,28, 161,28}, + {33,28, 214,28, 214,57, 33,57}, + {87,17, 161,17, 168,28, 87,28} + } +} diff --git a/config/platforms/404-small.lua b/config/platforms/404-small.lua new file mode 100644 index 0000000..36b8a1d --- /dev/null +++ b/config/platforms/404-small.lua @@ -0,0 +1,5 @@ +return +{ + sprite = "assets/platforms/404-small.png", + shape = {0,0, 43,0, 43,8, 0,8} +} diff --git a/config/platforms/404-top.lua b/config/platforms/404-top.lua new file mode 100644 index 0000000..3d3ba2b --- /dev/null +++ b/config/platforms/404-top.lua @@ -0,0 +1,9 @@ +return +{ + sprite = "assets/platforms/404-top.png", + shape = { + {45,0, 166,0, 166,13, 45,13}, + {23,14, 188,14, 188,26, 23,26}, + {0,27, 211,27, 211,45, 0,45} + } +} -- cgit v1.1 From 1546be903cbf7a09eb5ff3fbd7c040f842d366a5 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 19 Sep 2017 18:54:51 +0200 Subject: Changed host map icons sheet width --- config/menus/host.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/menus/host.lua b/config/menus/host.lua index 07c5b80..c8ef4d8 100644 --- a/config/menus/host.lua +++ b/config/menus/host.lua @@ -21,7 +21,7 @@ do local i, name = map.portrait, map.name map.filename = path if i then - table.insert(icons, love.graphics.newQuad((i-1)*76, 0, 76, 37, 532, 37)) + table.insert(icons, love.graphics.newQuad((i-1)*76, 0, 76, 37, 608, 37)) table.insert(maps, map) end end -- cgit v1.1