summaryrefslogtreecommitdiffhomepage
path: root/maps/alpha abyss.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-01-20 14:24:50 +0100
committerAki <nthirtyone@gmail.com>2017-01-20 14:24:50 +0100
commitff957be7d38a3143aa89a798184a975af00998bc (patch)
treeb038c8d9acbdbfb4d1cabe0a3865501e1b1dd131 /maps/alpha abyss.lua
parent444eaa53c31704186cf38dbadfab1a5f014b78b4 (diff)
downloadroflnauts-ff957be7d38a3143aa89a798184a975af00998bc.zip
roflnauts-ff957be7d38a3143aa89a798184a975af00998bc.tar.gz
roflnauts-ff957be7d38a3143aa89a798184a975af00998bc.tar.bz2
Animated platform test for Abyss small
Diffstat (limited to 'maps/alpha abyss.lua')
-rw-r--r--maps/alpha abyss.lua25
1 files changed, 22 insertions, 3 deletions
diff --git a/maps/alpha abyss.lua b/maps/alpha abyss.lua
index a3b6153..2df6adc 100644
--- a/maps/alpha abyss.lua
+++ b/maps/alpha abyss.lua
@@ -1,4 +1,20 @@
-- The abyss of the alpha.
+local animations_small = {
+ default = {
+ [1] = love.graphics.newQuad(0, 0, 60,20, 600,20),
+ [2] = love.graphics.newQuad(60, 0, 60,20, 600,20),
+ [3] = love.graphics.newQuad(120, 0, 60,20, 600,20),
+ [4] = love.graphics.newQuad(180, 0, 60,20, 600,20),
+ [5] = love.graphics.newQuad(240, 0, 60,20, 600,20),
+ [6] = love.graphics.newQuad(300, 0, 60,20, 600,20),
+ [7] = love.graphics.newQuad(360, 0, 60,20, 600,20),
+ [8] = love.graphics.newQuad(420, 0, 60,20, 600,20),
+ [9] = love.graphics.newQuad(480, 0, 60,20, 600,20),
+ [10] = love.graphics.newQuad(540, 0, 60,20, 600,20),
+ frames = 10,
+ repeated = true
+ }
+}
return {
-- GENERAL
name = "alpha abyss",
@@ -30,19 +46,22 @@ return {
x = -145,
y = -50,
shape = {0,0, 59,0, 59,19, 0,19},
- sprite = "assets/platforms/alpha-small-1.png"
+ 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-1.png"
+ 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-1.png"
+ sprite = "assets/platforms/alpha-small.png",
+ animations = animations_small
}
},
decorations = {}