victory.xml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <!--
  3. Copyright (c) 2003-onwards Shaven Puppy Ltd
  4. All rights reserved.
  5. Redistribution and use in source and binary forms, with or without
  6. modification, are permitted provided that the following conditions are
  7. met:
  8. * Redistributions of source code must retain the above copyright
  9. notice, this list of conditions and the following disclaimer.
  10. * Redistributions in binary form must reproduce the above copyright
  11. notice, this list of conditions and the following disclaimer in the
  12. documentation and/or other materials provided with the distribution.
  13. * Neither the name of 'Shaven Puppy' nor the names of its contributors
  14. may be used to endorse or promote products derived from this software
  15. without specific prior written permission.
  16. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  17. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  18. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  19. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  20. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  21. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  22. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  23. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  24. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  25. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  26. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27. -->
  28. <!-- Completed the whole game screen (pile of dead gidrahs with humans atop) -->
  29. <resources>
  30. <include resource="victory-anim.xml" />
  31. <!-- eyes -->
  32. <animation name="victory.custerd.eye.anim">
  33. <animcolor a="255" d="0" />
  34. <frame i="spriteimage.victory.eye.06" d="0" />
  35. <sub id="victory.eye.scroll.anim"/>
  36. <frame i="spriteimage.victory.eye.05" d="8"/>
  37. <label id="start"/>
  38. <frame i="spriteimage.victory.eye.04" d="8" />
  39. <frame i="spriteimage.victory.eye.05" d="8" />
  40. <frame i="spriteimage.victory.eye.06" d="8" />
  41. <frame i="spriteimage.victory.eye.05" d="8" />
  42. <frame i="spriteimage.victory.eye.04" d="8" />
  43. <frame i="spriteimage.victory.eye.01" d="8" />
  44. <random>
  45. <dest id="start" n="7"/>
  46. <dest id="blink"/>
  47. </random>
  48. <label id="blink"/>
  49. <frame i="spriteimage.victory.eye.03" d="50" />
  50. <frame i="spriteimage.victory.eye.02" d="6" />
  51. <frame i="spriteimage.victory.eye.01" d="6" />
  52. <goto id="start"/>
  53. </animation>
  54. <animation name="victory.tech.eyes.anim">
  55. <animcolor a="255" d="0" />
  56. <frame i="spriteimage.victory.tech.eyes.01" d="0" />
  57. <sub id="victory.eyes.scroll.anim"/>
  58. </animation>
  59. <!-- fireworks -->
  60. <emitter
  61. name="firework.bang.emitter"
  62. duration="1.0"
  63. particlesPerTick="5.0, 30.0"
  64. appearance="glitter.animation"
  65. layer="5"
  66. subLayer="6"
  67. velocity="6.0"
  68. acceleration="-0.2, -0.22"
  69. startScale="0.5"
  70. scale="0.65"
  71. endScale="0.5"
  72. gravityX="-0.001, 0.001"
  73. gravityY="-0.0005, -0.005"
  74. particleDuration="32.0, 48.0"
  75. fadeDuration="65.0, 200.0"
  76. startHue="0.75"
  77. startSaturation="1.0"
  78. startBrightness="1.0"
  79. endHue="0.25"
  80. endSaturation="1.0"
  81. endBrightness="1.0"
  82. delay="1.0"
  83. rotate="true"
  84. emitterScale="0.7"
  85. doYOffset="true"
  86. />
  87. <emitter
  88. name="firework.bang.smoke.ring.emitter"
  89. duration="5.0, 10.0"
  90. particlesPerTick="-1.0, 2.0"
  91. appearance="smoke.glowing.alpha.animation"
  92. layer="5"
  93. radius="0.0, 8.0"
  94. startScale="0.5, 0.6"
  95. scale="0.7, 0.8"
  96. endScale="1.5, 2.5"
  97. gravityX="-0.005, 0.005"
  98. gravityY="0.001, 0.005"
  99. particleDuration="8.0, 32.0"
  100. fadeDuration="32.0, 128.0"
  101. startHue="0.8"
  102. startSaturation="1.0"
  103. startBrightness="0.5"
  104. endHue="0.25"
  105. endSaturation="1.0"
  106. endBrightness="0.1, 0.3"
  107. delay="20.0"
  108. emitterScale="0.4"
  109. doYOffset="true"
  110. />
  111. <emitter
  112. name="firework.bang.smoke.emitter"
  113. duration="1.0"
  114. particlesPerTick="4.0, 8.0"
  115. appearance="smoke.glowing.alpha.animation"
  116. layer="5"
  117. velocity="1.0, 3.0"
  118. acceleration="-0.1, -0.2"
  119. radius="0.0, 16.0"
  120. startScale="0.5, 0.6"
  121. scale="0.9, 1.0"
  122. endScale="1.5, 2.5"
  123. gravityX="-0.005, 0.005"
  124. gravityY="-0.001, -0.005"
  125. particleDuration="8.0, 24.0"
  126. fadeDuration="32.0, 128.0"
  127. startHue="0.8"
  128. startSaturation="1.0"
  129. startBrightness="1.0"
  130. endHue="0.25"
  131. endSaturation="1.0"
  132. endBrightness="0.5, 1.0"
  133. angle="80.0, 100.0"
  134. delay="1.0"
  135. rotate="true"
  136. relativeRotate="true"
  137. emitterScale="0.6"
  138. doYOffset="true"
  139. />
  140. <emitter
  141. name="firework.flash.emitter"
  142. duration="2"
  143. particlesPerTick="2"
  144. maxParticles="2"
  145. appearance="spriteimage.particle.light.64px.02"
  146. layer="6"
  147. startScale="1.5, 2.0"
  148. scale="3.0, 4.0"
  149. endScale="10.0, 12.0"
  150. gravityY="0.01, 0.03"
  151. particleDuration="20.0"
  152. fadeDuration="24.0, 64.0"
  153. startHue="0.8"
  154. startSaturation="0.5, 1.0"
  155. startBrightness="1.0"
  156. endHue="0.25"
  157. endSaturation="1.0"
  158. endBrightness="0.3"
  159. angle="90.0"
  160. delay="90.0"
  161. doYOffset="true"
  162. />
  163. <emitter name="firework.emitter"
  164. duration="2.0"
  165. particlesPerTick="1.0"
  166. maxParticles="1"
  167. appearance="spriteimage.particle.glowing.4px.01"
  168. layer="5"
  169. subLayer="6"
  170. velocity="6.0"
  171. acceleration="-0.06"
  172. startScale="0.8, 1.0"
  173. scale="0.7, 0.8"
  174. endScale="0.6"
  175. gravityX="0.0"
  176. gravityY="-0.01"
  177. particleDuration="90.0"
  178. fadeDuration="5.0"
  179. startHue="0.8"
  180. startSaturation="1.0"
  181. startBrightness="1.0"
  182. endHue="0.25"
  183. endSaturation="0.0"
  184. endBrightness="0.5"
  185. angle="85.0, 95.0"
  186. delayAfter="1.0"
  187. rotate="true"
  188. relativeRotate="true"
  189. emitterScale="0.65"
  190. />
  191. <emitter name="victory.firework.0.emitter" inherit="firework.emitter">
  192. <slave><emitter inherit="firework.flash.emitter">
  193. <chain><emitter inherit="titan.nodule.trail.emitter" duration="100" fadeDuration="30" interpolation="1"/></chain>
  194. <slave><emitter inherit="firework.bang.emitter">
  195. <slave><emitter inherit="titan.nodule.trail.emitter" duration="32" particleDuration="4.0, 6.0" fadeDuration="8,16">
  196. <chain><emitter inherit="firework.bang.smoke.ring.emitter" /></chain>
  197. </emitter></slave>
  198. <chain><emitter inherit="firework.bang.smoke.emitter"/></chain>
  199. </emitter></slave>
  200. </emitter></slave>
  201. <chain><emitter inherit="titan.nodule.flash.emitter" emitterScale="2.5"/></chain>
  202. </emitter>
  203. <emitter name="victory.firework.right.emitter" inherit="victory.firework.0.emitter" angle="75,95"/>
  204. <emitter name="victory.firework.left.emitter" inherit="victory.firework.0.emitter" angle="95,115"/>
  205. <!-- blaster fire -->
  206. <emitter
  207. name="victory.cannon.control.2.emitter"
  208. appearance="spriteimage.particle.dummy.01"
  209. particlesPerTick="-2.0,1.0"
  210. duration="30,90"
  211. particleDuration="1"
  212. fadeDuration="0"
  213. delay="50,250"
  214. delayAfter="50,250"
  215. radius="0,32"
  216. />
  217. <emitter
  218. name="victory.cannon.flash.emitter"
  219. inherit="titan.nodule.flash.emitter"
  220. emitterScale="2.0"
  221. startHue="0.2"
  222. endHue="0.0"
  223. startBrightness="0.5,1.0"
  224. endBrightness="0.1,0.5"
  225. appearance="spriteimage.particle.light.64px.02"
  226. />
  227. <emitter
  228. name="victory.cannon.fire.emitter"
  229. sound="blaster-quiet.buffer"
  230. duration="1.0"
  231. particlesPerTick="1.0"
  232. appearance="blaster.bullet.animation"
  233. layer="5"
  234. subLayer="6"
  235. velocity="12,15"
  236. acceleration="0"
  237. startScale="0.7"
  238. scale="0.9"
  239. endScale="1.1"
  240. rotate="true"
  241. relativeRotate="false"
  242. emitterScale="0.6"
  243. doYOffset="true"
  244. particleDuration="16"
  245. fadeDuration="16"
  246. />
  247. <emitter name="victory.cannon.1.emitter" inherit="titan.nodule.cannon.control.emitter" delayAfter="400">
  248. <slave><emitter inherit="victory.cannon.control.2.emitter">
  249. <slave><emitter inherit="victory.cannon.flash.emitter" >
  250. <slave><emitter inherit="victory.cannon.fire.emitter" angle="30,45"/></slave>
  251. </emitter></slave></emitter>
  252. </slave></emitter>
  253. <emitter name="victory.cannon.2.emitter" inherit="titan.nodule.cannon.control.emitter" delayAfter="400">
  254. <slave><emitter inherit="victory.cannon.control.2.emitter">
  255. <slave><emitter inherit="victory.cannon.flash.emitter" >
  256. <slave><emitter inherit="victory.cannon.fire.emitter" angle="50,70"/></slave>
  257. </emitter></slave></emitter>
  258. </slave></emitter>
  259. <emitter name="victory.cannon.3.emitter" inherit="titan.nodule.cannon.control.emitter" delayAfter="400">
  260. <slave><emitter inherit="victory.cannon.control.2.emitter">
  261. <slave><emitter inherit="victory.cannon.flash.emitter">
  262. <slave><emitter inherit="victory.cannon.fire.emitter" angle="100,120"/></slave>
  263. </emitter></slave></emitter>
  264. </slave></emitter>
  265. <emitter name="victory.cannon.4.emitter" inherit="titan.nodule.cannon.control.emitter" delayAfter="400">
  266. <slave><emitter inherit="victory.cannon.control.2.emitter">
  267. <slave><emitter inherit="victory.cannon.flash.emitter">
  268. <slave><emitter inherit="victory.cannon.fire.emitter" angle="140,160"/></slave>
  269. </emitter></slave></emitter>
  270. </slave></emitter>
  271. <emitter name="victory.cannon.distant.1.emitter" inherit="titan.nodule.cannon.control.emitter" delayAfter="200">
  272. <slave><emitter inherit="victory.cannon.control.2.emitter">
  273. <slave><emitter inherit="victory.cannon.flash.emitter" >
  274. <slave><emitter inherit="victory.cannon.fire.emitter" emitterScale="0.3" sound="blaster-veryquiet.buffer" angle="20,35" fadeDuration="24" /></slave>
  275. </emitter></slave></emitter>
  276. </slave></emitter>
  277. <emitter name="victory.cannon.distant.2.emitter" inherit="titan.nodule.cannon.control.emitter" delayAfter="200">
  278. <slave><emitter inherit="victory.cannon.control.2.emitter">
  279. <slave><emitter inherit="victory.cannon.flash.emitter" >
  280. <slave><emitter inherit="victory.cannon.fire.emitter" emitterScale="0.3" sound="blaster-veryquiet.buffer" angle="60,80" fadeDuration="24"/></slave>
  281. </emitter></slave></emitter>
  282. </slave></emitter>
  283. <emitter name="victory.cannon.distant.3.emitter" inherit="titan.nodule.cannon.control.emitter" delayAfter="200">
  284. <slave><emitter inherit="victory.cannon.control.2.emitter">
  285. <slave><emitter inherit="victory.cannon.flash.emitter">
  286. <slave><emitter inherit="victory.cannon.fire.emitter" emitterScale="0.3" sound="blaster-veryquiet.buffer" angle="90,110" fadeDuration="24"/></slave>
  287. </emitter></slave></emitter>
  288. </slave></emitter>
  289. <emitter name="victory.cannon.distant.4.emitter" inherit="titan.nodule.cannon.control.emitter" delayAfter="200">
  290. <slave><emitter inherit="victory.cannon.control.2.emitter">
  291. <slave><emitter inherit="victory.cannon.flash.emitter">
  292. <slave><emitter inherit="victory.cannon.fire.emitter" semitterScale="0.3" ound="blaster-veryquiet.buffer" angle="150,170" fadeDuration="24"/></slave>
  293. </emitter></slave></emitter>
  294. </slave></emitter>
  295. <animation name="victory.top.left.mask.anim">
  296. <animcolor r="0" g="0" b="0" a="255" d="0" />
  297. <frame i="spriteimage.victory.top.01" d="0"/>
  298. <sub id="victory.top.mask.anim"/>
  299. </animation>
  300. <animation name="victory.top.right.mask.anim">
  301. <animcolor r="0" g="0" b="0" a="255" d="0" />
  302. <frame i="spriteimage.victory.top.02" d="0"/>
  303. <sub id="victory.top.mask.anim"/>
  304. </animation>
  305. <animation name="victory.mid.left.mask.anim">
  306. <animcolor r="0" g="0" b="0" a="255" d="0" />
  307. <frame i="spriteimage.victory.01" d="0"/>
  308. <sub id="victory.mid.mask.anim"/>
  309. </animation>
  310. <animation name="victory.mid.right.mask.anim">
  311. <animcolor r="0" g="0" b="0" a="255" d="0" />
  312. <frame i="spriteimage.victory.02" d="0"/>
  313. <sub id="victory.mid.mask.anim"/>
  314. </animation>
  315. <animation name="victory.top.left.anim">
  316. <animcolor a="0" d="0" />
  317. <frame i="spriteimage.victory.top.01" d="0"/>
  318. <sub id="victory.top.anim"/>
  319. </animation>
  320. <animation name="victory.top.right.anim">
  321. <animcolor a="0" d="0" />
  322. <frame i="spriteimage.victory.top.02" d="0"/>
  323. <sub id="victory.top.anim"/>
  324. </animation>
  325. <animation name="victory.mid.left.anim">
  326. <animcolor a="0" d="0" />
  327. <frame i="spriteimage.victory.01" d="0"/>
  328. <sub id="victory.mid.anim"/>
  329. </animation>
  330. <animation name="victory.mid.right.anim">
  331. <animcolor a="0" d="0" />
  332. <frame i="spriteimage.victory.02" d="0"/>
  333. <sub id="victory.mid.anim"/>
  334. </animation>
  335. <animation name="victory.back.left.anim">
  336. <animcolor a="0" d="0" />
  337. <frame i="spriteimage.victory.back.01" d="0"/>
  338. <sub id="victory.back.anim"/>
  339. </animation>
  340. <animation name="victory.back.right.anim">
  341. <animcolor a="0" d="0" />
  342. <frame i="spriteimage.victory.back.02" d="0"/>
  343. <sub id="victory.back.anim"/>
  344. </animation>
  345. <animation name="victory.front.anim">
  346. <animcolor a="255" d="0" />
  347. <frame i="spriteimage.victory.front.01" d="0"/>
  348. <sub id="victory.front.fade.anim"/>
  349. </animation>
  350. <animation name="victory.flag.anim">
  351. <frame i="spriteimage.victory.flag.01" d="0"/>
  352. <sub id="victory.flag.scroll.anim"/>
  353. <label id="loop-4-1"/>
  354. <frame i="spriteimage.victory.flag.01" d="4"/>
  355. <frame i="spriteimage.victory.flag.02" d="4"/>
  356. <frame i="spriteimage.victory.flag.03" d="4"/>
  357. <frame i="spriteimage.victory.flag.04" d="4"/>
  358. <frame i="spriteimage.victory.flag.05" d="4"/>
  359. <random>
  360. <dest id="loop-4-2" n="1"/>
  361. <dest id="loop-5-2" n="1"/>
  362. <dest id="loop-6-2" n="1"/>
  363. </random>
  364. <label id="loop-4-2"/>
  365. <frame i="spriteimage.victory.flag.06" d="4"/>
  366. <frame i="spriteimage.victory.flag.07" d="4"/>
  367. <frame i="spriteimage.victory.flag.08" d="4"/>
  368. <frame i="spriteimage.victory.flag.09" d="4"/>
  369. <frame i="spriteimage.victory.flag.10" d="4"/>
  370. <random>
  371. <dest id="loop-4-1" n="1"/>
  372. <dest id="loop-5-1" n="1"/>
  373. <dest id="loop-6-1" n="1"/>
  374. </random>
  375. <label id="loop-5-1"/>
  376. <frame i="spriteimage.victory.flag.01" d="5"/>
  377. <frame i="spriteimage.victory.flag.02" d="5"/>
  378. <frame i="spriteimage.victory.flag.03" d="5"/>
  379. <frame i="spriteimage.victory.flag.04" d="5"/>
  380. <frame i="spriteimage.victory.flag.05" d="5"/>
  381. <random>
  382. <dest id="loop-4-2" n="1"/>
  383. <dest id="loop-5-2" n="1"/>
  384. <dest id="loop-6-2" n="1"/>
  385. <dest id="loop-7-2" n="1"/>
  386. </random>
  387. <label id="loop-5-2"/>
  388. <frame i="spriteimage.victory.flag.06" d="5"/>
  389. <frame i="spriteimage.victory.flag.07" d="5"/>
  390. <frame i="spriteimage.victory.flag.08" d="5"/>
  391. <frame i="spriteimage.victory.flag.09" d="5"/>
  392. <frame i="spriteimage.victory.flag.10" d="5"/>
  393. <random>
  394. <dest id="loop-4-1" n="1"/>
  395. <dest id="loop-5-1" n="1"/>
  396. <dest id="loop-6-1" n="1"/>
  397. <dest id="loop-7-1" n="1"/>
  398. </random>
  399. <label id="loop-6-1"/>
  400. <frame i="spriteimage.victory.flag.01" d="6"/>
  401. <frame i="spriteimage.victory.flag.02" d="6"/>
  402. <frame i="spriteimage.victory.flag.03" d="6"/>
  403. <frame i="spriteimage.victory.flag.04" d="6"/>
  404. <frame i="spriteimage.victory.flag.05" d="6"/>
  405. <random>
  406. <dest id="loop-4-2" n="1"/>
  407. <dest id="loop-5-2" n="1"/>
  408. <dest id="loop-6-2" n="1"/>
  409. <dest id="loop-7-2" n="1"/>
  410. <dest id="loop-8-2" n="1"/>
  411. </random>
  412. <label id="loop-6-2"/>
  413. <frame i="spriteimage.victory.flag.06" d="6"/>
  414. <frame i="spriteimage.victory.flag.07" d="6"/>
  415. <frame i="spriteimage.victory.flag.08" d="6"/>
  416. <frame i="spriteimage.victory.flag.09" d="6"/>
  417. <frame i="spriteimage.victory.flag.10" d="6"/>
  418. <random>
  419. <dest id="loop-4-1" n="1"/>
  420. <dest id="loop-5-1" n="1"/>
  421. <dest id="loop-6-1" n="1"/>
  422. <dest id="loop-7-1" n="1"/>
  423. <dest id="loop-8-1" n="1"/>
  424. </random>
  425. <label id="loop-7-1"/>
  426. <frame i="spriteimage.victory.flag.01" d="7"/>
  427. <frame i="spriteimage.victory.flag.02" d="7"/>
  428. <frame i="spriteimage.victory.flag.03" d="7"/>
  429. <frame i="spriteimage.victory.flag.04" d="7"/>
  430. <frame i="spriteimage.victory.flag.05" d="7"/>
  431. <random>
  432. <dest id="loop-5-2" n="1"/>
  433. <dest id="loop-6-2" n="1"/>
  434. <dest id="loop-7-2" n="1"/>
  435. <dest id="loop-8-2" n="1"/>
  436. </random>
  437. <label id="loop-7-2"/>
  438. <frame i="spriteimage.victory.flag.06" d="7"/>
  439. <frame i="spriteimage.victory.flag.07" d="7"/>
  440. <frame i="spriteimage.victory.flag.08" d="7"/>
  441. <frame i="spriteimage.victory.flag.09" d="7"/>
  442. <frame i="spriteimage.victory.flag.10" d="7"/>
  443. <random>
  444. <dest id="loop-5-1" n="1"/>
  445. <dest id="loop-6-1" n="1"/>
  446. <dest id="loop-7-1" n="1"/>
  447. <dest id="loop-8-1" n="1"/>
  448. </random>
  449. <label id="loop-8-1"/>
  450. <frame i="spriteimage.victory.flag.01" d="8"/>
  451. <frame i="spriteimage.victory.flag.02" d="8"/>
  452. <frame i="spriteimage.victory.flag.03" d="8"/>
  453. <frame i="spriteimage.victory.flag.04" d="8"/>
  454. <frame i="spriteimage.victory.flag.05" d="8"/>
  455. <random>
  456. <dest id="loop-6-2" n="1"/>
  457. <dest id="loop-7-2" n="1"/>
  458. <dest id="loop-8-2" n="1"/>
  459. </random>
  460. <label id="loop-8-2"/>
  461. <frame i="spriteimage.victory.flag.06" d="8"/>
  462. <frame i="spriteimage.victory.flag.07" d="8"/>
  463. <frame i="spriteimage.victory.flag.08" d="8"/>
  464. <frame i="spriteimage.victory.flag.09" d="8"/>
  465. <frame i="spriteimage.victory.flag.10" d="8"/>
  466. <random>
  467. <dest id="loop-6-1" n="1"/>
  468. <dest id="loop-7-1" n="1"/>
  469. <dest id="loop-8-1" n="1"/>
  470. </random>
  471. </animation>
  472. <animation name="victory.fireworks.crackle.sound">
  473. <random>
  474. <dest id="sound-1" n="1"/>
  475. <dest id="sound-2" n="1"/>
  476. <dest id="sound-3" n="1"/>
  477. </random>
  478. <label id="sound-1"/>
  479. <sound attenuator="none.attenuator" sound="crackle1.buffer"/>
  480. <goto id="return"/>
  481. <label id="sound-2"/>
  482. <sound attenuator="none.attenuator" sound="crackle2.buffer"/>
  483. <goto id="return"/>
  484. <label id="sound-3"/>
  485. <sound attenuator="none.attenuator" sound="crackle3.buffer"/>
  486. <label id="return"/>
  487. <return/>
  488. </animation>
  489. <animation name="victory.fireworks.whistle.sound">
  490. <random>
  491. <dest id="sound-1" n="1"/>
  492. <dest id="sound-2" n="1"/>
  493. <dest id="sound-3" n="1"/>
  494. <dest id="sound-4" n="1"/>
  495. </random>
  496. <label id="sound-1"/>
  497. <sound attenuator="none.attenuator" sound="whistle1.buffer"/>
  498. <goto id="return"/>
  499. <label id="sound-2"/>
  500. <sound attenuator="none.attenuator" sound="whistle2.buffer"/>
  501. <goto id="return"/>
  502. <label id="sound-3"/>
  503. <sound attenuator="none.attenuator" sound="whistle3.buffer"/>
  504. <goto id="return"/>
  505. <label id="sound-4"/>
  506. <sound attenuator="none.attenuator" sound="whistle4.buffer"/>
  507. <label id="return"/>
  508. <return/>
  509. </animation>
  510. <animation name="victory.fireworks.pop.sound">
  511. <random>
  512. <dest id="sound-1" n="1"/>
  513. <dest id="sound-2" n="1"/>
  514. <dest id="sound-3" n="1"/>
  515. <dest id="sound-4" n="1"/>
  516. <dest id="sound-5" n="1"/>
  517. </random>
  518. <label id="sound-1"/>
  519. <sound attenuator="none.attenuator" sound="pop1.buffer"/>
  520. <goto id="return"/>
  521. <label id="sound-2"/>
  522. <sound attenuator="none.attenuator" sound="pop2.buffer"/>
  523. <goto id="return"/>
  524. <label id="sound-3"/>
  525. <sound attenuator="none.attenuator" sound="pop3.buffer"/>
  526. <goto id="return"/>
  527. <label id="sound-4"/>
  528. <sound attenuator="none.attenuator" sound="pop4.buffer"/>
  529. <goto id="return"/>
  530. <label id="sound-5"/>
  531. <sound attenuator="none.attenuator" sound="pop5.buffer"/>
  532. <label id="return"/>
  533. <return/>
  534. </animation>
  535. <animation name="victory.fireworks.right.anim">
  536. <animcolor a="0" d="0" />
  537. <frame i="spriteimage.victory.right.glow.01" d="600"/>
  538. <label id="start"/>
  539. <random>
  540. <dest id="emit1" n="1"/>
  541. <dest id="emit2" n="1"/>
  542. <dest id="emit3" n="1"/>
  543. </random>
  544. <label id="emit1"/>
  545. <sub id="victory.fireworks.whistle.sound"/>
  546. <emit id="victory.firework.right.emitter" ox="50" oy="60"/>
  547. <goto id="fade"/>
  548. <label id="emit2"/>
  549. <emit id="victory.firework.right.emitter" ox="100" oy="80"/>
  550. <goto id="fade"/>
  551. <label id="emit3"/>
  552. <emit id="victory.firework.right.emitter" ox="150" oy="100"/>
  553. <goto id="fade"/>
  554. <label id="fade"/>
  555. <sub id="firework.glow.fade.anim"/>
  556. <animcolor a="0" d="50" />>
  557. <label id="pause"/>
  558. <animcolor a="0" d="7" />
  559. <random>
  560. <dest id="pause" n="5"/>
  561. <dest id="start" n="1"/>
  562. </random>
  563. </animation>
  564. <animation name="victory.fireworks.left.anim">
  565. <animcolor a="0" d="0" />
  566. <frame i="spriteimage.victory.left.glow.01" d="630"/>
  567. <label id="start"/>
  568. <random>
  569. <dest id="emit1" n="1"/>
  570. <dest id="emit2" n="1"/>
  571. <dest id="emit3" n="1"/>
  572. </random>
  573. <label id="emit1"/>
  574. <emit id="victory.firework.left.emitter" ox="110" oy="60"/>
  575. <goto id="fade"/>
  576. <label id="emit2"/>
  577. <emit id="victory.firework.left.emitter" ox="160" oy="80"/>
  578. <goto id="fade"/>
  579. <label id="emit3"/>
  580. <emit id="victory.firework.left.emitter" ox="210" oy="100"/>
  581. <goto id="fade"/>
  582. <label id="fade"/>
  583. <sub id="firework.glow.fade.anim"/>
  584. <animcolor a="0" d="50" />
  585. <label id="pause"/>
  586. <animcolor a="0" d="5" />
  587. <random>
  588. <dest id="pause" n="7"/>
  589. <dest id="start" n="1"/>
  590. </random>
  591. </animation>
  592. <animation name="victory.fireworks.intro.1.anim">
  593. <animcolor a="0" d="0" />
  594. <frame i="spriteimage.victory.left.glow.02" d="0"/>
  595. <offset x="0" y="81.82" d="0" />
  596. <emit id="victory.firework.left.emitter" ox="230" oy="200"/>
  597. <animcolor a="0" d="88" />
  598. <sub id="intro.firework.glow.fade.1.anim"/>
  599. <animcolor a="0" d="0" />
  600. </animation>
  601. <animation name="victory.fireworks.intro.2.anim">
  602. <animcolor a="0" d="0" />
  603. <frame i="spriteimage.victory.right.glow.02" d="220"/>
  604. <offset x="0" y="36.36" d="0" />
  605. <emit id="victory.firework.right.emitter" ox="50" oy="150"/>
  606. <animcolor a="0" d="88" />
  607. <sub id="intro.firework.glow.fade.2.anim"/>
  608. <animcolor a="0" d="0" />
  609. </animation>
  610. <animation name="victory.fireworks.intro.3.anim">
  611. <animcolor a="0" d="0" />
  612. <frame i="spriteimage.victory.left.glow.02" d="380"/>
  613. <offset x="0" y="16.16" d="0" />
  614. <emit id="victory.firework.left.emitter" ox="180" oy="80"/>
  615. <animcolor a="0" d="88" />
  616. <sub id="intro.firework.glow.fade.3.anim"/>
  617. <animcolor a="0" d="0" />
  618. </animation>
  619. <animation name="victory.fireworks.finale.left.anim">
  620. <label id="start"/>
  621. <animcolor a="0" d="0" />
  622. <frame i="spriteimage.victory.left.glow.01" d="1900"/>
  623. <animcolor a="0" d="0" />
  624. <emit id="victory.firework.left.emitter" ox="180" oy="50"/>
  625. <animcolor a="0" d="60" />
  626. <emit id="victory.firework.left.emitter" ox="220" oy="70"/>
  627. <sub id="firework.glow.fade.anim"/> <!-- 120 -->
  628. <animcolor a="0" d="1100" />
  629. <goto id="start"/>
  630. </animation>
  631. <animation name="victory.fireworks.finale.right.anim">
  632. <label id="start"/>
  633. <animcolor a="0" d="0" />
  634. <frame i="spriteimage.victory.right.glow.01" d="1900"/>
  635. <animcolor a="0" d="30" />
  636. <emit id="victory.firework.right.emitter" ox="80" oy="50"/>
  637. <animcolor a="0" d="90" />
  638. <emit id="victory.firework.right.emitter" ox="40" oy="70"/>
  639. <sub id="firework.glow.fade.anim"/> <!-- 120 -->
  640. <animcolor a="0" d="1100" />
  641. <goto id="start"/>
  642. </animation>
  643. <animation name="blasters.anim">
  644. <animcolor a="0" d="450"/>
  645. <emit id="victory.cannon.1.emitter" ox="370" oy="120"/>
  646. <emit id="victory.cannon.2.emitter" ox="300" oy="150"/>
  647. <emit id="victory.cannon.3.emitter" ox="200" oy="150"/>
  648. <emit id="victory.cannon.4.emitter" ox="120" oy="120"/>
  649. </animation>
  650. <animation name="blasters.distant.anim">
  651. <animcolor a="0" d="133"/>
  652. <emit id="victory.cannon.distant.1.emitter" ox="390" oy="120"/>
  653. <emit id="victory.cannon.distant.2.emitter" ox="320" oy="150"/>
  654. <emit id="victory.cannon.distant.3.emitter" ox="180" oy="150"/>
  655. <emit id="victory.cannon.distant.4.emitter" ox="100" oy="120"/>
  656. </animation>
  657. <area name="victory-left.spec" inherit="titlescreen-left.spec" scale="0.5">
  658. <anchor x="mid" d="-256" /><anchor y="mid" d="-160" />
  659. </area>
  660. <area name="victory-right.spec" inherit="titlescreen-right.spec" scale="0.5">
  661. <anchor x="mid" d="0" /><anchor y="mid" d="-160" />
  662. </area>
  663. <character
  664. name="victory.char.spec"
  665. animated="true"
  666. color="!66,200,100,255"
  667. boldColor="titan.colormap:text-bold"
  668. left="true"
  669. textSpeed="6"
  670. bubbleLayer="20"
  671. mouthLayer="20"
  672. >
  673. <sounds>
  674. <array>
  675. <item>textBeep.buffer</item>
  676. </array>
  677. </sounds>
  678. </character>
  679. <character
  680. name="victory1.char"
  681. inherit="victory.char.spec"
  682. />
  683. <character
  684. name="victory2.char"
  685. inherit="victory.char.spec"
  686. />
  687. <character
  688. name="victory3.char"
  689. inherit="victory.char.spec"
  690. />
  691. <instance class="worm.screens.CompleteGameScreen"
  692. name="gamecomplete.screen"
  693. maxsprites="16384"
  694. keyboardnavigation="false"
  695. stream="complete.stream"
  696. transition="instant.transition"
  697. centre="both"
  698. >
  699. <hotkey key="ESCAPE" area="ok"/>
  700. <hotkey key="RETURN" area="ok"/>
  701. <!--
  702. <area id="message" valign="top" halign="centered" font="bigfont.glfont" color="button-red" text="VICTORY!" layer="12" position="0,0" size="320,320"/>
  703. -->
  704. <area id="ok" inherit="button.continue.spec"/>
  705. <area id="victory-mid-right-mask" inherit="victory-right.spec" layer="6" mouseoff="victory.mid.right.mask.anim" />
  706. <area id="victory-mid-left-mask" inherit="victory-left.spec" layer="6" mouseoff="victory.mid.left.mask.anim" />
  707. <area id="victory-top-right-mask" inherit="victory-right.spec" layer="8" mouseoff="victory.top.right.mask.anim" />
  708. <area id="victory-top-left-mask" inherit="victory-left.spec" layer="8" mouseoff="victory.top.left.mask.anim" />
  709. <area id="victory-back-right" inherit="victory-right.spec" layer="-10" mouseoff="victory.back.right.anim" ><anchor x="mid" d="0" /><anchor y="mid" d="-130" /></area>
  710. <area id="victory-back-left" inherit="victory-left.spec" layer="-10" mouseoff="victory.back.left.anim" ><anchor x="mid" d="-256" /><anchor y="mid" d="-130" /></area>
  711. <area id="victory-mid-right" inherit="victory-right.spec" layer="7" mouseoff="victory.mid.right.anim" />
  712. <area id="victory-mid-left" inherit="victory-left.spec" layer="7" mouseoff="victory.mid.left.anim" />
  713. <area id="victory-top-right" inherit="victory-right.spec" layer="9" mouseoff="victory.top.right.anim" />
  714. <area id="victory-top-left" inherit="victory-left.spec" layer="9" mouseoff="victory.top.left.anim" />
  715. <area id="victory-flag" position="166,211" size="32,32" layer="10" scale="0.5" mouseoff="victory.flag.anim" />
  716. <!-- <area id="victory-fireworks-intro-1" inherit="victory-left.spec" layer="10" mouseoff="victory.fireworks.intro.1.anim" /> -->
  717. <area id="victory-fireworks-intro-2" inherit="victory-right.spec" layer="10" mouseoff="victory.fireworks.intro.2.anim" />
  718. <area id="victory-fireworks-intro-3" inherit="victory-left.spec" layer="10" mouseoff="victory.fireworks.intro.3.anim" />
  719. <area id="victory-fireworks-right" inherit="victory-right.spec" layer="10" mouseoff="victory.fireworks.right.anim" />
  720. <area id="victory-fireworks-left" inherit="victory-left.spec" layer="10" mouseoff="victory.fireworks.left.anim" />
  721. <area id="victory-fireworks-finale.right" inherit="victory-right.spec" layer="10" mouseoff="victory.fireworks.finale.right.anim" />
  722. <area id="victory-fireworks-finale.left" inherit="victory-left.spec" layer="10" mouseoff="victory.fireworks.finale.left.anim" />
  723. <area id="victory-blasters" inherit="victory-left.spec" layer="9" mouseoff="blasters.anim" />
  724. <area id="victory-blasters-distant" inherit="victory-left.spec" lazyer="9" mouseoff="blasters.distant.anim" />
  725. <area id="victory-front" inherit="victory-left.spec" layer="12" scale="1.0" mouseoff="victory.front.anim" ><anchor x="mid" d="-256" /><anchor y="mid" d="-130" /></area>
  726. <area id="victory-custerd-eye" inherit="victory-right.spec" layer="12" mouseoff="victory.custerd.eye.anim" />
  727. <area id="victory-tech-eyes" inherit="victory-right.spec" layer="12" mouseoff="victory.tech.eyes.anim" />
  728. <!-- Story stuff -->
  729. <setting>
  730. <setting
  731. name="completegame.setting"
  732. position="0,0"
  733. size="320,320"
  734. >
  735. <actor character="victory1.char" position="0,0" bounds="20,284,300,30" expand="down" />
  736. <actor character="victory2.char" position="0,0" bounds="113,282,180,30" expand="down" leading="-1" />
  737. <actor character="victory3.char" position="0,0" bounds="113,282,180,30" expand="down" />
  738. </setting>
  739. </setting>
  740. <story>
  741. <story name="victory.story">
  742. <char id="victory1.char" >=victory1.text</char>
  743. <char id="victory2.char" delay="180" fadeAfter="600">=victory2.text</char>
  744. <char id="victory3.char" delay="780" fadeAfter="300">=victory3.text</char>
  745. </story>
  746. </story>
  747. </instance>
  748. </resources>