26 export Capsule flash {
29 alignmentCursor: <-32, 0>,
30 alignmentSprite: Sprite {
31 image: :"capsule-sprites.png",
45 classes: [ CapsuleClass
49 battleSprite: flashSprite1,
50 meleeAnimation: SimpleAnimation {
52 image: :"melee-maxim.png",
55 frametime: 66, // two "frames"
58 attackAnimation: ComplexAnimation {
60 frametime: fourFramesTime,
63 [ ComplexAnimationFrame
64 { column: 0, row: 1, disposition: < 0, -16> },
65 { column: 0, row: 0, disposition: < 0, -16> },
66 { column: 0, row: 1, disposition: < 0, -16> },
67 { column: 0, row: 0, disposition: < 0, -16> }
74 battleSprite: flashSprite2,
75 meleeAnimation: SimpleAnimation {
77 image: :"melee-maxim.png",
80 frametime: 66, // two "frames"
83 attackAnimation: ComplexAnimation {
85 frametime: fourFramesTime,
88 [ ComplexAnimationFrame
89 { column: 0, row: 1, disposition: < 0, -16> },
90 { column: 0, row: 0, disposition: < 0, -16> },
91 { column: 0, row: 1, disposition: < 0, -16> },
92 { column: 0, row: 0, disposition: < 0, -16> }
102 gut: 12, // TODO: this is probably higher, but clipped at 199
109 battleSprite: flashSprite3,
110 meleeAnimation: SimpleAnimation {
112 image: :"melee-maxim.png",
115 frametime: 66, // two "frames"
118 attackAnimation: ComplexAnimation {
119 sprite: flashSprite3,
120 frametime: fourFramesTime,
123 [ ComplexAnimationFrame
124 { column: 0, row: 1, disposition: < 0, -16> },
125 { column: 0, row: 0, disposition: < 0, -16> },
126 { column: 0, row: 1, disposition: < 0, -16> },
127 { column: 0, row: 0, disposition: < 0, -16> }
137 gut: 12, // TODO: this is probably higher, but clipped at 199
144 battleSprite: flashSprite4,
145 meleeAnimation: SimpleAnimation {
147 image: :"melee-maxim.png",
150 frametime: 66, // two "frames"
153 attackAnimation: ComplexAnimation {
154 sprite: flashSprite4,
155 frametime: fourFramesTime,
158 [ ComplexAnimationFrame
159 { column: 0, row: 1, disposition: < 0, -16> },
160 { column: 0, row: 0, disposition: < 0, -16> },
161 { column: 0, row: 1, disposition: < 0, -16> },
162 { column: 0, row: 0, disposition: < 0, -16> }
172 gut: 12, // TODO: this is probably higher, but clipped at 199
179 battleSprite: flashSpriteM,
180 meleeAnimation: SimpleAnimation {
182 image: :"melee-maxim.png",
185 frametime: 66, // two "frames"
188 attackAnimation: ComplexAnimation {
189 sprite: flashSpriteM,
190 frametime: fourFramesTime,
193 [ ComplexAnimationFrame
194 { column: 0, row: 1, disposition: < 0, -16> },
195 { column: 0, row: 0, disposition: < 0, -16> },
196 { column: 0, row: 1, disposition: < 0, -16> },
197 { column: 0, row: 0, disposition: < 0, -16> }
207 gut: 12, // TODO: this is probably higher, but clipped at 199