summaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-08 22:19:12 +0200
committerAki <nthirtyone@gmail.com>2017-09-08 22:19:12 +0200
commit11dcd305ac4bf23f6fc2ddfe878376abaddefcac (patch)
treeaa984f46b45ccc151539e07fb3d251a6f3b5129e /config
parent15f6efaa556e32dafb72e22545fb7355002c1de3 (diff)
downloadroflnauts-11dcd305ac4bf23f6fc2ddfe878376abaddefcac.zip
roflnauts-11dcd305ac4bf23f6fc2ddfe878376abaddefcac.tar.gz
roflnauts-11dcd305ac4bf23f6fc2ddfe878376abaddefcac.tar.bz2
Sorona translated to dev format; Sorona's design changed
Diffstat (limited to 'config')
-rw-r--r--config/maps/sorona.lua70
-rw-r--r--config/platforms/sorona-button.lua5
-rw-r--r--config/platforms/sorona-medium.lua5
-rw-r--r--config/platforms/sorona-small.lua5
-rw-r--r--config/platforms/sorona-spiked.lua5
-rw-r--r--config/platforms/sorona-wide.lua5
6 files changed, 59 insertions, 36 deletions
diff --git a/config/maps/sorona.lua b/config/maps/sorona.lua
index 8ec4727..986d0c8 100644
--- a/config/maps/sorona.lua
+++ b/config/maps/sorona.lua
@@ -1,53 +1,51 @@
--- Sorona, but with the worms and such.
-return {
- -- GENERAL
- name = "sorona",
+return
+{
+ name = "Sorona",
theme = "sorona.ogg",
- center_x = 0,
- center_y = 0,
+ portrait = 6, -- TODO: See `maps/ribbit`.
+ center = {x = 0, y = 0},
width = 360,
height = 240,
- -- RESPAWN POINTS
respawns = {
- {x = -98, y = -70},
- {x = 70, y = -70},
- {x = -30, y = -20},
- {x = -90, y = 40},
+ {x = -10, y = -20},
+ {x = 0, y = -20},
+ {x = 10, y = -20}
},
- -- GRAPHICS
clouds = false,
- background = "assets/backgrounds/sorona.png",
- platforms = {
+ create = {
{
- x = -60,
- y = 0,
- shape = {0,1, 59,1, 59,17, 0,17},
- sprite = "assets/platforms/sorona-center.png"
+ ratio = 0,
+ background = "assets/backgrounds/sorona.png",
},
{
- x = -40,
- y = 55,
- shape = {3,0, 180,0, 180,20, 3,20},
- sprite = "assets/platforms/sorona-right-bottom.png"
+ x = -71,
+ y = 50,
+ platform = "sorona-wide"
},
{
- x = -120,
- y = 55,
- shape = {3,0, 62,0, 62,23, 3,23},
- sprite = "assets/platforms/sorona-left-bottom.png"
+ x = -84,
+ y = -5,
+ platform = "sorona-small"
},
{
- x = 0,
- y = -50,
- shape = {1,1, 140,1, 1,17, 140,17},
- sprite = "assets/platforms/sorona-right-top.png"
+ x = -50,
+ y = -4,
+ decoration = "assets/decorations/sorona-bridge-left.png"
},
{
- x = -150,
- y = -55,
- shape = {1,9, 106,9, 40,27, 1,27},
- sprite = "assets/platforms/sorona-left-top.png"
+ x = -14,
+ y = -4,
+ decoration = "assets/decorations/sorona-bridge-loop.png"
+ },
+ {
+ x = 14,
+ y = -4,
+ decoration = "assets/decorations/sorona-bridge-right.png"
+ },
+ {
+ x = 43,
+ y = -5,
+ platform = "sorona-small"
}
- },
- decorations = {}
+ }
}
diff --git a/config/platforms/sorona-button.lua b/config/platforms/sorona-button.lua
new file mode 100644
index 0000000..2ca3bae
--- /dev/null
+++ b/config/platforms/sorona-button.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/sorona-button.png",
+ shape = {0,1, 59,1, 59,17, 0,17}
+}
diff --git a/config/platforms/sorona-medium.lua b/config/platforms/sorona-medium.lua
new file mode 100644
index 0000000..50eaeeb
--- /dev/null
+++ b/config/platforms/sorona-medium.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/sorona-medium.png",
+ shape = {3,1, 61,1, 61,23, 3,23}
+}
diff --git a/config/platforms/sorona-small.lua b/config/platforms/sorona-small.lua
new file mode 100644
index 0000000..1a01c69
--- /dev/null
+++ b/config/platforms/sorona-small.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/sorona-small.png",
+ shape = {3,1, 39,1, 39,18, 3,18}
+}
diff --git a/config/platforms/sorona-spiked.lua b/config/platforms/sorona-spiked.lua
new file mode 100644
index 0000000..00d975b
--- /dev/null
+++ b/config/platforms/sorona-spiked.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/sorona-spiked.png",
+ shape = {1,9, 106,9, 40,27, 1,27}
+}
diff --git a/config/platforms/sorona-wide.lua b/config/platforms/sorona-wide.lua
new file mode 100644
index 0000000..d0916c9
--- /dev/null
+++ b/config/platforms/sorona-wide.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/sorona-wide.png",
+ shape = {1,1, 140,1, 1,17, 140,17}
+}