summaryrefslogtreecommitdiffhomepage
path: root/config/maps/default.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-04-07 03:06:26 +0200
committerAki <nthirtyone@gmail.com>2017-04-07 03:06:26 +0200
commit54e85dd188af15cd5f3f5e08f5d3e69088a909b1 (patch)
tree7d188fd4142d8690321df69281ce8d5c55fbfa2b /config/maps/default.lua
parent37767d6c54ea6af0b4631b5ce838ee584603895e (diff)
downloadroflnauts-54e85dd188af15cd5f3f5e08f5d3e69088a909b1.zip
roflnauts-54e85dd188af15cd5f3f5e08f5d3e69088a909b1.tar.gz
roflnauts-54e85dd188af15cd5f3f5e08f5d3e69088a909b1.tar.bz2
Moved map configs to config directory
Diffstat (limited to 'config/maps/default.lua')
-rw-r--r--config/maps/default.lua47
1 files changed, 47 insertions, 0 deletions
diff --git a/config/maps/default.lua b/config/maps/default.lua
new file mode 100644
index 0000000..05b8dc9
--- /dev/null
+++ b/config/maps/default.lua
@@ -0,0 +1,47 @@
+-- Default map from original roflnauts
+return {
+ -- GENERAL
+ name = "default",
+ theme = "default.ogg",
+ center_x = 0,
+ center_y = 0,
+ width = 360,
+ height = 240,
+ -- RESPAWN POINTS
+ respawns = {
+ {x = -15, y = -80},
+ {x = -5, y = -80},
+ {x = 5, y = -80},
+ {x = 15, y = -80}
+ },
+ -- GRAPHICS
+ clouds = true,
+ background = "assets/backgrounds/default.png",
+ platforms = {
+ {
+ x = -91,
+ y = 0,
+ shape = {0,1, 180,1, 180,10, 95,76, 86,76, 0,10},
+ sprite = "assets/platforms/default-big.png"
+ },
+ {
+ x = 114,
+ y = 50,
+ shape = {0,1, 51,1, 51,18, 0,18},
+ sprite = "assets/platforms/default-side.png"
+ },
+ {
+ x = -166,
+ y = 50,
+ shape = {0,1, 51,1, 51,18, 0,18},
+ sprite = "assets/platforms/default-side.png"
+ },
+ {
+ x = -17,
+ y = -50,
+ shape = {0,1, 33,1, 33,14, 0,14},
+ sprite = "assets/platforms/default-top.png"
+ }
+ },
+ decorations = {}
+}