diff options
Diffstat (limited to 'maps')
-rw-r--r-- | maps/default.lua | 4 | ||||
-rw-r--r-- | maps/ribbit.lua | 45 | ||||
-rw-r--r-- | maps/rill.lua | 4 |
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 +} |