diff options
author | MilkingChicken <THECHEESEMEISTERS@GMAIL.COM> | 2017-09-24 19:42:22 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-24 19:42:22 +0200 |
commit | f67e67c50c85f943c032277e245e94b55be9ec1e (patch) | |
tree | 396306d89570f87f460378de6dbcc4c78b36c362 /config | |
parent | cb6a5f72859d2fdeebaa16998e3eef583cfa7c21 (diff) | |
download | roflnauts-f67e67c50c85f943c032277e245e94b55be9ec1e.zip roflnauts-f67e67c50c85f943c032277e245e94b55be9ec1e.tar.gz roflnauts-f67e67c50c85f943c032277e245e94b55be9ec1e.tar.bz2 |
Added animated background and clouds to Alpha Abyss
Diffstat (limited to 'config')
-rw-r--r-- | config/animations/background-alpha.lua | 17 | ||||
-rw-r--r-- | config/maps/alpha.lua | 94 |
2 files changed, 67 insertions, 44 deletions
diff --git a/config/animations/background-alpha.lua b/config/animations/background-alpha.lua new file mode 100644 index 0000000..019f661 --- /dev/null +++ b/config/animations/background-alpha.lua @@ -0,0 +1,17 @@ +return
+{
+ default = {
+ [1] = love.graphics.newQuad(0, 0, 320, 200, 3200, 200),
+ [2] = love.graphics.newQuad(320, 0, 320, 200, 3200, 200),
+ [3] = love.graphics.newQuad(640, 0, 320, 200, 3200, 200),
+ [4] = love.graphics.newQuad(960, 0, 320, 200, 3200, 200),
+ [5] = love.graphics.newQuad(1280, 0, 320, 200, 3200, 200),
+ [6] = love.graphics.newQuad(1600, 0, 320, 200, 3200, 200),
+ [7] = love.graphics.newQuad(1920, 0, 320, 200, 3200, 200),
+ [8] = love.graphics.newQuad(2240, 0, 320, 200, 3200, 200),
+ [9] = love.graphics.newQuad(2560, 0, 320, 200, 3200, 200),
+ [10] = love.graphics.newQuad(2880, 0, 320, 200, 3200, 200),
+ frames = 10,
+ repeated = true
+ }
+}
\ No newline at end of file diff --git a/config/maps/alpha.lua b/config/maps/alpha.lua index 43c12ee..b99adf3 100644 --- a/config/maps/alpha.lua +++ b/config/maps/alpha.lua @@ -1,44 +1,50 @@ -return -{ - name = "Alpha Abyss", - theme = "alpha.ogg", - portrait = "assets/maps/alpha.png", - available = true, - center = {x = 0, y = -80}, - width = 360, - height = 240, - 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} - }, - create = { - { - ratio = 0, - background = "assets/backgrounds/alpha.png", - }, - { - x = -60, - y = 0, - platform = "alpha-big", - }, - { - x = -145, - y = -50, - platform = "alpha-small", - }, - { - x = 85, - y = -50, - platform = "alpha-small", - }, - { - x = -30, - y = -80, - platform = "alpha-small", - } - }, -} +return
+{
+ name = "Alpha Abyss",
+ theme = "alpha.ogg",
+ portrait = "assets/maps/alpha.png",
+ available = true,
+ center = {x = 0, y = -80},
+ width = 360,
+ height = 240,
+ 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}
+ },
+ create = {
+ {
+ clouds = "assets/dust.png",
+ animations = "clouds-default",
+ count = 8,
+ },
+ {
+ ratio = 0,
+ background = "assets/backgrounds/alpha.png",
+ animations = "background-alpha"
+ },
+ {
+ x = -60,
+ y = 0,
+ platform = "alpha-big",
+ },
+ {
+ x = -145,
+ y = -50,
+ platform = "alpha-small",
+ },
+ {
+ x = 85,
+ y = -50,
+ platform = "alpha-small",
+ },
+ {
+ x = -30,
+ y = -80,
+ platform = "alpha-small",
+ }
+ },
+}
|