From d2ba9f3c87589f167e715b17f6740977e1c29dff Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 3 Sep 2017 01:55:35 +0200 Subject: More map config and loading changes Decorations, platforms and background are now created and stored in config together --- config/maps/ribbit.lua | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'config/maps/ribbit.lua') diff --git a/config/maps/ribbit.lua b/config/maps/ribbit.lua index 48e84c8..40ae355 100644 --- a/config/maps/ribbit.lua +++ b/config/maps/ribbit.lua @@ -13,28 +13,30 @@ return {x = 15, y = -80} }, clouds = false, - background = "assets/backgrounds/ribbit.png", - platforms = { + create = { + { + ratio = 0, + background = "assets/backgrounds/ribbit.png" + }, { x = -154, y = 10, - config = "ribbit-left" + platform = "ribbit-left" }, { x = 67, y = 7, - config = "ribbit-right" + platform = "ribbit-right" }, { x = -70, y = -5, - config = "ribbit-top" + platform = "ribbit-top" }, { x = -54, y = 63, - config = "ribbit-bottom" + platform = "ribbit-bottom" } - }, - decorations = {} + } } -- cgit v1.1