diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-07 01:33:48 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-07 01:33:48 +0200 |
commit | 52ffee5f446c9e237d3b7437dec34ce0dd9da9f1 (patch) | |
tree | 1442f53ab65af6715b052f36bbbbe72fbf8c4acc /config/maps | |
parent | 7aa507c51e2893ff30965b9b2abd8072531441ac (diff) | |
download | roflnauts-52ffee5f446c9e237d3b7437dec34ce0dd9da9f1.zip roflnauts-52ffee5f446c9e237d3b7437dec34ce0dd9da9f1.tar.gz roflnauts-52ffee5f446c9e237d3b7437dec34ce0dd9da9f1.tar.bz2 |
Rill translated to dev format
Diffstat (limited to 'config/maps')
-rw-r--r-- | config/maps/rill.lua | 48 |
1 files changed, 21 insertions, 27 deletions
diff --git a/config/maps/rill.lua b/config/maps/rill.lua index 83c02f2..25af95d 100644 --- a/config/maps/rill.lua +++ b/config/maps/rill.lua @@ -1,73 +1,67 @@ -return { - -- CENTER AND SIZE - name = "rill", +return +{ + name = "Rill", theme = "rill.ogg", - center_x = 0, - center_y = 75, + portrait = 2, -- TODO: See `maps/ribbit`. + center = {x = 0, y = 75}, width = 400, height = 260, - -- RESPAWN POINTS respawns = { {x = -135, y = 10}, {x = -135, y = 10}, {x = 135, y = 10}, {x = 135, y = 10} }, - -- GRAPHICS clouds = false, - background = "assets/backgrounds/rill.png", - platforms = { + create = { + { + ratio = 0, + background = "assets/backgrounds/rill.png" + }, { x = -151, y = 25, - shape = {0,0, 55,0, 55,11, 0,11}, - sprite = "assets/platforms/rill-flat-left.png" + platform = "rill-flat-left" }, { x = 93, y = 25, - shape = {0,0, 55,0, 55,11, 0,11}, - sprite = "assets/platforms/rill-flat-right.png" + platform = "rill-flat-right" }, { x = -24, y = 55, - shape = {0,0, 48,0, 47,15, 1,15}, - sprite = "assets/platforms/rill-center.png" + platform = "rill-center" }, { x = -112, y = 80, - shape = {77,30, 17,0, 0,0, 0,7, 77,44}, - sprite = "assets/platforms/rill-slope-left.png" + platform = "rill-slope-left" }, { x = 35, y = 80, - shape = {0,30, 60,0, 77,0, 77,7, 0,44}, - sprite = "assets/platforms/rill-slope-right.png" - } - }, - decorations = { + platform = "rill-slope-right" + }, { x = 98, y = -20, - sprite = "assets/decorations/rill-lollipop-big-purple.png" + decoration = "assets/decorations/rill-lollipop-big-purple.png" }, { x = 127, y = 4, - sprite = "assets/decorations/rill-lollipop-small-green.png" + decoration = "assets/decorations/rill-lollipop-small-green.png" }, { x = -152, y = -20, - sprite = "assets/decorations/rill-lollipop-big-orange.png" + decoration = "assets/decorations/rill-lollipop-big-orange.png" }, { x = -121, y = 4, - sprite = "assets/decorations/rill-lollipop-small-blue.png" - }, + decoration = "assets/decorations/rill-lollipop-small-blue.png" + } } } |