]> Dogcows Code - chaz/yoink/blobdiff - data/animations/Effects.lua
converted json sequences to lua
[chaz/yoink] / data / animations / Effects.lua
diff --git a/data/animations/Effects.lua b/data/animations/Effects.lua
new file mode 100644 (file)
index 0000000..d67fd3c
--- /dev/null
@@ -0,0 +1,66 @@
+
+-- Special effect animation sequences
+
+DefineSequence("Fireball",
+{
+       delay = 0.1,
+       frames = {
+               { index = 0 },
+               { index = 1 },
+               { index = 2 },
+               { index = 1 },
+               { index = 0 }
+       }
+})
+
+DefineSequence("Smoke",
+{
+       delay = 0.05,
+       loop = true,
+       frames = {
+               { index = 4 },
+               { index = 5 },
+               { index = 6 }
+       }
+})
+
+DefineSequence("GreenDiamond",
+{
+       delay = 0.05,
+       frames = {
+               { index = 7 },
+               { index = 8 },
+               { index = 9 },
+               { index = 10 },
+               { index = 11 }
+       }
+})
+
+DefineSequence("ChargeParticle",
+{
+       delay = 0.03,
+       loop = true,
+       frames = {
+               { index = 12 },
+               { index = 13 },
+               { index = 1 },
+               { index = 3 },
+               { index = 14 },
+               { index = 13 },
+               { index = 12 }
+       }
+})
+
+DefineSequence("Poof",
+{
+       delay = 0.05,
+       loop = true,
+       frames = {
+               { index = 23 },
+               { index = 24 },
+               { index = 25 },
+               { index = 26 },
+               { index = 27 }
+       }
+})
+
This page took 0.017994 seconds and 4 git commands to generate.