summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-07 01:33:48 +0200
committerAki <nthirtyone@gmail.com>2017-09-07 01:33:48 +0200
commit52ffee5f446c9e237d3b7437dec34ce0dd9da9f1 (patch)
tree1442f53ab65af6715b052f36bbbbe72fbf8c4acc
parent7aa507c51e2893ff30965b9b2abd8072531441ac (diff)
downloadroflnauts-52ffee5f446c9e237d3b7437dec34ce0dd9da9f1.zip
roflnauts-52ffee5f446c9e237d3b7437dec34ce0dd9da9f1.tar.gz
roflnauts-52ffee5f446c9e237d3b7437dec34ce0dd9da9f1.tar.bz2
Rill translated to dev format
-rw-r--r--config/maps/rill.lua48
-rw-r--r--config/platforms/rill-center.lua5
-rw-r--r--config/platforms/rill-flat-left.lua5
-rw-r--r--config/platforms/rill-flat-right.lua5
-rw-r--r--config/platforms/rill-slope-left.lua5
-rw-r--r--config/platforms/rill-slope-right.lua5
6 files changed, 46 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"
+ }
}
}
diff --git a/config/platforms/rill-center.lua b/config/platforms/rill-center.lua
new file mode 100644
index 0000000..72104b3
--- /dev/null
+++ b/config/platforms/rill-center.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/rill-center.png",
+ shape = {0,0, 48,0, 47,15, 1,15}
+}
diff --git a/config/platforms/rill-flat-left.lua b/config/platforms/rill-flat-left.lua
new file mode 100644
index 0000000..f1fdd5e
--- /dev/null
+++ b/config/platforms/rill-flat-left.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/rill-flat-left.png",
+ shape = {0,0, 55,0, 55,11, 0,11}
+}
diff --git a/config/platforms/rill-flat-right.lua b/config/platforms/rill-flat-right.lua
new file mode 100644
index 0000000..8bf70a9
--- /dev/null
+++ b/config/platforms/rill-flat-right.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/rill-flat-right.png",
+ shape = {0,0, 55,0, 55,11, 0,11}
+}
diff --git a/config/platforms/rill-slope-left.lua b/config/platforms/rill-slope-left.lua
new file mode 100644
index 0000000..49052b4
--- /dev/null
+++ b/config/platforms/rill-slope-left.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/rill-slope-left.png",
+ shape = {77,30, 17,0, 0,0, 0,7, 77,44}
+}
diff --git a/config/platforms/rill-slope-right.lua b/config/platforms/rill-slope-right.lua
new file mode 100644
index 0000000..3eca829
--- /dev/null
+++ b/config/platforms/rill-slope-right.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/rill-slope-right.png",
+ shape = {0,30, 60,0, 77,0, 77,7, 0,44}
+}