summaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/maps/aiguillon.lua46
-rw-r--r--config/platforms/aiguillon-left-big.lua5
-rw-r--r--config/platforms/aiguillon-left-small.lua5
-rw-r--r--config/platforms/aiguillon-middle.lua5
-rw-r--r--config/platforms/aiguillon-right-big.lua5
-rw-r--r--config/platforms/aiguillon-right-small.lua5
-rw-r--r--config/platforms/aiguillon-wide.lua5
7 files changed, 50 insertions, 26 deletions
diff --git a/config/maps/aiguillon.lua b/config/maps/aiguillon.lua
index 40d3928..3fc3d3a 100644
--- a/config/maps/aiguillon.lua
+++ b/config/maps/aiguillon.lua
@@ -1,58 +1,52 @@
-return {
- -- CENTER AND SIZE
- name = "aiguillon",
+return
+{
+ name = "Aiguillon",
theme = "aiguillon.ogg",
- center_x = 0,
- center_y = 10,
+ portrait = 5, -- TODO: See `maps/ribbit`.
+ center = {x = 0, y = 10},
width = 370,
height = 290,
- -- RESPAWN POINTS
respawns = {
- {x = 0, y = -80},
- {x = 0, y = -80},
- {x = 0, y = -80},
- {x = 0, y = -80},
+ {x = -15, y = -80},
+ {x = -5, y = -80},
+ {x = 5, y = -80},
+ {x = 15, y = -80},
},
- -- GRAPHICS
clouds = false,
- background = "assets/backgrounds/aiguillon.png",
- platforms = {
+ create = {
+ {
+ ratio = 0,
+ background = "assets/backgrounds/aiguillon.png"
+ },
{
x = -108,
y = 22,
- shape = {1,0, 212,0, 212,12, 206,18, 14,18, 1,12},
- sprite = "assets/platforms/aiguillon-wide.png"
+ platform = "aiguillon-wide"
},
{
x = -46,
y = -19,
- shape = {1,0, 87,0, 87,18, 14,18, 1,12},
- sprite = "assets/platforms/aiguillon-middle.png"
+ platform = "aiguillon-middle"
},
{
x = -141,
y = -57,
- shape = {1,0, 50,0, 50,18, 5,18, 1,13},
- sprite = "assets/platforms/aiguillon-left-big.png"
+ platform = "aiguillon-left-big"
},
{
x = -132,
y = 84,
- shape = {1,0, 25,0, 25,18, 1,18},
- sprite = "assets/platforms/aiguillon-left-small.png"
+ platform = "aiguillon-left-small"
},
{
x = 77,
y = -57,
- shape = {1,0, 50,0, 50,12, 37,18, 1,18},
- sprite = "assets/platforms/aiguillon-right-big.png"
+ platform = "aiguillon-right-big"
},
{
x = 103,
y = 84,
- shape = {1,0, 25,0, 25,18, 1,18},
- sprite = "assets/platforms/aiguillon-right-small.png"
+ platform = "aiguillon-right-small"
}
},
- decorations = {}
}
diff --git a/config/platforms/aiguillon-left-big.lua b/config/platforms/aiguillon-left-big.lua
new file mode 100644
index 0000000..41ae46d
--- /dev/null
+++ b/config/platforms/aiguillon-left-big.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/aiguillon-left-big.png",
+ shape = {1,0, 50,0, 50,18, 5,18, 1,13}
+}
diff --git a/config/platforms/aiguillon-left-small.lua b/config/platforms/aiguillon-left-small.lua
new file mode 100644
index 0000000..7495374
--- /dev/null
+++ b/config/platforms/aiguillon-left-small.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/aiguillon-left-small.png",
+ shape = {1,0, 25,0, 25,18, 1,18}
+}
diff --git a/config/platforms/aiguillon-middle.lua b/config/platforms/aiguillon-middle.lua
new file mode 100644
index 0000000..9107dcd
--- /dev/null
+++ b/config/platforms/aiguillon-middle.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/aiguillon-middle.png",
+ shape = {1,0, 87,0, 87,18, 14,18, 1,12}
+}
diff --git a/config/platforms/aiguillon-right-big.lua b/config/platforms/aiguillon-right-big.lua
new file mode 100644
index 0000000..e5d525b
--- /dev/null
+++ b/config/platforms/aiguillon-right-big.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/aiguillon-right-big.png",
+ shape = {1,0, 50,0, 50,12, 37,18, 1,18}
+}
diff --git a/config/platforms/aiguillon-right-small.lua b/config/platforms/aiguillon-right-small.lua
new file mode 100644
index 0000000..b0baf3d
--- /dev/null
+++ b/config/platforms/aiguillon-right-small.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/aiguillon-right-small.png",
+ shape = {1,0, 25,0, 25,18, 1,18}
+}
diff --git a/config/platforms/aiguillon-wide.lua b/config/platforms/aiguillon-wide.lua
new file mode 100644
index 0000000..7b653a2
--- /dev/null
+++ b/config/platforms/aiguillon-wide.lua
@@ -0,0 +1,5 @@
+return
+{
+ sprite = "assets/platforms/aiguillon-wide.png",
+ shape = {1,0, 212,0, 212,12, 206,18, 14,18, 1,12}
+}