]> Dogcows Code - chaz/yoink/blob - data/animations/Heroine.lua
fixed documentation about where to find licenses
[chaz/yoink] / data / animations / Heroine.lua
1
2 -- Animation sequences for the Heroine
3
4 print "loading Heroine animation sequences"
5
6
7 DefineSequence("Stand",
8 {
9 class = STAND,
10 delay = 1,
11 frames = {
12 { index = 1, duration = 4 },
13 { index = 3, duration = 0.1 },
14 { index = 1, duration = 0.1 },
15 { index = 3, duration = 0.1 },
16 { index = 1, duration = 2 },
17 { index = 0, duration = 2 },
18 { index = 1, duration = 0.1 },
19 { index = 2, duration = 2 },
20 { index = 1, duration = 3 },
21 { index = 3, duration = 0.1 },
22 { index = 1, duration = 0.1 },
23 { index = 3, duration = 0.1 },
24 { index = 1, duration = 2 },
25 { index = 0, duration = 4 },
26 { index = 1, duration = 0.1 },
27 { index = 2, duration = 3 },
28 { index = 1, duration = 0.1 },
29 { index = 0, duration = 1 },
30 { index = 1, duration = 2 },
31 { index = 3, duration = 0.1 },
32 { index = 1, duration = 0.1 },
33 { index = 3, duration = 0.1 }
34 }
35 })
36
37 DefineSequence("Blink",
38 {
39 class = STAND,
40 delay = 0.25,
41 following = "Stand",
42 frames = {
43 { index = 3, duration = 0.25 }
44 }
45 })
46
47 DefineSequence("Run",
48 {
49 class = RUN,
50 delay = 0.25,
51 frames = {
52 { index = 4 },
53 { index = 5 },
54 { index = 6 },
55 { index = 7 }
56 }
57 })
58
59 DefineSequence("StopRunning",
60 {
61 class = STAND,
62 delay = 10,
63 following = "Stand",
64 loop = true,
65 frames = {
66 { index = 8 }
67 }
68 })
69
70 DefineSequence("Jump",
71 {
72 class = JUMP,
73 following = "FlyDiagonallyUp",
74 delay = 0.25,
75 frames = {
76 { index = 9, duration = 0.25 }
77 }
78 })
79
80 DefineSequence("Land",
81 {
82 class = STAND,
83 delay = 0.5,
84 following = "StopRunning",
85 frames = {
86 { index = 9, duration = 0.25 }
87 }
88 })
89
90 DefineSequence("FlyDiagonallyUp",
91 {
92 class = FLY,
93 delay = 0.1,
94 frames = {
95 { index = 10 },
96 { index = 11 }
97 }
98 })
99
100 DefineSequence("FlyDiagonallyDown",
101 {
102 class = FLY,
103 delay = 0.1,
104 frames = {
105 { index = 12 },
106 { index = 13 }
107 }
108 })
109
110 DefineSequence("FlyStraightUp",
111 {
112 class = FLY,
113 delay = 0.1,
114 frames = {
115 { index = 0 }
116 }
117 })
118
119 DefineSequence("FlyHorizontally",
120 {
121 class = FLY,
122 frames = {
123 { index = 4 },
124 { index = 14 }
125 }
126 })
127
128 DefineSequence("StartCharging",
129 {
130 class = CHARGE,
131 delay = 0.2,
132 following = "Charge",
133 frames = {
134 { index = 21 }
135 }
136 })
137
138 DefineSequence("Charge",
139 {
140 class = CHARGE,
141 delay = 0.2,
142 loop = true,
143 frames = {
144 { index = 22 }
145 }
146 })
147
148 DefineSequence("FireCharge",
149 {
150 class = CHARGE,
151 delay = 0.2,
152 frames = {
153 { index = 23 }
154 }
155 })
156
157 DefineSequence("KnockedDown",
158 {
159 class = HIT,
160 delay = 0.1,
161 frames = {
162 { index = 17 },
163 { index = 18 }
164 }
165 })
166
167 DefineSequence("Flattened",
168 {
169 class = HIT,
170 delay = 1,
171 frames = {
172 { index = 19 }
173 }
174 })
175
This page took 0.043766 seconds and 5 git commands to generate.