From 2757fa1de92f2eff8be080721a7f777086afa072 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 2 Sep 2017 22:30:32 +0200 Subject: Separated platforms' configs from maps' configs --- config/maps/starstorm.lua | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'config/maps/starstorm.lua') diff --git a/config/maps/starstorm.lua b/config/maps/starstorm.lua index c74372f..fe45e04 100644 --- a/config/maps/starstorm.lua +++ b/config/maps/starstorm.lua @@ -20,50 +20,37 @@ return { 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" + config = "starstorm-left-top" }, { x = -156, y = -2, - shape = {0,0, 109,0, 109,20, 0,20}, - sprite = "assets/platforms/starstorm-left-middle.png" + config = "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" + config = "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" + config = "starstorm-right-top" }, { x = 44, y = -2, - shape = {109,0, 0,0, 0,20, 109,20}, - sprite = "assets/platforms/starstorm-right-middle.png" + config = "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" + config = "starstorm-right-bottom" }, { x = -27, y = 40, - shape = {0,6, 53,6, 53,14, 0,14}, - sprite = "assets/platforms/starstorm-center.png" + config = "starstorm-center" } }, decorations = { -- cgit v1.1