summaryrefslogtreecommitdiffhomepage
path: root/config/maps/aiguillon.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-21 21:05:37 +0200
committerAki <nthirtyone@gmail.com>2017-09-21 21:05:37 +0200
commite9a450d65d4fb564691cdf651ef5771dd88303ae (patch)
treef49d29582dd6877f3b3c807c3f7d9d92d368f798 /config/maps/aiguillon.lua
parenteb8302723cd85adca0fbaf505cfb315f1db0299a (diff)
parentb97985def64b8bd8f93a7b391b12333595432e52 (diff)
downloadroflnauts-e9a450d65d4fb564691cdf651ef5771dd88303ae.zip
roflnauts-e9a450d65d4fb564691cdf651ef5771dd88303ae.tar.gz
roflnauts-e9a450d65d4fb564691cdf651ef5771dd88303ae.tar.bz2
Merge branch 'maps'
Diffstat (limited to 'config/maps/aiguillon.lua')
-rw-r--r--config/maps/aiguillon.lua47
1 files changed, 20 insertions, 27 deletions
diff --git a/config/maps/aiguillon.lua b/config/maps/aiguillon.lua
index 40d3928..c4f0ee3 100644
--- a/config/maps/aiguillon.lua
+++ b/config/maps/aiguillon.lua
@@ -1,58 +1,51 @@
-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 = {}
}