From d480978edd91e0b096c57fb151780a957587e06d Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 2 Sep 2017 21:08:08 +0200 Subject: First changes to map format, two samples --- config/maps/ribbit.lua | 12 +++++------- config/maps/starstorm.lua | 10 ++++------ 2 files changed, 9 insertions(+), 13 deletions(-) (limited to 'config/maps') diff --git a/config/maps/ribbit.lua b/config/maps/ribbit.lua index c3f5c78..a8a4366 100644 --- a/config/maps/ribbit.lua +++ b/config/maps/ribbit.lua @@ -1,19 +1,17 @@ -return { - -- GENERAL +return +{ name = "ribbit", theme = "ribbit.ogg", - center_x = 0, - center_y = 50, + portrait = 3, -- TODO: either separate portraits now or change `iconsList` and `menu/host`. + 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 = { @@ -43,4 +41,4 @@ return { } }, decorations = {} -} \ No newline at end of file +} diff --git a/config/maps/starstorm.lua b/config/maps/starstorm.lua index 7f00633..c74372f 100644 --- a/config/maps/starstorm.lua +++ b/config/maps/starstorm.lua @@ -1,12 +1,11 @@ -return { - -- CENTER AND SIZE +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,7 +14,6 @@ return { {x = -110, y = -70}, {x = 110, y = -70} }, - -- GRAPHICS clouds = false, background = "assets/backgrounds/starstorm.png", platforms = { -- cgit v1.1