diff options
author | Aki <nthirtyone@gmail.com> | 2017-04-09 22:07:04 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-04-09 22:07:04 +0200 |
commit | 0dd01913fe0eefc7ba4bc0797877f40fdedf9315 (patch) | |
tree | 8d270eb07f589d2487b3ce66d4865e5a4718042a /config/maps/alpha abyss.lua | |
parent | 55b0cf1a22e4a7e41fe00aa693445d6c4bd0652d (diff) | |
parent | a03c1125f10fbbad253a0efc4727072fcbd55345 (diff) | |
download | roflnauts-0dd01913fe0eefc7ba4bc0797877f40fdedf9315.zip roflnauts-0dd01913fe0eefc7ba4bc0797877f40fdedf9315.tar.gz roflnauts-0dd01913fe0eefc7ba4bc0797877f40fdedf9315.tar.bz2 |
Merge branch 'com'
Diffstat (limited to 'config/maps/alpha abyss.lua')
-rw-r--r-- | config/maps/alpha abyss.lua | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/config/maps/alpha abyss.lua b/config/maps/alpha abyss.lua new file mode 100644 index 0000000..0dd2c61 --- /dev/null +++ b/config/maps/alpha abyss.lua @@ -0,0 +1,75 @@ +-- The abyss of the alpha. +-- Animations +local animations_small = { + default = { + frames = 20, + repeated = true + } +} +local animations_big = { + default = { + frames = 20, + repeated = true + } +} +for i=1,10 do + local a = love.graphics.newQuad(i*118-118, 0, 118,51, 1180,51) + animations_big.default[i*2-1] = a + animations_big.default[i*2] = a + local a = love.graphics.newQuad(i*60-60, 0, 60,20, 600,20) + animations_small.default[i*2-1] = a + animations_small.default[i*2] = a +end +-- Map data +return { + -- GENERAL + name = "alpha abyss", + theme = "alpha.ogg", + center_x = 0, + center_y = -80, + width = 360, + height = 240, + -- RESPAWN POINTS + respawns = { + {x = -30, y = 0}, + {x = 30, y = 0}, + {x = 0, y = 0}, + {x = -120, y = -50}, + {x = 120, y = -50}, + {x = 0, y = -75} + }, + -- GRAPHICS + clouds = false, + background = "assets/backgrounds/alpha-1.png", + platforms = { + { + x = -60, + y = 0, + shape = {0,0, 117,0, 101,50, 16,50}, + sprite = "assets/platforms/alpha-big.png", + animations = animations_big + }, + { + x = -145, + y = -50, + shape = {0,0, 59,0, 59,19, 0,19}, + sprite = "assets/platforms/alpha-small.png", + animations = animations_small + }, + { + x = 85, + y = -50, + shape = {0,0, 59,0, 59,19, 0,19}, + sprite = "assets/platforms/alpha-small.png", + animations = animations_small + }, + { + x = -30, + y = -80, + shape = {0,0, 59,0, 59,19, 0,19}, + sprite = "assets/platforms/alpha-small.png", + animations = animations_small + } + }, + decorations = {} +} |