summaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-21 16:06:53 +0200
committerAki <nthirtyone@gmail.com>2017-09-21 16:06:53 +0200
commit453095b2e0b34cc4bd24671bc8abe6ff9279a318 (patch)
tree7b6a2d9dc154b1e3d1e70ed2b925457cafbb6997 /config
parentaf3696fd814baa786b66659e4c00410731fe292b (diff)
downloadroflnauts-453095b2e0b34cc4bd24671bc8abe6ff9279a318.zip
roflnauts-453095b2e0b34cc4bd24671bc8abe6ff9279a318.tar.gz
roflnauts-453095b2e0b34cc4bd24671bc8abe6ff9279a318.tar.bz2
Flames animations moved to separate config file
Diffstat (limited to 'config')
-rw-r--r--config/animations/flames.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/config/animations/flames.lua b/config/animations/flames.lua
new file mode 100644
index 0000000..62ecbb1
--- /dev/null
+++ b/config/animations/flames.lua
@@ -0,0 +1,21 @@
+return
+{
+ default = {
+ [1] = love.graphics.newQuad(0, 0, 42, 19, 168, 19),
+ [2] = love.graphics.newQuad(42, 0, 42, 19, 168, 19),
+ frames = 2,
+ repeated = true
+ },
+ fadein = {
+ [1] = love.graphics.newQuad(84, 0, 42, 19, 168, 19),
+ [2] = love.graphics.newQuad(126, 0, 42, 19, 168, 19),
+ frames = 2,
+ repeated = false
+ },
+ fadeout = {
+ [1] = love.graphics.newQuad(126, 0, 42, 19, 168, 19),
+ [2] = love.graphics.newQuad(84, 0, 42, 19, 168, 19),
+ frames = 2,
+ repeated = false
+ }
+}