diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-03 01:55:35 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-03 01:55:35 +0200 |
commit | d2ba9f3c87589f167e715b17f6740977e1c29dff (patch) | |
tree | 9b0c8f14bdcd80cce1fb04ce8d01c23f2801ed92 /config/maps/ribbit.lua | |
parent | 2757fa1de92f2eff8be080721a7f777086afa072 (diff) | |
download | roflnauts-d2ba9f3c87589f167e715b17f6740977e1c29dff.zip roflnauts-d2ba9f3c87589f167e715b17f6740977e1c29dff.tar.gz roflnauts-d2ba9f3c87589f167e715b17f6740977e1c29dff.tar.bz2 |
More map config and loading changes
Decorations, platforms and background are now created and stored in config together
Diffstat (limited to 'config/maps/ribbit.lua')
-rw-r--r-- | config/maps/ribbit.lua | 18 |
1 files changed, 10 insertions, 8 deletions
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 = {} + } } |