2 Number twoFramesTime 66
3 Number fourFramesTime 132
4 Number fiveFramesTime 165 // darn, i really need to implement expressions
6 export PartyLayout monstersLayout {
14 export PartyLayout heroesLayout {
24 // using pathes relative to project root until path resolution is implemented
25 image: "test-data/monster.png",
29 export Monster lizard {
44 attackAnimation: ComplexAnimation {
46 frametime: fourFramesTime,
49 { column: 0, row: 1, disposition: < 0, 16> },
50 { column: 0, row: 0, disposition: < 0, 16> },
51 { column: 0, row: 1, disposition: < 0, 16> },
52 { column: 0, row: 0, disposition: < 0, 16> }
55 meleeAnimation: SimpleAnimation {
57 image: "test-data/attack-monster.png",
66 image: "test-data/maxim.png",
87 attackAnimation: ComplexAnimation {
92 { column: 1, row: 0, disposition: < 0, 0> },
93 { column: 1, row: 0, disposition: < 0, 0> },
94 { column: 1, row: 0, disposition: < 0, 0> },
95 { column: 1, row: 0, disposition: < 0, 0> },
96 { column: 1, row: 0, disposition: < 0, 0> },
97 { column: 1, row: 0, disposition: < 0, 0> },
98 { column: 1, row: 0, disposition: < 0, 0> },
99 { column: 1, row: 0, disposition: < 4,-1> },
100 { column: 1, row: 0, disposition: < 4,-1> },
101 { column: 2, row: 0, disposition: < 4,-2> },
102 { column: 2, row: 0, disposition: < 4,-2> },
103 { column: 2, row: 0, disposition: < 6,-2> },
104 { column: 2, row: 0, disposition: < 6,-2> },
105 { column: 2, row: 1, disposition: < 6,-1> },
106 { column: 2, row: 1, disposition: < 3,-1> },
107 { column: 2, row: 1, disposition: < 3,-1> },
108 { column: 2, row: 1, disposition: < 0, 0> },
109 { column: 2, row: 2, disposition: < 0, 0> },
110 { column: 2, row: 2, disposition: < 0, 0> },
111 { column: 2, row: 2, disposition: < 2, 0> },
112 { column: 1, row: 0, disposition: < 0, 0> },
113 { column: 1, row: 0, disposition: < 0, 0> },
114 { column: 1, row: 0, disposition: < 0, 0> },
115 { column: 1, row: 0, disposition: < 0, 0> },
116 { column: 1, row: 0, disposition: < 0, 0> },
117 { column: 1, row: 0, disposition: < 0, 0> },
118 { column: 1, row: 0, disposition: < 0, 0> }
121 spellAnimation: ComplexAnimation {
123 frametime: fiveFramesTime,
126 { column: 3, row: 0, disposition: < 0, 0> },
127 { column: 3, row: 0, disposition: < 0, 0> },
128 { column: 3, row: 1, disposition: < 0, 0> }
131 meleeAnimation: SimpleAnimation {
133 image: "test-data/melee-maxim.png",
136 frametime: twoFramesTime,
142 image: "test-data/selan.png",
163 attackAnimation: ComplexAnimation {
165 frametime: frameTime,
168 { column: 1, row: 0, disposition: < 4, 0> },
169 { column: 1, row: 0, disposition: < 4, 0> },
170 { column: 1, row: 0, disposition: < 8, 2> },
171 { column: 2, row: 0, disposition: <10, 4> },
172 { column: 2, row: 0, disposition: <14, 4> },
173 { column: 2, row: 0, disposition: <12, 2> },
174 { column: 2, row: 0, disposition: <12, 2> },
175 { column: 2, row: 0, disposition: <12, 2> },
176 { column: 2, row: 1, disposition: <14, 2> },
177 { column: 2, row: 1, disposition: <14, 2> },
178 { column: 2, row: 1, disposition: < 2, 0> },
179 { column: 2, row: 2, disposition: <-2,-4> },
180 { column: 2, row: 2, disposition: <-8,-8> },
181 { column: 2, row: 2, disposition: < 0, 0> }
184 spellAnimation: ComplexAnimation {
186 frametime: frameTime,
189 { column: 3, row: 0, disposition: < 0, 0> },
190 { column: 3, row: 0, disposition: < 0, 0> },
191 { column: 3, row: 0, disposition: < 0, 0> },
192 { column: 3, row: 1, disposition: < 0, 0> },
193 { column: 3, row: 1, disposition: < 0, 0> },
194 { column: 3, row: 2, disposition: < 0, 0> },
195 { column: 3, row: 2, disposition: < 0, 0> },
196 { column: 3, row: 2, disposition: < 0, 0> },
197 { column: 3, row: 3, disposition: < 0, 0> },
198 { column: 3, row: 3, disposition: < 0, 0> }
201 meleeAnimation: SimpleAnimation {
203 image: "test-data/melee-selan.png",
206 frametime: twoFramesTime,
212 image: "test-data/guy.png",
233 attackAnimation: ComplexAnimation {
235 frametime: frameTime,
238 { column: 1, row: 0, disposition: <-4, 0> },
239 { column: 1, row: 0, disposition: <-4, 0> },
240 { column: 1, row: 0, disposition: <-8, 0> },
241 { column: 1, row: 0, disposition: <-8, 0> },
242 { column: 2, row: 0, disposition: <-8, 0> },
243 { column: 2, row: 0, disposition: <-8, 0> },
244 { column: 2, row: 0, disposition: <-4, 0> },
245 { column: 2, row: 0, disposition: < 0, 0> },
246 { column: 2, row: 0, disposition: < 0, 0> },
247 { column: 2, row: 1, disposition: < 0, 0> },
248 { column: 2, row: 1, disposition: < 4, 0> },
249 { column: 2, row: 1, disposition: <10, 0> },
250 { column: 2, row: 2, disposition: <10, 0> },
251 { column: 2, row: 2, disposition: < 0, 0> }
254 meleeAnimation: SimpleAnimation {
256 image: "test-data/melee-guy.png",
259 frametime: fourFramesTime,
265 image: "test-data/dekar.png",
286 attackAnimation: ComplexAnimation {
288 frametime: frameTime,
291 { column: 1, row: 0, disposition: < 4, 0> },
292 { column: 1, row: 0, disposition: < 8, 2> },
293 { column: 2, row: 0, disposition: <12, 4> },
294 { column: 2, row: 0, disposition: <16, 4> },
295 { column: 2, row: 0, disposition: <10, 2> },
296 { column: 2, row: 0, disposition: <10, 2> },
297 { column: 2, row: 0, disposition: <10, 2> },
298 { column: 2, row: 0, disposition: <10, 2> },
299 { column: 2, row: 1, disposition: < 6, 2> },
300 { column: 2, row: 1, disposition: < 0, 0> },
301 { column: 2, row: 2, disposition: <-2, 0> },
302 { column: 2, row: 2, disposition: < 0, 0> },
303 { column: 2, row: 2, disposition: < 0, 0> },
304 { column: 2, row: 2, disposition: < 0, 0> }
307 spellAnimation: ComplexAnimation {
309 frametime: twoFramesTime,
312 { column: 3, row: 0, disposition: < 0, 0> },
313 { column: 3, row: 0, disposition: < 0, 0> },
314 { column: 3, row: 0, disposition: < 0, 0> },
315 { column: 3, row: 0, disposition: < 0, 0> },
316 { column: 3, row: 0, disposition: < 0, 0> },
317 { column: 3, row: 0, disposition: < 0, 0> },
318 { column: 3, row: 1, disposition: < 0, 0> },
319 { column: 3, row: 1, disposition: < 0, 0> },
320 { column: 3, row: 2, disposition: < 0, 0> },
321 { column: 3, row: 2, disposition: < 0, 0> },
322 { column: 3, row: 2, disposition: < 0, 0> }
325 meleeAnimation: SimpleAnimation {
327 image: "test-data/melee-dekar.png",
330 frametime: twoFramesTime,
335 export Sprite swapCursor {
336 image: "test-data/swap-cursor.png",
339 export Sprite attackIcons {
340 image: "test-data/attack-type-icons.png",
343 export Sprite attackChoiceIcons {
344 image: "test-data/attack-choice-icons.png",
347 export Sprite moveIcons {
348 image: "test-data/move-icons.png",
352 export Frame titleFrame {
353 image: "test-data/title-frame.png",
357 export Font largeFont {
359 image: "test-data/large-font.png",
365 export ComplexAnimation numberAnimationPrototype {
366 frametime: frameTime,
369 { column: 0, row: 0, disposition: < 0, 0> },
370 { column: 0, row: 0, disposition: < 0,-26> },
371 { column: 0, row: 0, disposition: < 0,-42> },
372 { column: 0, row: 0, disposition: < 0,-48> },
373 { column: 0, row: 0, disposition: < 0,-42> },
374 { column: 0, row: 0, disposition: < 0,-26> },
375 { column: 0, row: 0, disposition: < 0, 0> },
376 { column: 0, row: 0, disposition: < 0,-12> },
377 { column: 0, row: 0, disposition: < 0,-20> },
378 { column: 0, row: 0, disposition: < 0,-24> },
379 { column: 0, row: 0, disposition: < 0,-20> },
380 { column: 0, row: 0, disposition: < 0,-12> },
381 { column: 0, row: 0, disposition: < 0, 0> },
382 { column: 0, row: 0, disposition: < 0, -6> },
383 { column: 0, row: 0, disposition: < 0,-10> },
384 { column: 0, row: 0, disposition: < 0,-12> },
385 { column: 0, row: 0, disposition: < 0,-10> },
386 { column: 0, row: 0, disposition: < 0, -6> },
387 { column: 0, row: 0, disposition: < 0, 0> },
388 { column: 0, row: 0, disposition: < 0, 0> },
389 { column: 0, row: 0, disposition: < 0, 0> },
390 { column: 0, row: 0, disposition: < 0, 0> },
391 { column: 0, row: 0, disposition: < 0, 0> },
392 { column: 0, row: 0, disposition: < 0, 0> },
393 { column: 0, row: 0, disposition: < 0, 0> },
394 { column: 0, row: 0, disposition: < 0, 0> },
395 { column: 0, row: 0, disposition: < 0, 0> },
396 { column: 0, row: 0, disposition: < 0, 0> },
397 { column: 0, row: 0, disposition: < 0, 0> },
398 { column: 0, row: 0, disposition: < 0, 0> },
399 { column: 0, row: 0, disposition: < 0, 0> },
400 { column: 0, row: 0, disposition: < 0, 0> },
401 { column: 0, row: 0, disposition: < 0,-36> },
402 { column: 0, row: 0, disposition: < 0,-32> },
403 { column: 0, row: 0, disposition: < 0,-18> }
406 export Sprite bigNumbers {
407 image: "test-data/big-numbers.png",
410 export Sprite bigGreenNumbers {
411 image: "test-data/big-green-numbers.png",
415 export Sprite heroTagLabels {
416 image: "test-data/hero-tag-sprites.png",
419 export Font heroTagFont {
421 image: "test-data/numbers.png",
427 export Frame activeHeroTagFrame {
428 image: "test-data/tag-frames.png",
431 export Frame heroTagFrame {
432 image: "test-data/tag-frames.png",
437 export Frame smallHeroTagFrame {
438 image: "test-data/small-tag-frame.png",
441 export Frame lastSmallHeroTagFrame {
442 image: "test-data/small-tag-frame.png",