6 Number twoFramesTime 66
7 Number fourFramesTime 132
8 Number fiveFramesTime 165 // darn, i really need to implement expressions
10 export PartyLayout monstersLayout {
18 export PartyLayout heroesLayout {
28 image: :"monster.png",
32 export Monster lizard {
47 attackAnimation: ComplexAnimation {
49 frametime: fourFramesTime,
52 [ ComplexAnimationFrame
53 { column: 0, row: 1, disposition: < 0, 16> },
54 { column: 0, row: 0, disposition: < 0, 16> },
55 { column: 0, row: 1, disposition: < 0, 16> },
56 { column: 0, row: 0, disposition: < 0, 16> }
59 meleeAnimation: SimpleAnimation {
61 image: :"attack-monster.png",
91 attackAnimation: ComplexAnimation {
96 [ ComplexAnimationFrame
97 { column: 1, row: 0, disposition: < 0, 0> },
98 { column: 1, row: 0, disposition: < 0, 0> },
99 { column: 1, row: 0, disposition: < 0, 0> },
100 { column: 1, row: 0, disposition: < 0, 0> },
101 { column: 1, row: 0, disposition: < 0, 0> },
102 { column: 1, row: 0, disposition: < 0, 0> },
103 { column: 1, row: 0, disposition: < 0, 0> },
104 { column: 1, row: 0, disposition: < 4,-1> },
105 { column: 1, row: 0, disposition: < 4,-1> },
106 { column: 2, row: 0, disposition: < 4,-2> },
107 { column: 2, row: 0, disposition: < 4,-2> },
108 { column: 2, row: 0, disposition: < 6,-2> },
109 { column: 2, row: 0, disposition: < 6,-2> },
110 { column: 2, row: 1, disposition: < 6,-1> },
111 { column: 2, row: 1, disposition: < 3,-1> },
112 { column: 2, row: 1, disposition: < 3,-1> },
113 { column: 2, row: 1, disposition: < 0, 0> },
114 { column: 2, row: 2, disposition: < 0, 0> },
115 { column: 2, row: 2, disposition: < 0, 0> },
116 { column: 2, row: 2, disposition: < 2, 0> },
117 { column: 1, row: 0, disposition: < 0, 0> },
118 { column: 1, row: 0, disposition: < 0, 0> },
119 { column: 1, row: 0, disposition: < 0, 0> },
120 { column: 1, row: 0, disposition: < 0, 0> },
121 { column: 1, row: 0, disposition: < 0, 0> },
122 { column: 1, row: 0, disposition: < 0, 0> },
123 { column: 1, row: 0, disposition: < 0, 0> }
126 spellAnimation: ComplexAnimation {
128 frametime: fiveFramesTime,
131 [ ComplexAnimationFrame
132 { column: 3, row: 0, disposition: < 0, 0> },
133 { column: 3, row: 0, disposition: < 0, 0> },
134 { column: 3, row: 1, disposition: < 0, 0> }
137 meleeAnimation: SimpleAnimation {
139 image: :"melee-maxim.png",
142 frametime: twoFramesTime,
169 attackAnimation: ComplexAnimation {
171 frametime: frameTime,
174 [ ComplexAnimationFrame
175 { column: 1, row: 0, disposition: < 4, 0> },
176 { column: 1, row: 0, disposition: < 4, 0> },
177 { column: 1, row: 0, disposition: < 8, 2> },
178 { column: 2, row: 0, disposition: <10, 4> },
179 { column: 2, row: 0, disposition: <14, 4> },
180 { column: 2, row: 0, disposition: <12, 2> },
181 { column: 2, row: 0, disposition: <12, 2> },
182 { column: 2, row: 0, disposition: <12, 2> },
183 { column: 2, row: 1, disposition: <14, 2> },
184 { column: 2, row: 1, disposition: <14, 2> },
185 { column: 2, row: 1, disposition: < 2, 0> },
186 { column: 2, row: 2, disposition: <-2,-4> },
187 { column: 2, row: 2, disposition: <-8,-8> },
188 { column: 2, row: 2, disposition: < 0, 0> }
191 spellAnimation: ComplexAnimation {
193 frametime: frameTime,
196 [ ComplexAnimationFrame
197 { column: 3, row: 0, disposition: < 0, 0> },
198 { column: 3, row: 0, disposition: < 0, 0> },
199 { column: 3, row: 0, disposition: < 0, 0> },
200 { column: 3, row: 1, disposition: < 0, 0> },
201 { column: 3, row: 1, disposition: < 0, 0> },
202 { column: 3, row: 2, disposition: < 0, 0> },
203 { column: 3, row: 2, disposition: < 0, 0> },
204 { column: 3, row: 2, disposition: < 0, 0> },
205 { column: 3, row: 3, disposition: < 0, 0> },
206 { column: 3, row: 3, disposition: < 0, 0> }
209 meleeAnimation: SimpleAnimation {
211 image: :"melee-selan.png",
214 frametime: twoFramesTime,
241 attackAnimation: ComplexAnimation {
243 frametime: frameTime,
246 [ ComplexAnimationFrame
247 { column: 1, row: 0, disposition: <-4, 0> },
248 { column: 1, row: 0, disposition: <-4, 0> },
249 { column: 1, row: 0, disposition: <-8, 0> },
250 { column: 1, row: 0, disposition: <-8, 0> },
251 { column: 2, row: 0, disposition: <-8, 0> },
252 { column: 2, row: 0, disposition: <-8, 0> },
253 { column: 2, row: 0, disposition: <-4, 0> },
254 { column: 2, row: 0, disposition: < 0, 0> },
255 { column: 2, row: 0, disposition: < 0, 0> },
256 { column: 2, row: 1, disposition: < 0, 0> },
257 { column: 2, row: 1, disposition: < 4, 0> },
258 { column: 2, row: 1, disposition: <10, 0> },
259 { column: 2, row: 2, disposition: <10, 0> },
260 { column: 2, row: 2, disposition: < 0, 0> }
263 meleeAnimation: SimpleAnimation {
265 image: :"melee-guy.png",
268 frametime: fourFramesTime,
295 attackAnimation: ComplexAnimation {
297 frametime: frameTime,
300 [ ComplexAnimationFrame
301 { column: 1, row: 0, disposition: < 4, 0> },
302 { column: 1, row: 0, disposition: < 8, 2> },
303 { column: 2, row: 0, disposition: <12, 4> },
304 { column: 2, row: 0, disposition: <16, 4> },
305 { column: 2, row: 0, disposition: <10, 2> },
306 { column: 2, row: 0, disposition: <10, 2> },
307 { column: 2, row: 0, disposition: <10, 2> },
308 { column: 2, row: 0, disposition: <10, 2> },
309 { column: 2, row: 1, disposition: < 6, 2> },
310 { column: 2, row: 1, disposition: < 0, 0> },
311 { column: 2, row: 2, disposition: <-2, 0> },
312 { column: 2, row: 2, disposition: < 0, 0> },
313 { column: 2, row: 2, disposition: < 0, 0> },
314 { column: 2, row: 2, disposition: < 0, 0> }
317 spellAnimation: ComplexAnimation {
319 frametime: twoFramesTime,
322 [ ComplexAnimationFrame
323 { column: 3, row: 0, disposition: < 0, 0> },
324 { column: 3, row: 0, disposition: < 0, 0> },
325 { column: 3, row: 0, disposition: < 0, 0> },
326 { column: 3, row: 0, disposition: < 0, 0> },
327 { column: 3, row: 0, disposition: < 0, 0> },
328 { column: 3, row: 0, disposition: < 0, 0> },
329 { column: 3, row: 1, disposition: < 0, 0> },
330 { column: 3, row: 1, disposition: < 0, 0> },
331 { column: 3, row: 2, disposition: < 0, 0> },
332 { column: 3, row: 2, disposition: < 0, 0> },
333 { column: 3, row: 2, disposition: < 0, 0> }
336 meleeAnimation: SimpleAnimation {
338 image: :"melee-dekar.png",
341 frametime: twoFramesTime,
347 image: :"cursor-hand.png",
353 image: :"normal-font.png",
361 image: :"disabled-font.png",
367 export BattleResources battleResources {
369 image: :"swap-cursor.png",
372 attackIcons: Sprite {
373 image: :"attack-type-icons.png",
376 attackChoiceIcons: Sprite {
377 image: :"attack-choice-icons.png",
381 image: :"move-icons.png",
386 image: :"title-frame.png",
391 image: :"large-font.png",
397 numberAnimationPrototype: ComplexAnimation {
398 frametime: frameTime,
401 [ ComplexAnimationFrame
402 { column: 0, row: 0, disposition: < 0, 0> },
403 { column: 0, row: 0, disposition: < 0,-26> },
404 { column: 0, row: 0, disposition: < 0,-42> },
405 { column: 0, row: 0, disposition: < 0,-48> },
406 { column: 0, row: 0, disposition: < 0,-42> },
407 { column: 0, row: 0, disposition: < 0,-26> },
408 { column: 0, row: 0, disposition: < 0, 0> },
409 { column: 0, row: 0, disposition: < 0,-12> },
410 { column: 0, row: 0, disposition: < 0,-20> },
411 { column: 0, row: 0, disposition: < 0,-24> },
412 { column: 0, row: 0, disposition: < 0,-20> },
413 { column: 0, row: 0, disposition: < 0,-12> },
414 { column: 0, row: 0, disposition: < 0, 0> },
415 { column: 0, row: 0, disposition: < 0, -6> },
416 { column: 0, row: 0, disposition: < 0,-10> },
417 { column: 0, row: 0, disposition: < 0,-12> },
418 { column: 0, row: 0, disposition: < 0,-10> },
419 { column: 0, row: 0, disposition: < 0, -6> },
420 { column: 0, row: 0, disposition: < 0, 0> },
421 { column: 0, row: 0, disposition: < 0, 0> },
422 { column: 0, row: 0, disposition: < 0, 0> },
423 { column: 0, row: 0, disposition: < 0, 0> },
424 { column: 0, row: 0, disposition: < 0, 0> },
425 { column: 0, row: 0, disposition: < 0, 0> },
426 { column: 0, row: 0, disposition: < 0, 0> },
427 { column: 0, row: 0, disposition: < 0, 0> },
428 { column: 0, row: 0, disposition: < 0, 0> },
429 { column: 0, row: 0, disposition: < 0, 0> },
430 { column: 0, row: 0, disposition: < 0, 0> },
431 { column: 0, row: 0, disposition: < 0, 0> },
432 { column: 0, row: 0, disposition: < 0, 0> },
433 { column: 0, row: 0, disposition: < 0, 0> },
434 { column: 0, row: 0, disposition: < 0,-36> },
435 { column: 0, row: 0, disposition: < 0,-32> },
436 { column: 0, row: 0, disposition: < 0,-18> }
439 bigNumberSprite: Sprite {
440 image: :"big-numbers.png",
443 greenNumberSprite: Sprite {
444 image: :"big-green-numbers.png",
448 heroTagLabels: Sprite {
449 image: :"hero-tag-sprites.png",
464 image: :"numbers.png",
470 activeHeroTagFrame: Frame {
471 image: :"tag-frames.png",
474 heroTagFrame: Frame {
475 image: :"tag-frames.png",
480 smallHeroTagFrame: Frame {
481 image: :"small-tag-frame.png",
484 lastSmallHeroTagFrame: Frame {
485 image: :"small-tag-frame.png",
489 heroesBgColor: (24, 40, 49),
492 image: :"gauges.png",
501 image: :"gauges.png",
510 image: :"gauges.png",
520 image: :"select-frame.png",
523 normalFont: normalFont,
524 disabledFont: disabledFont,
526 image: :"cursor-hand.png",
530 weaponTargetCursor: Sprite {
531 image: :"targeting-icons.png",
534 magicTargetCursor: Sprite {
535 image: :"targeting-icons.png",
539 itemTargetCursor: Sprite {
540 image: :"targeting-icons.png",
545 weaponMenuIcon: swordIcon,
546 armorMenuIcon: armorIcon,
547 shieldMenuIcon: shieldIcon,
548 helmetMenuIcon: helmetIcon,
549 ringMenuIcon: ringIcon,
550 jewelMenuIcon: jewelIcon,
552 spellMenuHeadline: "Please choose a spell.",
553 spellMenuProperties: MenuProperties {
555 disabledFont: disabledFont,
567 itemMenuHeadline: "Please choose an item.",
568 itemMenuProperties: MenuProperties {
570 disabledFont: disabledFont,
582 ikariMenuHeadline: "Please choose equipment.",
583 ikariMenuProperties: MenuProperties {
585 disabledFont: disabledFont,
593 charsPerAdditionalText: 12,
594 additionalTextGap: 16
596 noEquipmentText: "No equip",
598 escapeText: "Escapes."