summaryrefslogtreecommitdiffhomepage
path: root/maps
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-01 14:55:22 +0200
committerAki <nthirtyone@gmail.com>2016-08-01 14:55:22 +0200
commit516c4c1cac0adc4dd9efec29f4fb29c8d85f07ce (patch)
tree5533eca3b0db61ee0ef795f3b18ae2f5ec2a5c3b /maps
parent8f0af7d599b47423b06216682bfaeb7e02b87b21 (diff)
downloadroflnauts-516c4c1cac0adc4dd9efec29f4fb29c8d85f07ce.zip
roflnauts-516c4c1cac0adc4dd9efec29f4fb29c8d85f07ce.tar.gz
roflnauts-516c4c1cac0adc4dd9efec29f4fb29c8d85f07ce.tar.bz2
Map assets files change
Diffstat (limited to 'maps')
-rw-r--r--maps/default.lua4
-rw-r--r--maps/ribbit.lua45
-rw-r--r--maps/rill.lua4
3 files changed, 49 insertions, 4 deletions
diff --git a/maps/default.lua b/maps/default.lua
index ee64830..4dcc1b5 100644
--- a/maps/default.lua
+++ b/maps/default.lua
@@ -15,7 +15,7 @@ return {
},
-- GRAPHICS
clouds = true,
- background = "assets/background-default.png",
+ background = "assets/backgrounds/default.png",
platforms = {
{
x = -91,
@@ -43,4 +43,4 @@ return {
}
},
decorations = {}
-} \ No newline at end of file
+}
diff --git a/maps/ribbit.lua b/maps/ribbit.lua
new file mode 100644
index 0000000..3480845
--- /dev/null
+++ b/maps/ribbit.lua
@@ -0,0 +1,45 @@
+return {
+ -- GENERAL
+ name = "ribbit",
+ center_x = 0,
+ center_y = 50,
+ 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/ribbit.png",
+ platforms = {
+ {
+ x = -154,
+ y = 10,
+ shape = {1,13, 48,13, 48,32, 1,32},
+ sprite = "assets/platforms/ribbit-left.png"
+ },
+ {
+ x = 67,
+ y = 7,
+ shape = {36,14, 83,14, 83,29, 36,29},
+ sprite = "assets/platforms/ribbit-right.png"
+ },
+ {
+ x = -70,
+ y = -5,
+ shape = {0,3, 140,3, 132,26, 8,26},
+ sprite = "assets/platforms/ribbit-top.png"
+ },
+ {
+ x = -54,
+ y = 63,
+ shape = {0,4, 108,4, 84,41, 24,41},
+ sprite = "assets/platforms/ribbit-bottom.png"
+ }
+ },
+ decorations = {}
+} \ No newline at end of file
diff --git a/maps/rill.lua b/maps/rill.lua
index bf915d3..9e87af9 100644
--- a/maps/rill.lua
+++ b/maps/rill.lua
@@ -14,7 +14,7 @@ return {
},
-- GRAPHICS
clouds = false,
- background = "assets/background-rill.png",
+ background = "assets/backgrounds/rill.png",
platforms = {
{
x = -120,
@@ -48,4 +48,4 @@ return {
}
},
decorations = {}
-} \ No newline at end of file
+}