gui-levels.xml 138 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521
  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. <!-- GUI resources -->
  29. <resources>
  30. <!-- level select -->
  31. <property key="level_label_w" value="60" />
  32. <property key="level_label_h" value="23" />
  33. <property key="level_label_x_offset" value="-15" />
  34. <property key="level_marker_size" value="20" />
  35. <property key="level_connect_w" value="8" />
  36. <property key="level_connect_y_offset" value="9" />
  37. <animation name="level.marker.red.glow.animation">
  38. <animcolor a="0" d="0"/>
  39. <frame i="spriteimage.level.marker.red.09" d="0" />
  40. <label id="delayBefore"/>
  41. <scale scale="0.5" d="2"/>
  42. <random>
  43. <dest id="delayBefore" n="5"/>
  44. <dest id="start" />
  45. </random>
  46. <label id="start"/>
  47. <animcolor a="255" d="0"/>
  48. <frame i="spriteimage.level.marker.red.01" d="3" />
  49. <frame i="spriteimage.level.marker.red.02" d="3" />
  50. <frame i="spriteimage.level.marker.red.03" d="3" />
  51. <frame i="spriteimage.level.marker.red.04" d="3" />
  52. <frame i="spriteimage.level.marker.red.05" d="3" />
  53. <frame i="spriteimage.level.marker.red.06" d="4" />
  54. <scale scale="0.525"/>
  55. <frame i="spriteimage.level.marker.red.07" d="5" />
  56. <scale scale="0.55"/>
  57. <frame i="spriteimage.level.marker.red.08" d="6" />
  58. <scale scale="0.575"/>
  59. <frame i="spriteimage.level.marker.red.09" d="7" />
  60. <scale scale="0.6"/>
  61. <animcolor a="245" d="5"/>
  62. <animcolor a="235" d="5"/>
  63. <scale scale="0.7"/>
  64. <animcolor a="225" d="5"/>
  65. <animcolor a="215" d="5"/>
  66. <random>
  67. <dest id="fade" n="5"/>
  68. <dest id="start" />
  69. </random>
  70. <label id="fade"/>
  71. <scale scale="0.8"/>
  72. <animcolor a="205" d="5"/>
  73. <animcolor a="195" d="5"/>
  74. <scale scale="0.95"/>
  75. <animcolor a="185" d="5"/>
  76. <animcolor a="175" d="5"/>
  77. <scale scale="1.1"/>
  78. <animcolor a="165" d="5"/>
  79. <animcolor a="155" d="5"/>
  80. <scale scale="1.3"/>
  81. <animcolor a="145" d="5"/>
  82. <animcolor a="135" d="5"/>
  83. <scale scale="1.5"/>
  84. <animcolor a="115" d="5"/>
  85. <scale scale="1.7"/>
  86. <animcolor a="95" d="5"/>
  87. <scale scale="1.9"/>
  88. <animcolor a="70" d="5"/>
  89. <scale scale="2.1"/>
  90. <animcolor a="40" d="5"/>
  91. <scale scale="2.4"/>
  92. <animcolor a="20" d="5"/>
  93. <scale scale="2.8"/>
  94. <animcolor a="10" d="5"/>
  95. <animcolor a="0" d="50"/>
  96. <animcolor a="255" d="0"/>
  97. <label id="delayAfter"/>
  98. <scale scale="0.5" d="2"/>
  99. <random>
  100. <dest id="delayAfter" n="10"/>
  101. <dest id="start" />
  102. </random>
  103. </animation>
  104. <animation name="level.marker.white.glow.animation">
  105. <animcolor a="255" d="0"/>
  106. <frame i="spriteimage.level.marker.white.01" d="999" />
  107. <goto seq="1"/>
  108. <animcolor a="255" d="0"/>
  109. <label id="delayBefore"/>
  110. <scale scale="0.5" d="2"/>
  111. <random>
  112. <dest id="delayBefore" n="5"/>
  113. <dest id="start" />
  114. </random>
  115. <label id="start"/>
  116. <frame i="spriteimage.level.marker.white.01" d="3" />
  117. <frame i="spriteimage.level.marker.white.02" d="3" />
  118. <frame i="spriteimage.level.marker.white.03" d="3" />
  119. <frame i="spriteimage.level.marker.white.04" d="3" />
  120. <frame i="spriteimage.level.marker.white.05" d="3" />
  121. <frame i="spriteimage.level.marker.white.06" d="4" />
  122. <scale scale="0.525"/>
  123. <frame i="spriteimage.level.marker.white.07" d="5" />
  124. <scale scale="0.55"/>
  125. <frame i="spriteimage.level.marker.white.08" d="6" />
  126. <scale scale="0.575"/>
  127. <frame i="spriteimage.level.marker.white.09" d="7" />
  128. <scale scale="0.6"/>
  129. <animcolor a="245" d="5"/>
  130. <animcolor a="235" d="5"/>
  131. <scale scale="0.7"/>
  132. <animcolor a="225" d="5"/>
  133. <animcolor a="215" d="5"/>
  134. <scale scale="0.8"/>
  135. <animcolor a="205" d="5"/>
  136. <animcolor a="195" d="5"/>
  137. <scale scale="0.95"/>
  138. <animcolor a="185" d="5"/>
  139. <animcolor a="175" d="5"/>
  140. <scale scale="1.1"/>
  141. <animcolor a="165" d="5"/>
  142. <animcolor a="155" d="5"/>
  143. <scale scale="1.3"/>
  144. <animcolor a="145" d="5"/>
  145. <animcolor a="135" d="5"/>
  146. <scale scale="1.5"/>
  147. <animcolor a="115" d="5"/>
  148. <scale scale="1.7"/>
  149. <animcolor a="95" d="5"/>
  150. <scale scale="1.9"/>
  151. <animcolor a="70" d="5"/>
  152. <scale scale="2.1"/>
  153. <animcolor a="40" d="5"/>
  154. <scale scale="2.4"/>
  155. <animcolor a="20" d="5"/>
  156. <scale scale="2.8"/>
  157. <animcolor a="10" d="5"/>
  158. <scale scale="0.5" d="0"/>
  159. <animcolor a="0" d="50"/>
  160. <animcolor a="255" d="0"/>
  161. <goto id="start"/>
  162. </animation>
  163. <animation name="level.marker.white.glow.on.animation">
  164. <label id="start"/>
  165. <animcolor a="255" d="0"/>
  166. <scale scale="0.7" d="0"/>
  167. <frame i="spriteimage.level.marker.white.01" d="3" />
  168. <frame i="spriteimage.level.marker.white.02" d="3" />
  169. <frame i="spriteimage.level.marker.white.03" d="3" />
  170. <frame i="spriteimage.level.marker.white.04" d="3" />
  171. <frame i="spriteimage.level.marker.white.05" d="3" />
  172. <frame i="spriteimage.level.marker.white.06" d="4" />
  173. <scale scale="0.725"/>
  174. <frame i="spriteimage.level.marker.white.07" d="5" />
  175. <scale scale="0.75"/>
  176. <frame i="spriteimage.level.marker.white.08" d="6" />
  177. <scale scale="0.775"/>
  178. <frame i="spriteimage.level.marker.white.09" d="7" />
  179. <scale scale="0.8"/>
  180. <animcolor a="150" d="5"/>
  181. <goto id="start"/>
  182. </animation>
  183. <!-- Select level screen - need one for each world -->
  184. <area name="titlescreen_top.spec"
  185. font="tinyfont.glfont"
  186. color="!114,255,96,100"
  187. valign="top"
  188. halign="centered"
  189. textOffset="0,-5"
  190. textLayer="1"
  191. size="=$SCREEN_W-4,22"
  192. noClick="true"
  193. layer="-1"
  194. position="=4,$SCREEN_H-22"
  195. >
  196. <anchor y="top" d="-22"/>
  197. <anchor w="right" d="-4"/>
  198. </area>
  199. <area
  200. name="level.select.screen.spec"
  201. size="320,320"
  202. position="2,2"
  203. scale="0.6175"
  204. layer="-2"
  205. >
  206. <anchor y="mid" d="-158"/>
  207. <anchor x="mid" d="-158"/>
  208. <mouseOff>
  209. <animation>
  210. <animcolor a="204" d="1"/>
  211. <frame i="spriteimage.map.earth.01" d="1"/>
  212. <frame i="hud.phase.20%.animation" d="1"/>
  213. </animation>
  214. </mouseOff>
  215. </area>
  216. <area
  217. name="level.select.spec"
  218. size="=$level_label_w,$level_label_h"
  219. scale="0.5"
  220. font="tinyfont.glfont"
  221. disabledColor="0,0,0,0"
  222. color="earth.colormap:level-cash"
  223. mouseOnColor="earth.colormap:level-cash-on"
  224. textOffset="21,1"
  225. halign="left"
  226. valign="bottom"
  227. layer="1"
  228. textLayer="10"
  229. />
  230. <area
  231. name="level.num.spec"
  232. size="=$level_label_h,$level_label_h"
  233. scale="0.5"
  234. font="smallfont.glfont"
  235. disabledColor="0,0,0,0"
  236. color="earth.colormap:level"
  237. mouseOnColor="earth.colormap:level-on"
  238. textOffset="-3,2"
  239. halign="right"
  240. valign="top"
  241. layer="1"
  242. textLayer="10"
  243. noClick="true"
  244. />
  245. <area
  246. name="level.name.spec"
  247. size="=70,$level_label_h"
  248. scale="0.5"
  249. font="tinyfont.glfont"
  250. disabledColor="0,0,0,0"
  251. color="earth.colormap:level"
  252. mouseOnColor="earth.colormap:level-on"
  253. textOffset="21,1"
  254. halign="left"
  255. valign="top"
  256. layer="1"
  257. textLayer="10"
  258. noClick="true"
  259. />
  260. <area
  261. name="level.marker.spec"
  262. size="=$level_marker_size,$level_marker_size"
  263. scale="0.5"
  264. offset="10,10"
  265. disabled="spriteimage.level.marker.red.10"
  266. mouseoff="spriteimage.level.marker.white.10"
  267. mouseon="spriteimage.level.marker.white.10"
  268. layer="3"
  269. noClick="true"
  270. />
  271. <area
  272. name="level.marker.glow.spec"
  273. inherit="level.marker.spec"
  274. mouseoff="level.marker.white.glow.animation"
  275. mouseon="level.marker.white.glow.on.animation"
  276. disabled="level.marker.red.glow.animation"
  277. layer="2"
  278. />
  279. <area
  280. name="level.connect.spec"
  281. layer="1"
  282. noClick="true"
  283. >
  284. <background>
  285. <widgetbackground inherit="line_background"
  286. topColor="earth.colormap:level-line"
  287. bottomColor="titles.colormap:level-line"
  288. />
  289. </background>
  290. <mouseOnBackground>
  291. <widgetbackground inherit="line_background"
  292. topColor="earth.colormap:level-line"
  293. bottomColor="titles.colormap:level-line-on"
  294. />
  295. </mouseOnBackground>
  296. <disabledBackground>
  297. <widgetbackground inherit="line_background"
  298. color="0,0,0,0"
  299. />
  300. </disabledBackground>
  301. </area>
  302. <area
  303. name="level.connect.down.spec"
  304. inherit="level.connect.spec"
  305. >
  306. <background>
  307. <widgetbackground inherit="line_background"
  308. topColor="titles.colormap:level-line"
  309. bottomColor="earth.colormap:level-line"
  310. />
  311. </background>
  312. <mouseOnBackground>
  313. <widgetbackground inherit="line_background"
  314. bottomColor="earth.colormap:level-line"
  315. topColor="titles.colormap:level-line-on"
  316. />
  317. </mouseOnBackground>
  318. </area>
  319. <area
  320. name="earth_top.spec"
  321. inherit="titlescreen_top.spec"
  322. text="=$earth_top.spec.label"
  323. color="earth.colormap:level-on"
  324. >
  325. <background>
  326. <widgetbackground inherit="button_background" color="earth.colormap:level-cash" />
  327. </background>
  328. </area>
  329. <!-- define 20 levels here -->
  330. <property key="earth_0_x" value="98" />
  331. <property key="earth_0_y" value="171" />
  332. <property key="earth_0_x_offset" value="0" />
  333. <property key="earth_0_label_y" value="283" />
  334. <property key="earth_0_w" value="90" />
  335. <property key="earth_1_x" value="122" />
  336. <property key="earth_1_y" value="156" />
  337. <property key="earth_1_x_offset" value="0" />
  338. <property key="earth_1_label_y" value="255" />
  339. <property key="earth_1_w" value="100" />
  340. <property key="earth_2_x" value="31" />
  341. <property key="earth_2_y" value="90" />
  342. <property key="earth_2_x_offset" value="0" />
  343. <property key="earth_2_label_y" value="235" />
  344. <property key="earth_2_w" value="72" />
  345. <property key="earth_3_x" value="60" />
  346. <property key="earth_3_y" value="99" />
  347. <property key="earth_3_x_offset" value="0" />
  348. <property key="earth_3_label_y" value="62" />
  349. <property key="earth_3_w" value="76" />
  350. <property key="earth_4_x" value="95" />
  351. <property key="earth_4_y" value="126" />
  352. <property key="earth_4_x_offset" value="-10" />
  353. <property key="earth_4_label_y" value="90" />
  354. <property key="earth_4_w" value="65" />
  355. <property key="earth_5_x" value="163" />
  356. <property key="earth_5_y" value="166" />
  357. <property key="earth_5_x_offset" value="-40" />
  358. <property key="earth_5_label_y" value="34" />
  359. <property key="earth_5_w" value="73" />
  360. <property key="earth_6_x" value="218" />
  361. <property key="earth_6_y" value="141" />
  362. <property key="earth_6_x_offset" value="0" />
  363. <property key="earth_6_label_y" value="283" />
  364. <property key="earth_6_w" value="70" />
  365. <property key="earth_7_x" value="239" />
  366. <property key="earth_7_y" value="195" />
  367. <property key="earth_7_x_offset" value="5" />
  368. <property key="earth_7_label_y" value="255" />
  369. <property key="earth_7_w" value="73" />
  370. <property key="earth_8_x" value="195" />
  371. <property key="earth_8_y" value="123" />
  372. <property key="earth_8_x_offset" value="0" />
  373. <property key="earth_8_label_y" value="90" />
  374. <property key="earth_8_w" value="77" />
  375. <property key="earth_9_x" value="263" />
  376. <property key="earth_9_y" value="142" />
  377. <property key="earth_9_x_offset" value="-10" />
  378. <property key="earth_9_label_y" value="62" />
  379. <property key="earth_9_w" value="73" />
  380. <instance class="worm.screens.SelectLevelScreen"
  381. name="select.level.screen.0"
  382. maxsprites="512"
  383. keyboardnavigation="false"
  384. world="0"
  385. transition="instant.transition"
  386. centre="both"
  387. >
  388. <hotkey key="ESCAPE" area="back"/>
  389. <hotkey key="RETURN" area="back"/>
  390. <area id="background" inherit="level.select.screen.spec" noClick="true" />
  391. <area id="titlescreen_top" inherit="earth_top.spec"/>
  392. <area id="back" inherit="button.abort.spec" />
  393. <area id="level.0" inherit="level.select.spec" position="=$earth_0_x+$earth_0_x_offset+$level_label_x_offset,$earth_0_label_y-$level_label_h" />
  394. <area id="level.num.0" master="level.0" inherit="level.num.spec" position="=$earth_0_x+$earth_0_x_offset+$level_label_x_offset,$earth_0_label_y-$level_label_h" />
  395. <area id="level.name.0" master="level.0" inherit="level.name.spec" size="=$earth_0_w,$level_label_h" position="=$earth_0_x+$earth_0_x_offset+$level_label_x_offset,$earth_0_label_y-$level_label_h" />
  396. <area id="level.marker.0" master="level.0" inherit="level.marker.spec" position="=$level_marker_size/-2+$earth_0_x,$level_marker_size/-2+$earth_0_y" />
  397. <area id="level.marker.glow.0" master="level.0" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$earth_0_x,$level_marker_size/-2+$earth_0_y" />
  398. <!-- up --> <area id="level.connect.0" master="level.0" inherit="level.connect.spec" position="=$earth_0_x-4,$earth_0_y" size="=$level_connect_w,$earth_0_label_y-$level_label_h-$earth_0_y+$level_connect_y_offset"/>
  399. <area id="level.1" inherit="level.select.spec" position="=$earth_1_x+$earth_1_x_offset+$level_label_x_offset,$earth_1_label_y-$level_label_h" />
  400. <area id="level.num.1" master="level.1" inherit="level.num.spec" position="=$earth_1_x+$earth_1_x_offset+$level_label_x_offset,$earth_1_label_y-$level_label_h" />
  401. <area id="level.name.1" master="level.1" inherit="level.name.spec" size="=$earth_1_w,$level_label_h" position="=$earth_1_x+$earth_1_x_offset+$level_label_x_offset,$earth_1_label_y-$level_label_h" />
  402. <area id="level.marker.1" master="level.1" inherit="level.marker.spec" position="=$level_marker_size/-2+$earth_1_x,$level_marker_size/-2+$earth_1_y" />
  403. <area id="level.marker.glow.1" master="level.1" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$earth_1_x,$level_marker_size/-2+$earth_1_y" />
  404. <!-- up --> <area id="level.connect.1" master="level.1" inherit="level.connect.spec" position="=$earth_1_x-4,$earth_1_y" size="=$level_connect_w,$earth_1_label_y-$level_label_h-$earth_1_y+$level_connect_y_offset"/>
  405. <area id="level.2" inherit="level.select.spec" position="=$earth_2_x+$earth_2_x_offset+$level_label_x_offset,$earth_2_label_y-$level_label_h" />
  406. <area id="level.num.2" master="level.2" inherit="level.num.spec" position="=$earth_2_x+$earth_2_x_offset+$level_label_x_offset,$earth_2_label_y-$level_label_h" />
  407. <area id="level.name.2" master="level.2" inherit="level.name.spec" size="=$earth_2_w,$level_label_h" position="=$earth_2_x+$earth_2_x_offset+$level_label_x_offset,$earth_2_label_y-$level_label_h" />
  408. <area id="level.marker.2" master="level.2" inherit="level.marker.spec" position="=$level_marker_size/-2+$earth_2_x,$level_marker_size/-2+$earth_2_y" />
  409. <area id="level.marker.glow.2" master="level.2" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$earth_2_x,$level_marker_size/-2+$earth_2_y" />
  410. <!-- up --> <area id="level.connect.2" master="level.2" inherit="level.connect.spec" position="=$earth_2_x-4,$earth_2_y" size="=$level_connect_w,$earth_2_label_y-$level_label_h-$earth_2_y+$level_connect_y_offset"/>
  411. <area id="level.3" inherit="level.select.spec" position="=$earth_3_x+$earth_3_x_offset+$level_label_x_offset,$earth_3_label_y-$level_label_h" />
  412. <area id="level.num.3" master="level.3" inherit="level.num.spec" position="=$earth_3_x+$earth_3_x_offset+$level_label_x_offset,$earth_3_label_y-$level_label_h" />
  413. <area id="level.name.3" master="level.3" inherit="level.name.spec" size="=$earth_3_w,$level_label_h" position="=$earth_3_x+$earth_3_x_offset+$level_label_x_offset,$earth_3_label_y-$level_label_h" />
  414. <area id="level.marker.3" master="level.3" inherit="level.marker.spec" position="=$level_marker_size/-2+$earth_3_x,$level_marker_size/-2+$earth_3_y" />
  415. <area id="level.marker.glow.3" master="level.3" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$earth_3_x,$level_marker_size/-2+$earth_3_y" />
  416. <!-- down --> <area id="level.connect.3" master="level.3" inherit="level.connect.down.spec" position="=$earth_3_x-4,$earth_3_label_y" size="=$level_connect_w,$earth_3_y-$earth_3_label_y"/>
  417. <area id="level.4" inherit="level.select.spec" position="=$earth_4_x+$earth_4_x_offset+$level_label_x_offset,$earth_4_label_y-$level_label_h" />
  418. <area id="level.num.4" master="level.4" inherit="level.num.spec" position="=$earth_4_x+$earth_4_x_offset+$level_label_x_offset,$earth_4_label_y-$level_label_h" />
  419. <area id="level.name.4" master="level.4" inherit="level.name.spec" size="=$earth_4_w,$level_label_h" position="=$earth_4_x+$earth_4_x_offset+$level_label_x_offset,$earth_4_label_y-$level_label_h" />
  420. <area id="level.marker.4" master="level.4" inherit="level.marker.spec" position="=$level_marker_size/-2+$earth_4_x,$level_marker_size/-2+$earth_4_y" />
  421. <area id="level.marker.glow.4" master="level.4" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$earth_4_x,$level_marker_size/-2+$earth_4_y" />
  422. <!-- down --> <area id="level.connect.4" master="level.4" inherit="level.connect.down.spec" position="=$earth_4_x-4,$earth_4_label_y" size="=$level_connect_w,$earth_4_y-$earth_4_label_y"/>
  423. <area id="level.5" inherit="level.select.spec" position="=$earth_5_x+$earth_5_x_offset+$level_label_x_offset,$earth_5_label_y-$level_label_h" />
  424. <area id="level.num.5" master="level.5" inherit="level.num.spec" position="=$earth_5_x+$earth_5_x_offset+$level_label_x_offset,$earth_5_label_y-$level_label_h" />
  425. <area id="level.name.5" master="level.5" inherit="level.name.spec" size="=$earth_5_w,$level_label_h" position="=$earth_5_x+$earth_5_x_offset+$level_label_x_offset,$earth_5_label_y-$level_label_h" />
  426. <area id="level.marker.5" master="level.5" inherit="level.marker.spec" position="=$level_marker_size/-2+$earth_5_x,$level_marker_size/-2+$earth_5_y" />
  427. <area id="level.marker.glow.5" master="level.5" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$earth_5_x,$level_marker_size/-2+$earth_5_y" />
  428. <!-- down --> <area id="level.connect.5" master="level.5" inherit="level.connect.down.spec" position="=$earth_5_x-4,$earth_5_label_y" size="=$level_connect_w,$earth_5_y-$earth_5_label_y"/>
  429. <area id="level.6" inherit="level.select.spec" position="=$earth_6_x+$earth_6_x_offset+$level_label_x_offset,$earth_6_label_y-$level_label_h" />
  430. <area id="level.num.6" master="level.6" inherit="level.num.spec" position="=$earth_6_x+$earth_6_x_offset+$level_label_x_offset,$earth_6_label_y-$level_label_h" />
  431. <area id="level.name.6" master="level.6" inherit="level.name.spec" size="=$earth_6_w,$level_label_h" position="=$earth_6_x+$earth_6_x_offset+$level_label_x_offset,$earth_6_label_y-$level_label_h" />
  432. <area id="level.marker.6" master="level.6" inherit="level.marker.spec" position="=$level_marker_size/-2+$earth_6_x,$level_marker_size/-2+$earth_6_y" />
  433. <area id="level.marker.glow.6" master="level.6" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$earth_6_x,$level_marker_size/-2+$earth_6_y" />
  434. <!-- up --> <area id="level.connect.6" master="level.6" inherit="level.connect.spec" position="=$earth_6_x-4,$earth_6_y" size="=$level_connect_w,$earth_6_label_y-$level_label_h-$earth_6_y+$level_connect_y_offset"/>
  435. <area id="level.7" inherit="level.select.spec" position="=$earth_7_x+$earth_7_x_offset+$level_label_x_offset,$earth_7_label_y-$level_label_h" />
  436. <area id="level.num.7" master="level.7" inherit="level.num.spec" position="=$earth_7_x+$earth_7_x_offset+$level_label_x_offset,$earth_7_label_y-$level_label_h" />
  437. <area id="level.name.7" master="level.7" inherit="level.name.spec" size="=$earth_7_w,$level_label_h" position="=$earth_7_x+$earth_7_x_offset+$level_label_x_offset,$earth_7_label_y-$level_label_h" />
  438. <area id="level.marker.7" master="level.7" inherit="level.marker.spec" position="=$level_marker_size/-2+$earth_7_x,$level_marker_size/-2+$earth_7_y" />
  439. <area id="level.marker.glow.7" master="level.7" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$earth_7_x,$level_marker_size/-2+$earth_7_y" />
  440. <!-- up --> <area id="level.connect.7" master="level.7" inherit="level.connect.spec" position="=$earth_7_x-4,$earth_7_y" size="=$level_connect_w,$earth_7_label_y-$level_label_h-$earth_7_y+$level_connect_y_offset"/>
  441. <area id="level.8" inherit="level.select.spec" position="=$earth_8_x+$earth_8_x_offset+$level_label_x_offset,$earth_8_label_y-$level_label_h" />
  442. <area id="level.num.8" master="level.8" inherit="level.num.spec" position="=$earth_8_x+$earth_8_x_offset+$level_label_x_offset,$earth_8_label_y-$level_label_h" />
  443. <area id="level.name.8" master="level.8" inherit="level.name.spec" size="=$earth_8_w,$level_label_h" position="=$earth_8_x+$earth_8_x_offset+$level_label_x_offset,$earth_8_label_y-$level_label_h" />
  444. <area id="level.marker.8" master="level.8" inherit="level.marker.spec" position="=$level_marker_size/-2+$earth_8_x,$level_marker_size/-2+$earth_8_y" />
  445. <area id="level.marker.glow.8" master="level.8" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$earth_8_x,$level_marker_size/-2+$earth_8_y" />
  446. <!-- down --> <area id="level.connect.8" master="level.8" inherit="level.connect.down.spec" position="=$earth_8_x-4,$earth_8_label_y" size="=$level_connect_w,$earth_8_y-$earth_8_label_y"/>
  447. <area id="level.9" inherit="level.select.spec" position="=$earth_9_x+$earth_9_x_offset+$level_label_x_offset,$earth_9_label_y-$level_label_h" />
  448. <area id="level.num.9" master="level.9" inherit="level.num.spec" position="=$earth_9_x+$earth_9_x_offset+$level_label_x_offset,$earth_9_label_y-$level_label_h" />
  449. <area id="level.name.9" master="level.9" inherit="level.name.spec" size="=$earth_9_w,$level_label_h" position="=$earth_9_x+$earth_9_x_offset+$level_label_x_offset,$earth_9_label_y-$level_label_h" />
  450. <area id="level.marker.9" master="level.9" inherit="level.marker.spec" position="=$level_marker_size/-2+$earth_9_x,$level_marker_size/-2+$earth_9_y" />
  451. <area id="level.marker.glow.9" master="level.9" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$earth_9_x,$level_marker_size/-2+$earth_9_y" />
  452. <!-- down --> <area id="level.connect.9" master="level.9" inherit="level.connect.down.spec" position="=$earth_9_x-4,$earth_9_label_y" size="=$level_connect_w,$earth_9_y-$earth_9_label_y"/>
  453. </instance>
  454. <!-- MOON LEVEL SELECT -->
  455. <area
  456. name="moon.select.screen.spec"
  457. inherit="level.select.screen.spec"
  458. >
  459. <mouseOff>
  460. <animation>
  461. <animcolor a="204" d="1"/>
  462. <frame i="spriteimage.map.moon.01" d="1"/>
  463. <frame i="hud.phase.20%.animation" d="1"/>
  464. </animation>
  465. </mouseOff>
  466. </area>
  467. <area
  468. name="moon.select.spec"
  469. inherit="level.select.spec"
  470. color="moon.colormap:level-cash"
  471. mouseOnColor="moon.colormap:level-cash-on"
  472. />
  473. <area
  474. name="moon.num.spec"
  475. inherit="level.num.spec"
  476. color="moon.colormap:level"
  477. mouseOnColor="moon.colormap:level-on"
  478. />
  479. <area
  480. name="moon.name.spec"
  481. inherit="level.name.spec"
  482. color="moon.colormap:level"
  483. mouseOnColor="moon.colormap:level-on"
  484. />
  485. <area
  486. name="moon.select.right.spec"
  487. inherit="moon.select.spec"
  488. halign="right"
  489. textOffset="0,1"
  490. />
  491. <area
  492. name="moon.num.right.spec"
  493. inherit="moon.num.spec"
  494. />
  495. <area
  496. name="moon.name.right.spec"
  497. inherit="moon.name.spec"
  498. halign="right"
  499. textOffset="0,1"
  500. />
  501. <area
  502. name="moon.connect.spec"
  503. inherit="level.connect.spec"
  504. >
  505. <background>
  506. <widgetbackground inherit="line_background"
  507. topColor="moon.colormap:level-line"
  508. bottomColor="titles.colormap:level-line"
  509. />
  510. </background>
  511. <mouseOnBackground>
  512. <widgetbackground inherit="line_background"
  513. topColor="moon.colormap:level-line"
  514. bottomColor="titles.colormap:level-line-on"
  515. />
  516. </mouseOnBackground>
  517. <disabledBackground>
  518. <widgetbackground inherit="line_background"
  519. color="0,0,0,0"
  520. />
  521. </disabledBackground>
  522. </area>
  523. <area
  524. name="moon.connect.down.spec"
  525. inherit="moon.connect.spec"
  526. >
  527. <background>
  528. <widgetbackground inherit="line_background"
  529. topColor="titles.colormap:level-line"
  530. bottomColor="moon.colormap:level-line"
  531. />
  532. </background>
  533. <mouseOnBackground>
  534. <widgetbackground inherit="line_background"
  535. bottomColor="moon.colormap:level-line"
  536. topColor="titles.colormap:level-line-on"
  537. />
  538. </mouseOnBackground>
  539. </area>
  540. <area
  541. name="moon_top.spec"
  542. inherit="titlescreen_top.spec"
  543. text="=$moon_top.spec.label"
  544. color="moon.colormap:level-on"
  545. >
  546. <background>
  547. <widgetbackground inherit="button_background" color="moon.colormap:level-cash" />
  548. </background>
  549. </area>
  550. <!-- define 20 levels here -->
  551. <property key="moon_0_x" value="138" />
  552. <property key="moon_0_y" value="185" />
  553. <property key="moon_0_x_offset" value="0" />
  554. <property key="moon_0_label_y" value="290" />
  555. <property key="moon_0_w" value="117" />
  556. <property key="moon_1_x" value="106" />
  557. <property key="moon_1_y" value="199" />
  558. <property key="moon_1_x_offset" value="8" />
  559. <property key="moon_1_label_y" value="273" />
  560. <property key="moon_1_w" value="72" />
  561. <property key="moon_2_x" value="85" />
  562. <property key="moon_2_y" value="181" />
  563. <property key="moon_2_x_offset" value="0" />
  564. <property key="moon_2_label_y" value="242" />
  565. <property key="moon_2_w" value="62" />
  566. <property key="moon_3_x" value="90" />
  567. <property key="moon_3_y" value="160" />
  568. <property key="moon_3_x_offset" value="0" />
  569. <property key="moon_3_label_y" value="92" />
  570. <property key="moon_3_w" value="65" />
  571. <property key="moon_4_x" value="106" />
  572. <property key="moon_4_y" value="137" />
  573. <property key="moon_4_x_offset" value="20" />
  574. <property key="moon_4_label_y" value="48" />
  575. <property key="moon_4_w" value="72" />
  576. <property key="moon_5_x" value="129" />
  577. <property key="moon_5_y" value="120" />
  578. <property key="moon_5_x_offset" value="0" />
  579. <property key="moon_5_label_y" value="74" />
  580. <property key="moon_5_w" value="80" />
  581. <property key="moon_6_x" value="202" />
  582. <property key="moon_6_y" value="151" />
  583. <property key="moon_6_x_offset" value="-10" />
  584. <property key="moon_6_label_y" value="46" />
  585. <property key="moon_6_w" value="135" />
  586. <property key="moon_7_x" value="224" />
  587. <property key="moon_7_y" value="135" />
  588. <property key="moon_7_x_offset" value="5" />
  589. <property key="moon_7_label_y" value="86" />
  590. <property key="moon_7_w" value="82" />
  591. <property key="moon_8_x" value="235" />
  592. <property key="moon_8_y" value="162" />
  593. <property key="moon_8_x_offset" value="8" />
  594. <property key="moon_8_label_y" value="223" />
  595. <property key="moon_8_w" value="86" />
  596. <property key="moon_9_x" value="215" />
  597. <property key="moon_9_y" value="215" />
  598. <property key="moon_9_x_offset" value="0" />
  599. <property key="moon_9_label_y" value="265" />
  600. <property key="moon_9_w" value="96" />
  601. <instance class="worm.screens.SelectLevelScreen"
  602. name="select.level.screen.1"
  603. maxsprites="512"
  604. keyboardnavigation="false"
  605. world="1"
  606. transition="instant.transition"
  607. centre="both"
  608. stream="moon.stream"
  609. >
  610. <hotkey key="ESCAPE" area="back"/>
  611. <hotkey key="RETURN" area="back"/>
  612. <area id="background" inherit="moon.select.screen.spec" noClick="true" />
  613. <area id="titlescreen_top" inherit="moon_top.spec"/>
  614. <area id="back" inherit="button.abort.spec" />
  615. <area id="level.0" inherit="moon.select.spec" position="=$moon_0_x+$moon_0_x_offset+$level_label_x_offset,$moon_0_label_y-$level_label_h" />
  616. <area id="level.num.0" master="level.0" inherit="moon.num.spec" position="=$moon_0_x+$moon_0_x_offset+$level_label_x_offset,$moon_0_label_y-$level_label_h" />
  617. <area id="level.name.0" master="level.0" inherit="moon.name.spec" size="=$moon_0_w,$level_label_h" position="=$moon_0_x+$moon_0_x_offset+$level_label_x_offset,$moon_0_label_y-$level_label_h" />
  618. <area id="level.marker.0" master="level.0" inherit="level.marker.spec" position="=$level_marker_size/-2+$moon_0_x,$level_marker_size/-2+$moon_0_y" />
  619. <area id="level.marker.glow.0" master="level.0" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$moon_0_x,$level_marker_size/-2+$moon_0_y" />
  620. <!-- up --> <area id="moon.connect.0" master="level.0" inherit="moon.connect.spec" position="=$moon_0_x-4,$moon_0_y" size="=$level_connect_w,$moon_0_label_y-$level_label_h-$moon_0_y+$level_connect_y_offset"/>
  621. <!-- right -->
  622. <area id="level.1" inherit="moon.select.right.spec" size="=$moon_1_w,$level_label_h" position="=$moon_1_x+$moon_1_x_offset+$level_label_x_offset-$moon_1_w,$moon_1_label_y-$level_label_h" />
  623. <area id="level.num.1" master="level.1" inherit="moon.num.right.spec" position="=$moon_1_x+$moon_1_x_offset+$level_label_x_offset,$moon_1_label_y-$level_label_h" />
  624. <area id="level.name.1" master="level.1" inherit="moon.name.right.spec" size="=$moon_1_w,$level_label_h" position="=$moon_1_x+$moon_1_x_offset+$level_label_x_offset-$moon_1_w,$moon_1_label_y-$level_label_h" />
  625. <area id="level.marker.1" master="level.1" inherit="level.marker.spec" position="=$level_marker_size/-2+$moon_1_x,$level_marker_size/-2+$moon_1_y" />
  626. <area id="level.marker.glow.1" master="level.1" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$moon_1_x,$level_marker_size/-2+$moon_1_y" />
  627. <!-- up --> <area id="moon.connect.1" master="level.1" inherit="moon.connect.spec" position="=$moon_1_x-4,$moon_1_y" size="=$level_connect_w,$moon_1_label_y-$level_label_h-$moon_1_y+$level_connect_y_offset"/>
  628. <!-- right -->
  629. <area id="level.2" inherit="moon.select.right.spec" size="=$moon_2_w,$level_label_h" position="=$moon_2_x+$moon_2_x_offset+$level_label_x_offset-$moon_2_w,$moon_2_label_y-$level_label_h" />
  630. <area id="level.num.2" master="level.2" inherit="moon.num.right.spec" position="=$moon_2_x+$moon_2_x_offset+$level_label_x_offset,$moon_2_label_y-$level_label_h" />
  631. <area id="level.name.2" master="level.2" inherit="moon.name.right.spec" size="=$moon_2_w,$level_label_h" position="=$moon_2_x+$moon_2_x_offset+$level_label_x_offset-$moon_2_w,$moon_2_label_y-$level_label_h" />
  632. <area id="level.marker.2" master="level.2" inherit="level.marker.spec" position="=$level_marker_size/-2+$moon_2_x,$level_marker_size/-2+$moon_2_y" />
  633. <area id="level.marker.glow.2" master="level.2" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$moon_2_x,$level_marker_size/-2+$moon_2_y" />
  634. <!-- up --> <area id="moon.connect.2" master="level.2" inherit="moon.connect.spec" position="=$moon_2_x-4,$moon_2_y" size="=$level_connect_w,$moon_2_label_y-$level_label_h-$moon_2_y+$level_connect_y_offset"/>
  635. <!-- right -->
  636. <area id="level.3" inherit="moon.select.right.spec" size="=$moon_3_w,$level_label_h" position="=$moon_3_x+$moon_3_x_offset+$level_label_x_offset-$moon_3_w,$moon_3_label_y-$level_label_h" />
  637. <area id="level.num.3" master="level.3" inherit="moon.num.right.spec" position="=$moon_3_x+$moon_3_x_offset+$level_label_x_offset,$moon_3_label_y-$level_label_h" />
  638. <area id="level.name.3" master="level.3" inherit="moon.name.right.spec" size="=$moon_3_w,$level_label_h" position="=$moon_3_x+$moon_3_x_offset+$level_label_x_offset-$moon_3_w,$moon_3_label_y-$level_label_h" />
  639. <area id="level.marker.3" master="level.3" inherit="level.marker.spec" position="=$level_marker_size/-2+$moon_3_x,$level_marker_size/-2+$moon_3_y" />
  640. <area id="level.marker.glow.3" master="level.3" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$moon_3_x,$level_marker_size/-2+$moon_3_y" />
  641. <!-- down --> <area id="moon.connect.3" master="level.3" inherit="moon.connect.down.spec" position="=$moon_3_x-4,$moon_3_label_y" size="=$level_connect_w,$moon_3_y-$moon_3_label_y"/>
  642. <!-- right -->
  643. <area id="level.4" inherit="moon.select.right.spec" size="=$moon_4_w,$level_label_h" position="=$moon_4_x+$moon_4_x_offset+$level_label_x_offset-$moon_4_w,$moon_4_label_y-$level_label_h" />
  644. <area id="level.num.4" master="level.4" inherit="moon.num.right.spec" position="=$moon_4_x+$moon_4_x_offset+$level_label_x_offset,$moon_4_label_y-$level_label_h" />
  645. <area id="level.name.4" master="level.4" inherit="moon.name.right.spec" size="=$moon_4_w,$level_label_h" position="=$moon_4_x+$moon_4_x_offset+$level_label_x_offset-$moon_4_w,$moon_4_label_y-$level_label_h" />
  646. <area id="level.marker.4" master="level.4" inherit="level.marker.spec" position="=$level_marker_size/-2+$moon_4_x,$level_marker_size/-2+$moon_4_y" />
  647. <area id="level.marker.glow.4" master="level.4" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$moon_4_x,$level_marker_size/-2+$moon_4_y" />
  648. <!-- down --> <area id="moon.connect.4" master="level.4" inherit="moon.connect.down.spec" position="=$moon_4_x-4,$moon_4_label_y" size="=$level_connect_w,$moon_4_y-$moon_4_label_y"/>
  649. <area id="level.5" inherit="moon.select.spec" position="=$moon_5_x+$moon_5_x_offset+$level_label_x_offset,$moon_5_label_y-$level_label_h" />
  650. <area id="level.num.5" master="level.5" inherit="moon.num.spec" position="=$moon_5_x+$moon_5_x_offset+$level_label_x_offset,$moon_5_label_y-$level_label_h" />
  651. <area id="level.name.5" master="level.5" inherit="moon.name.spec" size="=$moon_5_w,$level_label_h" position="=$moon_5_x+$moon_5_x_offset+$level_label_x_offset,$moon_5_label_y-$level_label_h" />
  652. <area id="level.marker.5" master="level.5" inherit="level.marker.spec" position="=$level_marker_size/-2+$moon_5_x,$level_marker_size/-2+$moon_5_y" />
  653. <area id="level.marker.glow.5" master="level.5" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$moon_5_x,$level_marker_size/-2+$moon_5_y" />
  654. <!-- down --> <area id="moon.connect.5" master="level.5" inherit="moon.connect.down.spec" position="=$moon_5_x-4,$moon_5_label_y" size="=$level_connect_w,$moon_5_y-$moon_5_label_y"/>
  655. <area id="level.6" inherit="moon.select.spec" position="=$moon_6_x+$moon_6_x_offset+$level_label_x_offset,$moon_6_label_y-$level_label_h" />
  656. <area id="level.num.6" master="level.6" inherit="moon.num.spec" position="=$moon_6_x+$moon_6_x_offset+$level_label_x_offset,$moon_6_label_y-$level_label_h" />
  657. <area id="level.name.6" master="level.6" inherit="moon.name.spec" size="=$moon_6_w,$level_label_h" position="=$moon_6_x+$moon_6_x_offset+$level_label_x_offset,$moon_6_label_y-$level_label_h" />
  658. <area id="level.marker.6" master="level.6" inherit="level.marker.spec" position="=$level_marker_size/-2+$moon_6_x,$level_marker_size/-2+$moon_6_y" />
  659. <area id="level.marker.glow.6" master="level.6" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$moon_6_x,$level_marker_size/-2+$moon_6_y" />
  660. <!-- down --> <area id="moon.connect.6" master="level.6" inherit="moon.connect.down.spec" position="=$moon_6_x-4,$moon_6_label_y" size="=$level_connect_w,$moon_6_y-$moon_6_label_y"/>
  661. <area id="level.7" inherit="moon.select.spec" position="=$moon_7_x+$moon_7_x_offset+$level_label_x_offset,$moon_7_label_y-$level_label_h" />
  662. <area id="level.num.7" master="level.7" inherit="moon.num.spec" position="=$moon_7_x+$moon_7_x_offset+$level_label_x_offset,$moon_7_label_y-$level_label_h" />
  663. <area id="level.name.7" master="level.7" inherit="moon.name.spec" size="=$moon_7_w,$level_label_h" position="=$moon_7_x+$moon_7_x_offset+$level_label_x_offset,$moon_7_label_y-$level_label_h" />
  664. <area id="level.marker.7" master="level.7" inherit="level.marker.spec" position="=$level_marker_size/-2+$moon_7_x,$level_marker_size/-2+$moon_7_y" />
  665. <area id="level.marker.glow.7" master="level.7" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$moon_7_x,$level_marker_size/-2+$moon_7_y" />
  666. <!-- down --> <area id="moon.connect.7" master="level.7" inherit="moon.connect.down.spec" position="=$moon_7_x-4,$moon_7_label_y" size="=$level_connect_w,$moon_7_y-$moon_7_label_y"/>
  667. <area id="level.8" inherit="moon.select.spec" position="=$moon_8_x+$moon_8_x_offset+$level_label_x_offset,$moon_8_label_y-$level_label_h" />
  668. <area id="level.num.8" master="level.8" inherit="moon.num.spec" position="=$moon_8_x+$moon_8_x_offset+$level_label_x_offset,$moon_8_label_y-$level_label_h" />
  669. <area id="level.name.8" master="level.8" inherit="moon.name.spec" size="=$moon_8_w,$level_label_h" position="=$moon_8_x+$moon_8_x_offset+$level_label_x_offset,$moon_8_label_y-$level_label_h" />
  670. <area id="level.marker.8" master="level.8" inherit="level.marker.spec" position="=$level_marker_size/-2+$moon_8_x,$level_marker_size/-2+$moon_8_y" />
  671. <area id="level.marker.glow.8" master="level.8" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$moon_8_x,$level_marker_size/-2+$moon_8_y" />
  672. <!-- up --> <area id="moon.connect.8" master="level.8" inherit="moon.connect.spec" position="=$moon_8_x-4,$moon_8_y" size="=$level_connect_w,$moon_8_label_y-$level_label_h-$moon_8_y+$level_connect_y_offset"/>
  673. <area id="level.9" inherit="moon.select.spec" position="=$moon_9_x+$moon_9_x_offset+$level_label_x_offset,$moon_9_label_y-$level_label_h" />
  674. <area id="level.num.9" master="level.9" inherit="moon.num.spec" position="=$moon_9_x+$moon_9_x_offset+$level_label_x_offset,$moon_9_label_y-$level_label_h" />
  675. <area id="level.name.9" master="level.9" inherit="moon.name.spec" size="=$moon_9_w,$level_label_h" position="=$moon_9_x+$moon_9_x_offset+$level_label_x_offset,$moon_9_label_y-$level_label_h" />
  676. <area id="level.marker.9" master="level.9" inherit="level.marker.spec" position="=$level_marker_size/-2+$moon_9_x,$level_marker_size/-2+$moon_9_y" />
  677. <area id="level.marker.glow.9" master="level.9" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$moon_9_x,$level_marker_size/-2+$moon_9_y" />
  678. <!-- up --> <area id="moon.connect.9" master="level.9" inherit="moon.connect.spec" position="=$moon_9_x-4,$moon_9_y" size="=$level_connect_w,$moon_9_label_y-$level_label_h-$moon_9_y+$level_connect_y_offset"/>
  679. </instance>
  680. <!-- MARS LEVEL SELECT -->
  681. <area
  682. name="mars.select.screen.left.spec"
  683. inherit="level.select.screen.spec" scale="0.5">
  684. >
  685. <anchor x="mid" d="-256" /><anchor y="mid" d="-130" />
  686. <mouseOff>
  687. <animation>
  688. <animcolor a="204" d="1"/>
  689. <frame i="spriteimage.map.mars.01" d="1"/>
  690. <frame i="hud.phase.20%.animation" d="1"/>
  691. </animation>
  692. </mouseOff>
  693. </area>
  694. <area
  695. name="mars.select.screen.right.spec"
  696. inherit="level.select.screen.spec" scale="0.5">
  697. >
  698. <anchor x="mid" d="0" /><anchor y="mid" d="-130" />
  699. <mouseOff>
  700. <animation>
  701. <animcolor a="204" d="1"/>
  702. <frame i="spriteimage.map.mars.02" d="1"/>
  703. <frame i="hud.phase.20%.animation" d="1"/>
  704. </animation>
  705. </mouseOff>
  706. </area>
  707. <area
  708. name="mars.select.spec"
  709. inherit="level.select.spec"
  710. color="mars.colormap:level-cash"
  711. mouseOnColor="mars.colormap:level-cash-on"
  712. />
  713. <area
  714. name="mars.num.spec"
  715. inherit="level.num.spec"
  716. color="mars.colormap:level"
  717. mouseOnColor="mars.colormap:level-on"
  718. />
  719. <area
  720. name="mars.name.spec"
  721. inherit="level.name.spec"
  722. color="mars.colormap:level"
  723. mouseOnColor="mars.colormap:level-on"
  724. />
  725. <area
  726. name="mars.select.right.spec"
  727. inherit="mars.select.spec"
  728. halign="right"
  729. textOffset="0,1"
  730. />
  731. <area
  732. name="mars.num.right.spec"
  733. inherit="mars.num.spec"
  734. />
  735. <area
  736. name="mars.name.right.spec"
  737. inherit="mars.name.spec"
  738. halign="right"
  739. textOffset="0,1"
  740. />
  741. <area
  742. name="mars.connect.spec"
  743. inherit="level.connect.spec"
  744. >
  745. <background>
  746. <widgetbackground inherit="line_background"
  747. topColor="mars.colormap:level-line"
  748. bottomColor="titles.colormap:level-line"
  749. />
  750. </background>
  751. <mouseOnBackground>
  752. <widgetbackground inherit="line_background"
  753. topColor="mars.colormap:level-line"
  754. bottomColor="titles.colormap:level-line-on"
  755. />
  756. </mouseOnBackground>
  757. <disabledBackground>
  758. <widgetbackground inherit="line_background"
  759. color="0,0,0,0"
  760. />
  761. </disabledBackground>
  762. </area>
  763. <area
  764. name="mars.connect.down.spec"
  765. inherit="mars.connect.spec"
  766. >
  767. <background>
  768. <widgetbackground inherit="line_background"
  769. topColor="titles.colormap:level-line"
  770. bottomColor="mars.colormap:level-line"
  771. />
  772. </background>
  773. <mouseOnBackground>
  774. <widgetbackground inherit="line_background"
  775. bottomColor="mars.colormap:level-line"
  776. topColor="titles.colormap:level-line-on"
  777. />
  778. </mouseOnBackground>
  779. </area>
  780. <area
  781. name="mars_top.spec"
  782. inherit="titlescreen_top.spec"
  783. text="=$mars_top.spec.label"
  784. color="mars.colormap:level-on"
  785. >
  786. <background>
  787. <widgetbackground inherit="button_background" color="mars.colormap:level-cash" />
  788. </background>
  789. </area>
  790. <!-- define 20 levels here -->
  791. <property key="mars_0_x" value="33" />
  792. <property key="mars_0_y" value="189" />
  793. <property key="mars_0_x_offset" value="0" />
  794. <property key="mars_0_label_y" value="285" />
  795. <property key="mars_0_w" value="80" />
  796. <property key="mars_1_x" value="56" />
  797. <property key="mars_1_y" value="193" />
  798. <property key="mars_1_x_offset" value="0" />
  799. <property key="mars_1_label_y" value="260" />
  800. <property key="mars_1_w" value="115" />
  801. <property key="mars_2_x" value="83" />
  802. <property key="mars_2_y" value="172" />
  803. <property key="mars_2_x_offset" value="0" />
  804. <property key="mars_2_label_y" value="235" />
  805. <property key="mars_2_w" value="105" />
  806. <property key="mars_3_x" value="45" />
  807. <property key="mars_3_y" value="153" />
  808. <property key="mars_3_x_offset" value="-12" />
  809. <property key="mars_3_label_y" value="57" />
  810. <property key="mars_3_w" value="85" />
  811. <property key="mars_4_x" value="141" />
  812. <property key="mars_4_y" value="134" />
  813. <property key="mars_4_x_offset" value="8" />
  814. <property key="mars_4_label_y" value="80" />
  815. <property key="mars_4_w" value="85" />
  816. <property key="mars_5_x" value="161" />
  817. <property key="mars_5_y" value="148" />
  818. <property key="mars_5_x_offset" value="0" />
  819. <property key="mars_5_label_y" value="40" />
  820. <property key="mars_5_w" value="90" />
  821. <property key="mars_6_x" value="193" />
  822. <property key="mars_6_y" value="135" />
  823. <property key="mars_6_x_offset" value="0" />
  824. <property key="mars_6_label_y" value="65" />
  825. <property key="mars_6_w" value="70" />
  826. <property key="mars_7_x" value="265" />
  827. <property key="mars_7_y" value="185" />
  828. <property key="mars_7_x_offset" value="20" />
  829. <property key="mars_7_label_y" value="90" />
  830. <property key="mars_7_w" value="70" />
  831. <property key="mars_8_x" value="230" />
  832. <property key="mars_8_y" value="160" />
  833. <property key="mars_8_x_offset" value="0" />
  834. <property key="mars_8_label_y" value="248" />
  835. <property key="mars_8_w" value="100" />
  836. <property key="mars_9_x" value="200" />
  837. <property key="mars_9_y" value="180" />
  838. <property key="mars_9_x_offset" value="0" />
  839. <property key="mars_9_label_y" value="273" />
  840. <property key="mars_9_w" value="115" />
  841. <instance class="worm.screens.SelectLevelScreen"
  842. name="select.level.screen.2"
  843. maxsprites="512"
  844. keyboardnavigation="false"
  845. world="2"
  846. transition="instant.transition"
  847. centre="both"
  848. stream="mars.stream"
  849. >
  850. <hotkey key="ESCAPE" area="back"/>
  851. <hotkey key="RETURN" area="back"/>
  852. <area id="background-left" inherit="mars.select.screen.left.spec" noClick="true" />
  853. <area id="background-right" inherit="mars.select.screen.right.spec" noClick="true" />
  854. <area id="titlescreen_top" inherit="mars_top.spec"/>
  855. <area id="back" inherit="button.abort.spec" />
  856. <area id="level.0" inherit="mars.select.spec" position="=$mars_0_x+$mars_0_x_offset+$level_label_x_offset,$mars_0_label_y-$level_label_h" />
  857. <area id="level.num.0" master="level.0" inherit="mars.num.spec" position="=$mars_0_x+$mars_0_x_offset+$level_label_x_offset,$mars_0_label_y-$level_label_h" />
  858. <area id="level.name.0" master="level.0" inherit="mars.name.spec" size="=$mars_0_w,$level_label_h" position="=$mars_0_x+$mars_0_x_offset+$level_label_x_offset,$mars_0_label_y-$level_label_h" />
  859. <area id="level.marker.0" master="level.0" inherit="level.marker.spec" position="=$level_marker_size/-2+$mars_0_x,$level_marker_size/-2+$mars_0_y" />
  860. <area id="level.marker.glow.0" master="level.0" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$mars_0_x,$level_marker_size/-2+$mars_0_y" />
  861. <!-- up --> <area id="mars.connect.0" master="level.0" inherit="mars.connect.spec" position="=$mars_0_x-4,$mars_0_y" size="=$level_connect_w,$mars_0_label_y-$level_label_h-$mars_0_y+$level_connect_y_offset"/>
  862. <area id="level.1" inherit="mars.select.spec" position="=$mars_1_x+$mars_1_x_offset+$level_label_x_offset,$mars_1_label_y-$level_label_h" />
  863. <area id="level.num.1" master="level.1" inherit="mars.num.spec" position="=$mars_1_x+$mars_1_x_offset+$level_label_x_offset,$mars_1_label_y-$level_label_h" />
  864. <area id="level.name.1" master="level.1" inherit="mars.name.spec" size="=$mars_1_w,$level_label_h" position="=$mars_1_x+$mars_1_x_offset+$level_label_x_offset,$mars_1_label_y-$level_label_h" />
  865. <area id="level.marker.1" master="level.1" inherit="level.marker.spec" position="=$level_marker_size/-2+$mars_1_x,$level_marker_size/-2+$mars_1_y" />
  866. <area id="level.marker.glow.1" master="level.1" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$mars_1_x,$level_marker_size/-2+$mars_1_y" />
  867. <!-- up --> <area id="mars.connect.1" master="level.1" inherit="mars.connect.spec" position="=$mars_1_x-4,$mars_1_y" size="=$level_connect_w,$mars_1_label_y-$level_label_h-$mars_1_y+$level_connect_y_offset"/>
  868. <area id="level.2" inherit="mars.select.spec" position="=$mars_2_x+$mars_2_x_offset+$level_label_x_offset,$mars_2_label_y-$level_label_h" />
  869. <area id="level.num.2" master="level.2" inherit="mars.num.spec" position="=$mars_2_x+$mars_2_x_offset+$level_label_x_offset,$mars_2_label_y-$level_label_h" />
  870. <area id="level.name.2" master="level.2" inherit="mars.name.spec" size="=$mars_2_w,$level_label_h" position="=$mars_2_x+$mars_2_x_offset+$level_label_x_offset,$mars_2_label_y-$level_label_h" />
  871. <area id="level.marker.2" master="level.2" inherit="level.marker.spec" position="=$level_marker_size/-2+$mars_2_x,$level_marker_size/-2+$mars_2_y" />
  872. <area id="level.marker.glow.2" master="level.2" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$mars_2_x,$level_marker_size/-2+$mars_2_y" />
  873. <!-- up --> <area id="mars.connect.2" master="level.2" inherit="mars.connect.spec" position="=$mars_2_x-4,$mars_2_y" size="=$level_connect_w,$mars_2_label_y-$level_label_h-$mars_2_y+$level_connect_y_offset"/>
  874. <area id="level.3" inherit="mars.select.spec" position="=$mars_3_x+$mars_3_x_offset+$level_label_x_offset,$mars_3_label_y-$level_label_h" />
  875. <area id="level.num.3" master="level.3" inherit="mars.num.spec" position="=$mars_3_x+$mars_3_x_offset+$level_label_x_offset,$mars_3_label_y-$level_label_h" />
  876. <area id="level.name.3" master="level.3" inherit="mars.name.spec" size="=$mars_3_w,$level_label_h" position="=$mars_3_x+$mars_3_x_offset+$level_label_x_offset,$mars_3_label_y-$level_label_h" />
  877. <area id="level.marker.3" master="level.3" inherit="level.marker.spec" position="=$level_marker_size/-2+$mars_3_x,$level_marker_size/-2+$mars_3_y" />
  878. <area id="level.marker.glow.3" master="level.3" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$mars_3_x,$level_marker_size/-2+$mars_3_y" />
  879. <!-- down --> <area id="mars.connect.3" master="level.3" inherit="mars.connect.down.spec" position="=$mars_3_x-4,$mars_3_label_y" size="=$level_connect_w,$mars_3_y-$mars_3_label_y"/>
  880. <!-- right -->
  881. <area id="level.4" inherit="mars.select.right.spec" size="=$mars_4_w,$level_label_h" position="=$mars_4_x+$mars_4_x_offset+$level_label_x_offset-$mars_4_w,$mars_4_label_y-$level_label_h" />
  882. <area id="level.num.4" master="level.4" inherit="mars.num.right.spec" position="=$mars_4_x+$mars_4_x_offset+$level_label_x_offset,$mars_4_label_y-$level_label_h" />
  883. <area id="level.name.4" master="level.4" inherit="mars.name.right.spec" size="=$mars_4_w,$level_label_h" position="=$mars_4_x+$mars_4_x_offset+$level_label_x_offset-$mars_4_w,$mars_4_label_y-$level_label_h" />
  884. <area id="level.marker.4" master="level.4" inherit="level.marker.spec" position="=$level_marker_size/-2+$mars_4_x,$level_marker_size/-2+$mars_4_y" />
  885. <area id="level.marker.glow.4" master="level.4" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$mars_4_x,$level_marker_size/-2+$mars_4_y" />
  886. <!-- down --> <area id="mars.connect.4" master="level.4" inherit="mars.connect.down.spec" position="=$mars_4_x-4,$mars_4_label_y" size="=$level_connect_w,$mars_4_y-$mars_4_label_y"/>
  887. <area id="level.5" inherit="mars.select.spec" position="=$mars_5_x+$mars_5_x_offset+$level_label_x_offset,$mars_5_label_y-$level_label_h" />
  888. <area id="level.num.5" master="level.5" inherit="mars.num.spec" position="=$mars_5_x+$mars_5_x_offset+$level_label_x_offset,$mars_5_label_y-$level_label_h" />
  889. <area id="level.name.5" master="level.5" inherit="mars.name.spec" size="=$mars_5_w,$level_label_h" position="=$mars_5_x+$mars_5_x_offset+$level_label_x_offset,$mars_5_label_y-$level_label_h" />
  890. <area id="level.marker.5" master="level.5" inherit="level.marker.spec" position="=$level_marker_size/-2+$mars_5_x,$level_marker_size/-2+$mars_5_y" />
  891. <area id="level.marker.glow.5" master="level.5" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$mars_5_x,$level_marker_size/-2+$mars_5_y" />
  892. <!-- down --> <area id="mars.connect.5" master="level.5" inherit="mars.connect.down.spec" position="=$mars_5_x-4,$mars_5_label_y" size="=$level_connect_w,$mars_5_y-$mars_5_label_y"/>
  893. <area id="level.6" inherit="mars.select.spec" position="=$mars_6_x+$mars_6_x_offset+$level_label_x_offset,$mars_6_label_y-$level_label_h" />
  894. <area id="level.num.6" master="level.6" inherit="mars.num.spec" position="=$mars_6_x+$mars_6_x_offset+$level_label_x_offset,$mars_6_label_y-$level_label_h" />
  895. <area id="level.name.6" master="level.6" inherit="mars.name.spec" size="=$mars_6_w,$level_label_h" position="=$mars_6_x+$mars_6_x_offset+$level_label_x_offset,$mars_6_label_y-$level_label_h" />
  896. <area id="level.marker.6" master="level.6" inherit="level.marker.spec" position="=$level_marker_size/-2+$mars_6_x,$level_marker_size/-2+$mars_6_y" />
  897. <area id="level.marker.glow.6" master="level.6" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$mars_6_x,$level_marker_size/-2+$mars_6_y" />
  898. <!-- down --> <area id="mars.connect.6" master="level.6" inherit="mars.connect.down.spec" position="=$mars_6_x-4,$mars_6_label_y" size="=$level_connect_w,$mars_6_y-$mars_6_label_y"/>
  899. <!-- right -->
  900. <area id="level.7" inherit="mars.select.right.spec" size="=$mars_7_w,$level_label_h" position="=$mars_7_x+$mars_7_x_offset+$level_label_x_offset-$mars_7_w,$mars_7_label_y-$level_label_h" />
  901. <area id="level.num.7" master="level.7" inherit="mars.num.right.spec" position="=$mars_7_x+$mars_7_x_offset+$level_label_x_offset,$mars_7_label_y-$level_label_h" />
  902. <area id="level.name.7" master="level.7" inherit="mars.name.right.spec" size="=$mars_7_w,$level_label_h" position="=$mars_7_x+$mars_7_x_offset+$level_label_x_offset-$mars_7_w,$mars_7_label_y-$level_label_h" />
  903. <area id="level.marker.7" master="level.7" inherit="level.marker.spec" position="=$level_marker_size/-2+$mars_7_x,$level_marker_size/-2+$mars_7_y" />
  904. <area id="level.marker.glow.7" master="level.7" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$mars_7_x,$level_marker_size/-2+$mars_7_y" />
  905. <!-- down --> <area id="mars.connect.7" master="level.7" inherit="mars.connect.down.spec" position="=$mars_7_x-4,$mars_7_label_y" size="=$level_connect_w,$mars_7_y-$mars_7_label_y"/>
  906. <area id="level.8" inherit="mars.select.spec" position="=$mars_8_x+$mars_8_x_offset+$level_label_x_offset,$mars_8_label_y-$level_label_h" />
  907. <area id="level.num.8" master="level.8" inherit="mars.num.spec" position="=$mars_8_x+$mars_8_x_offset+$level_label_x_offset,$mars_8_label_y-$level_label_h" />
  908. <area id="level.name.8" master="level.8" inherit="mars.name.spec" size="=$mars_8_w,$level_label_h" position="=$mars_8_x+$mars_8_x_offset+$level_label_x_offset,$mars_8_label_y-$level_label_h" />
  909. <area id="level.marker.8" master="level.8" inherit="level.marker.spec" position="=$level_marker_size/-2+$mars_8_x,$level_marker_size/-2+$mars_8_y" />
  910. <area id="level.marker.glow.8" master="level.8" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$mars_8_x,$level_marker_size/-2+$mars_8_y" />
  911. <!-- up --> <area id="mars.connect.8" master="level.8" inherit="mars.connect.spec" position="=$mars_8_x-4,$mars_8_y" size="=$level_connect_w,$mars_8_label_y-$level_label_h-$mars_8_y+$level_connect_y_offset"/>
  912. <area id="level.9" inherit="mars.select.spec" position="=$mars_9_x+$mars_9_x_offset+$level_label_x_offset,$mars_9_label_y-$level_label_h" />
  913. <area id="level.num.9" master="level.9" inherit="mars.num.spec" position="=$mars_9_x+$mars_9_x_offset+$level_label_x_offset,$mars_9_label_y-$level_label_h" />
  914. <area id="level.name.9" master="level.9" inherit="mars.name.spec" size="=$mars_9_w,$level_label_h" position="=$mars_9_x+$mars_9_x_offset+$level_label_x_offset,$mars_9_label_y-$level_label_h" />
  915. <area id="level.marker.9" master="level.9" inherit="level.marker.spec" position="=$level_marker_size/-2+$mars_9_x,$level_marker_size/-2+$mars_9_y" />
  916. <area id="level.marker.glow.9" master="level.9" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$mars_9_x,$level_marker_size/-2+$mars_9_y" />
  917. <!-- up --> <area id="mars.connect.9" master="level.9" inherit="mars.connect.spec" position="=$mars_9_x-4,$mars_9_y" size="=$level_connect_w,$mars_9_label_y-$level_label_h-$mars_9_y+$level_connect_y_offset"/>
  918. </instance>
  919. <!-- SATURN LEVEL SELECT -->
  920. <area
  921. name="saturn.select.screen.left.spec"
  922. inherit="level.select.screen.spec" scale="0.5">
  923. >
  924. <anchor x="mid" d="-256" /><anchor y="mid" d="-160" />
  925. <mouseOff>
  926. <animation>
  927. <animcolor a="204" d="1"/>
  928. <frame i="spriteimage.map.saturn.01" d="1"/>
  929. <frame i="hud.phase.20%.animation" d="1"/>
  930. </animation>
  931. </mouseOff>
  932. </area>
  933. <area
  934. name="saturn.select.screen.right.spec"
  935. inherit="level.select.screen.spec" scale="0.5">
  936. >
  937. <anchor x="mid" d="0" /><anchor y="mid" d="-160" />
  938. <mouseOff>
  939. <animation>
  940. <animcolor a="204" d="1"/>
  941. <frame i="spriteimage.map.saturn.02" d="1"/>
  942. <frame i="hud.phase.20%.animation" d="1"/>
  943. </animation>
  944. </mouseOff>
  945. </area>
  946. <area
  947. name="saturn.select.spec"
  948. inherit="level.select.spec"
  949. color="saturn.colormap:level-cash"
  950. mouseOnColor="saturn.colormap:level-cash-on"
  951. />
  952. <area
  953. name="saturn.num.spec"
  954. inherit="level.num.spec"
  955. color="saturn.colormap:level"
  956. mouseOnColor="saturn.colormap:level-on"
  957. />
  958. <area
  959. name="saturn.name.spec"
  960. inherit="level.name.spec"
  961. color="saturn.colormap:level"
  962. mouseOnColor="saturn.colormap:level-on"
  963. />
  964. <area
  965. name="saturn.select.right.spec"
  966. inherit="saturn.select.spec"
  967. halign="right"
  968. textOffset="0,1"
  969. />
  970. <area
  971. name="saturn.num.right.spec"
  972. inherit="saturn.num.spec"
  973. />
  974. <area
  975. name="saturn.name.right.spec"
  976. inherit="saturn.name.spec"
  977. halign="right"
  978. textOffset="0,1"
  979. />
  980. <area
  981. name="saturn.connect.spec"
  982. inherit="level.connect.spec"
  983. >
  984. <background>
  985. <widgetbackground inherit="line_background"
  986. topColor="saturn.colormap:level-line"
  987. bottomColor="titles.colormap:level-line"
  988. />
  989. </background>
  990. <mouseOnBackground>
  991. <widgetbackground inherit="line_background"
  992. topColor="saturn.colormap:level-line"
  993. bottomColor="titles.colormap:level-line-on"
  994. />
  995. </mouseOnBackground>
  996. <disabledBackground>
  997. <widgetbackground inherit="line_background"
  998. color="0,0,0,0"
  999. />
  1000. </disabledBackground>
  1001. </area>
  1002. <area
  1003. name="saturn.connect.down.spec"
  1004. inherit="saturn.connect.spec"
  1005. >
  1006. <background>
  1007. <widgetbackground inherit="line_background"
  1008. topColor="titles.colormap:level-line"
  1009. bottomColor="saturn.colormap:level-line"
  1010. />
  1011. </background>
  1012. <mouseOnBackground>
  1013. <widgetbackground inherit="line_background"
  1014. bottomColor="saturn.colormap:level-line"
  1015. topColor="titles.colormap:level-line-on"
  1016. />
  1017. </mouseOnBackground>
  1018. </area>
  1019. <area
  1020. name="saturn_top.spec"
  1021. inherit="titlescreen_top.spec"
  1022. text="=$saturn_top.spec.label"
  1023. color="saturn.colormap:level-on"
  1024. >
  1025. <background>
  1026. <widgetbackground inherit="button_background" color="saturn.colormap:level-cash" />
  1027. </background>
  1028. </area>
  1029. <!-- define 20 levels here -->
  1030. <property key="saturn_0_x" value="28" />
  1031. <property key="saturn_0_y" value="215" />
  1032. <property key="saturn_0_x_offset" value="-1" />
  1033. <property key="saturn_0_label_y" value="285" />
  1034. <property key="saturn_0_w" value="90" />
  1035. <property key="saturn_1_x" value="60" />
  1036. <property key="saturn_1_y" value="190" />
  1037. <property key="saturn_1_x_offset" value="-2" />
  1038. <property key="saturn_1_label_y" value="260" />
  1039. <property key="saturn_1_w" value="90" />
  1040. <property key="saturn_2_x" value="48" />
  1041. <property key="saturn_2_y" value="97" />
  1042. <property key="saturn_2_x_offset" value="-2" />
  1043. <property key="saturn_2_label_y" value="151" />
  1044. <property key="saturn_2_w" value="90" />
  1045. <property key="saturn_3_x" value="71" />
  1046. <property key="saturn_3_y" value="101" />
  1047. <property key="saturn_3_x_offset" value="-31" />
  1048. <property key="saturn_3_label_y" value="55" />
  1049. <property key="saturn_3_w" value="90" />
  1050. <property key="saturn_4_x" value="150" />
  1051. <property key="saturn_4_y" value="110" />
  1052. <property key="saturn_4_x_offset" value="-20" />
  1053. <property key="saturn_4_label_y" value="43" />
  1054. <property key="saturn_4_w" value="90" />
  1055. <property key="saturn_5_x" value="190" />
  1056. <property key="saturn_5_y" value="123" />
  1057. <property key="saturn_5_x_offset" value="-18" />
  1058. <property key="saturn_5_label_y" value="68" />
  1059. <property key="saturn_5_w" value="90" />
  1060. <property key="saturn_6_x" value="167" />
  1061. <property key="saturn_6_y" value="196" />
  1062. <property key="saturn_6_x_offset" value="0" />
  1063. <property key="saturn_6_label_y" value="260" />
  1064. <property key="saturn_6_w" value="90" />
  1065. <property key="saturn_7_x" value="139" />
  1066. <property key="saturn_7_y" value="202" />
  1067. <property key="saturn_7_x_offset" value="-2" />
  1068. <property key="saturn_7_label_y" value="285" />
  1069. <property key="saturn_7_w" value="90" />
  1070. <property key="saturn_8_x" value="234" />
  1071. <property key="saturn_8_y" value="203" />
  1072. <property key="saturn_8_x_offset" value="9" />
  1073. <property key="saturn_8_label_y" value="170" />
  1074. <property key="saturn_8_w" value="90" />
  1075. <property key="saturn_9_x" value="254" />
  1076. <property key="saturn_9_y" value="232" />
  1077. <property key="saturn_9_x_offset" value="-2" />
  1078. <property key="saturn_9_label_y" value="285" />
  1079. <property key="saturn_9_w" value="90" />
  1080. <instance class="worm.screens.SelectLevelScreen"
  1081. name="select.level.screen.3"
  1082. maxsprites="512"
  1083. keyboardnavigation="false"
  1084. world="3"
  1085. transition="instant.transition"
  1086. centre="both"
  1087. stream="saturn.stream"
  1088. >
  1089. <hotkey key="ESCAPE" area="back"/>
  1090. <hotkey key="RETURN" area="back"/>
  1091. <area id="background-left" inherit="saturn.select.screen.left.spec" noClick="true" />
  1092. <area id="background-right" inherit="saturn.select.screen.right.spec" noClick="true" />
  1093. <area id="titlescreen_top" inherit="saturn_top.spec"/>
  1094. <area id="back" inherit="button.abort.spec" />
  1095. <area id="level.0" inherit="saturn.select.spec" position="=$saturn_0_x+$saturn_0_x_offset+$level_label_x_offset,$saturn_0_label_y-$level_label_h" />
  1096. <area id="level.num.0" master="level.0" inherit="saturn.num.spec" position="=$saturn_0_x+$saturn_0_x_offset+$level_label_x_offset,$saturn_0_label_y-$level_label_h" />
  1097. <area id="level.name.0" master="level.0" inherit="saturn.name.spec" size="=$saturn_0_w,$level_label_h" position="=$saturn_0_x+$saturn_0_x_offset+$level_label_x_offset,$saturn_0_label_y-$level_label_h" />
  1098. <area id="level.marker.0" master="level.0" inherit="level.marker.spec" position="=$level_marker_size/-2+$saturn_0_x,$level_marker_size/-2+$saturn_0_y" />
  1099. <area id="level.marker.glow.0" master="level.0" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$saturn_0_x,$level_marker_size/-2+$saturn_0_y" />
  1100. <!-- up --> <area id="saturn.connect.0" master="level.0" inherit="saturn.connect.spec" position="=$saturn_0_x-4,$saturn_0_y" size="=$level_connect_w,$saturn_0_label_y-$level_label_h-$saturn_0_y+$level_connect_y_offset"/>
  1101. <area id="level.1" inherit="saturn.select.spec" position="=$saturn_1_x+$saturn_1_x_offset+$level_label_x_offset,$saturn_1_label_y-$level_label_h" />
  1102. <area id="level.num.1" master="level.1" inherit="saturn.num.spec" position="=$saturn_1_x+$saturn_1_x_offset+$level_label_x_offset,$saturn_1_label_y-$level_label_h" />
  1103. <area id="level.name.1" master="level.1" inherit="saturn.name.spec" size="=$saturn_1_w,$level_label_h" position="=$saturn_1_x+$saturn_1_x_offset+$level_label_x_offset,$saturn_1_label_y-$level_label_h" />
  1104. <area id="level.marker.1" master="level.1" inherit="level.marker.spec" position="=$level_marker_size/-2+$saturn_1_x,$level_marker_size/-2+$saturn_1_y" />
  1105. <area id="level.marker.glow.1" master="level.1" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$saturn_1_x,$level_marker_size/-2+$saturn_1_y" />
  1106. <!-- up --> <area id="saturn.connect.1" master="level.1" inherit="saturn.connect.spec" position="=$saturn_1_x-4,$saturn_1_y" size="=$level_connect_w,$saturn_1_label_y-$level_label_h-$saturn_1_y+$level_connect_y_offset"/>
  1107. <area id="level.2" inherit="saturn.select.spec" position="=$saturn_2_x+$saturn_2_x_offset+$level_label_x_offset,$saturn_2_label_y-$level_label_h" />
  1108. <area id="level.num.2" master="level.2" inherit="saturn.num.spec" position="=$saturn_2_x+$saturn_2_x_offset+$level_label_x_offset,$saturn_2_label_y-$level_label_h" />
  1109. <area id="level.name.2" master="level.2" inherit="saturn.name.spec" size="=$saturn_2_w,$level_label_h" position="=$saturn_2_x+$saturn_2_x_offset+$level_label_x_offset,$saturn_2_label_y-$level_label_h" />
  1110. <area id="level.marker.2" master="level.2" inherit="level.marker.spec" position="=$level_marker_size/-2+$saturn_2_x,$level_marker_size/-2+$saturn_2_y" />
  1111. <area id="level.marker.glow.2" master="level.2" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$saturn_2_x,$level_marker_size/-2+$saturn_2_y" />
  1112. <!-- up --> <area id="saturn.connect.2" master="level.2" inherit="saturn.connect.spec" position="=$saturn_2_x-4,$saturn_2_y" size="=$level_connect_w,$saturn_2_label_y-$level_label_h-$saturn_2_y+$level_connect_y_offset"/>
  1113. <area id="level.3" inherit="saturn.select.spec" position="=$saturn_3_x+$saturn_3_x_offset+$level_label_x_offset,$saturn_3_label_y-$level_label_h" />
  1114. <area id="level.num.3" master="level.3" inherit="saturn.num.spec" position="=$saturn_3_x+$saturn_3_x_offset+$level_label_x_offset,$saturn_3_label_y-$level_label_h" />
  1115. <area id="level.name.3" master="level.3" inherit="saturn.name.spec" size="=$saturn_3_w,$level_label_h" position="=$saturn_3_x+$saturn_3_x_offset+$level_label_x_offset,$saturn_3_label_y-$level_label_h" />
  1116. <area id="level.marker.3" master="level.3" inherit="level.marker.spec" position="=$level_marker_size/-2+$saturn_3_x,$level_marker_size/-2+$saturn_3_y" />
  1117. <area id="level.marker.glow.3" master="level.3" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$saturn_3_x,$level_marker_size/-2+$saturn_3_y" />
  1118. <!-- down --> <area id="saturn.connect.3" master="level.3" inherit="saturn.connect.down.spec" position="=$saturn_3_x-4,$saturn_3_label_y" size="=$level_connect_w,$saturn_3_y-$saturn_3_label_y"/>
  1119. <area id="level.4" inherit="saturn.select.spec" position="=$saturn_4_x+$saturn_4_x_offset+$level_label_x_offset,$saturn_4_label_y-$level_label_h" />
  1120. <area id="level.num.4" master="level.4" inherit="saturn.num.spec" position="=$saturn_4_x+$saturn_4_x_offset+$level_label_x_offset,$saturn_4_label_y-$level_label_h" />
  1121. <area id="level.name.4" master="level.4" inherit="saturn.name.spec" size="=$saturn_4_w,$level_label_h" position="=$saturn_4_x+$saturn_4_x_offset+$level_label_x_offset,$saturn_4_label_y-$level_label_h" />
  1122. <area id="level.marker.4" master="level.4" inherit="level.marker.spec" position="=$level_marker_size/-2+$saturn_4_x,$level_marker_size/-2+$saturn_4_y" />
  1123. <area id="level.marker.glow.4" master="level.4" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$saturn_4_x,$level_marker_size/-2+$saturn_4_y" />
  1124. <!-- down --> <area id="saturn.connect.4" master="level.4" inherit="saturn.connect.down.spec" position="=$saturn_4_x-4,$saturn_4_label_y" size="=$level_connect_w,$saturn_4_y-$saturn_4_label_y"/>
  1125. <area id="level.5" inherit="saturn.select.spec" position="=$saturn_5_x+$saturn_5_x_offset+$level_label_x_offset,$saturn_5_label_y-$level_label_h" />
  1126. <area id="level.num.5" master="level.5" inherit="saturn.num.spec" position="=$saturn_5_x+$saturn_5_x_offset+$level_label_x_offset,$saturn_5_label_y-$level_label_h" />
  1127. <area id="level.name.5" master="level.5" inherit="saturn.name.spec" size="=$saturn_5_w,$level_label_h" position="=$saturn_5_x+$saturn_5_x_offset+$level_label_x_offset,$saturn_5_label_y-$level_label_h" />
  1128. <area id="level.marker.5" master="level.5" inherit="level.marker.spec" position="=$level_marker_size/-2+$saturn_5_x,$level_marker_size/-2+$saturn_5_y" />
  1129. <area id="level.marker.glow.5" master="level.5" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$saturn_5_x,$level_marker_size/-2+$saturn_5_y" />
  1130. <!-- down --> <area id="saturn.connect.5" master="level.5" inherit="saturn.connect.down.spec" position="=$saturn_5_x-4,$saturn_5_label_y" size="=$level_connect_w,$saturn_5_y-$saturn_5_label_y"/>
  1131. <area id="level.6" inherit="saturn.select.spec" position="=$saturn_6_x+$saturn_6_x_offset+$level_label_x_offset,$saturn_6_label_y-$level_label_h" />
  1132. <area id="level.num.6" master="level.6" inherit="saturn.num.spec" position="=$saturn_6_x+$saturn_6_x_offset+$level_label_x_offset,$saturn_6_label_y-$level_label_h" />
  1133. <area id="level.name.6" master="level.6" inherit="saturn.name.spec" size="=$saturn_6_w,$level_label_h" position="=$saturn_6_x+$saturn_6_x_offset+$level_label_x_offset,$saturn_6_label_y-$level_label_h" />
  1134. <area id="level.marker.6" master="level.6" inherit="level.marker.spec" position="=$level_marker_size/-2+$saturn_6_x,$level_marker_size/-2+$saturn_6_y" />
  1135. <area id="level.marker.glow.6" master="level.6" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$saturn_6_x,$level_marker_size/-2+$saturn_6_y" />
  1136. <!-- up --> <area id="saturn.connect.6" master="level.6" inherit="saturn.connect.spec" position="=$saturn_6_x-4,$saturn_6_y" size="=$level_connect_w,$saturn_6_label_y-$level_label_h-$saturn_6_y+$level_connect_y_offset"/>
  1137. <area id="level.7" inherit="saturn.select.spec" position="=$saturn_7_x+$saturn_7_x_offset+$level_label_x_offset,$saturn_7_label_y-$level_label_h" />
  1138. <area id="level.num.7" master="level.7" inherit="saturn.num.spec" position="=$saturn_7_x+$saturn_7_x_offset+$level_label_x_offset,$saturn_7_label_y-$level_label_h" />
  1139. <area id="level.name.7" master="level.7" inherit="saturn.name.spec" size="=$saturn_7_w,$level_label_h" position="=$saturn_7_x+$saturn_7_x_offset+$level_label_x_offset,$saturn_7_label_y-$level_label_h" />
  1140. <area id="level.marker.7" master="level.7" inherit="level.marker.spec" position="=$level_marker_size/-2+$saturn_7_x,$level_marker_size/-2+$saturn_7_y" />
  1141. <area id="level.marker.glow.7" master="level.7" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$saturn_7_x,$level_marker_size/-2+$saturn_7_y" />
  1142. <!-- up --> <area id="saturn.connect.7" master="level.7" inherit="saturn.connect.spec" position="=$saturn_7_x-4,$saturn_7_y" size="=$level_connect_w,$saturn_7_label_y-$level_label_h-$saturn_7_y+$level_connect_y_offset"/>
  1143. <!-- right -->
  1144. <area id="level.8" inherit="saturn.select.right.spec" size="=$saturn_8_w,$level_label_h" position="=$saturn_8_x+$saturn_8_x_offset+$level_label_x_offset-$saturn_8_w,$saturn_8_label_y-$level_label_h" />
  1145. <area id="level.num.8" master="level.8" inherit="saturn.num.right.spec" position="=$saturn_8_x+$saturn_8_x_offset+$level_label_x_offset,$saturn_8_label_y-$level_label_h" />
  1146. <area id="level.name.8" master="level.8" inherit="saturn.name.right.spec" size="=$saturn_8_w,$level_label_h" position="=$saturn_8_x+$saturn_8_x_offset+$level_label_x_offset-$saturn_8_w,$saturn_8_label_y-$level_label_h" />
  1147. <area id="level.marker.8" master="level.8" inherit="level.marker.spec" position="=$level_marker_size/-2+$saturn_8_x,$level_marker_size/-2+$saturn_8_y" />
  1148. <area id="level.marker.glow.8" master="level.8" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$saturn_8_x,$level_marker_size/-2+$saturn_8_y" />
  1149. <!-- down --> <area id="saturn.connect.8" master="level.8" inherit="saturn.connect.down.spec" position="=$saturn_8_x-4,$saturn_8_label_y" size="=$level_connect_w,$saturn_8_y-$saturn_8_label_y"/>
  1150. <area id="level.9" inherit="saturn.select.spec" position="=$saturn_9_x+$saturn_9_x_offset+$level_label_x_offset,$saturn_9_label_y-$level_label_h" />
  1151. <area id="level.num.9" master="level.9" inherit="saturn.num.spec" position="=$saturn_9_x+$saturn_9_x_offset+$level_label_x_offset,$saturn_9_label_y-$level_label_h" />
  1152. <area id="level.name.9" master="level.9" inherit="saturn.name.spec" size="=$saturn_9_w,$level_label_h" position="=$saturn_9_x+$saturn_9_x_offset+$level_label_x_offset,$saturn_9_label_y-$level_label_h" />
  1153. <area id="level.marker.9" master="level.9" inherit="level.marker.spec" position="=$level_marker_size/-2+$saturn_9_x,$level_marker_size/-2+$saturn_9_y" />
  1154. <area id="level.marker.glow.9" master="level.9" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$saturn_9_x,$level_marker_size/-2+$saturn_9_y" />
  1155. <!-- up --> <area id="saturn.connect.9" master="level.9" inherit="saturn.connect.spec" position="=$saturn_9_x-4,$saturn_9_y" size="=$level_connect_w,$saturn_9_label_y-$level_label_h-$saturn_9_y+$level_connect_y_offset"/>
  1156. </instance>
  1157. <!-- TITAN LEVEL SELECT -->
  1158. <area
  1159. name="titan.select.screen.left.spec"
  1160. inherit="level.select.screen.spec" scale="0.5">
  1161. >
  1162. <anchor x="mid" d="-256" /><anchor y="mid" d="-125" />
  1163. <mouseOff>
  1164. <animation>
  1165. <animcolor a="204" d="1"/>
  1166. <frame i="spriteimage.map.titan.01" d="1"/>
  1167. <frame i="hud.phase.20%.animation" d="1"/>
  1168. </animation>
  1169. </mouseOff>
  1170. </area>
  1171. <area
  1172. name="titan.select.screen.right.spec"
  1173. inherit="level.select.screen.spec" scale="0.5">
  1174. >
  1175. <anchor x="mid" d="0" /><anchor y="mid" d="-125" />
  1176. <mouseOff>
  1177. <animation>
  1178. <animcolor a="204" d="1"/>
  1179. <frame i="spriteimage.map.titan.02" d="1"/>
  1180. <frame i="hud.phase.20%.animation" d="1"/>
  1181. </animation>
  1182. </mouseOff>
  1183. </area>
  1184. <area
  1185. name="titan.select.spec"
  1186. inherit="level.select.spec"
  1187. color="titan.colormap:level-cash"
  1188. mouseOnColor="titan.colormap:level-cash-on"
  1189. />
  1190. <area
  1191. name="titan.num.spec"
  1192. inherit="level.num.spec"
  1193. color="titan.colormap:level"
  1194. mouseOnColor="titan.colormap:level-on"
  1195. />
  1196. <area
  1197. name="titan.name.spec"
  1198. inherit="level.name.spec"
  1199. color="titan.colormap:level"
  1200. mouseOnColor="titan.colormap:level-on"
  1201. />
  1202. <area
  1203. name="titan.select.right.spec"
  1204. inherit="titan.select.spec"
  1205. halign="right"
  1206. textOffset="0,1"
  1207. />
  1208. <area
  1209. name="titan.num.right.spec"
  1210. inherit="titan.num.spec"
  1211. />
  1212. <area
  1213. name="titan.name.right.spec"
  1214. inherit="titan.name.spec"
  1215. halign="right"
  1216. textOffset="0,1"
  1217. />
  1218. <area
  1219. name="titan.connect.spec"
  1220. inherit="level.connect.spec"
  1221. >
  1222. <background>
  1223. <widgetbackground inherit="line_background"
  1224. topColor="titan.colormap:level-line"
  1225. bottomColor="titles.colormap:level-line"
  1226. />
  1227. </background>
  1228. <mouseOnBackground>
  1229. <widgetbackground inherit="line_background"
  1230. topColor="titan.colormap:level-line"
  1231. bottomColor="titles.colormap:level-line-on"
  1232. />
  1233. </mouseOnBackground>
  1234. <disabledBackground>
  1235. <widgetbackground inherit="line_background"
  1236. color="0,0,0,0"
  1237. />
  1238. </disabledBackground>
  1239. </area>
  1240. <area
  1241. name="titan.connect.down.spec"
  1242. inherit="titan.connect.spec"
  1243. >
  1244. <background>
  1245. <widgetbackground inherit="line_background"
  1246. topColor="titles.colormap:level-line"
  1247. bottomColor="titan.colormap:level-line"
  1248. />
  1249. </background>
  1250. <mouseOnBackground>
  1251. <widgetbackground inherit="line_background"
  1252. bottomColor="titan.colormap:level-line"
  1253. topColor="titles.colormap:level-line-on"
  1254. />
  1255. </mouseOnBackground>
  1256. </area>
  1257. <area
  1258. name="titan_top.spec"
  1259. inherit="titlescreen_top.spec"
  1260. text="=$titan_top.spec.label"
  1261. color="titan.colormap:level-on"
  1262. >
  1263. <background>
  1264. <widgetbackground inherit="button_background" color="titan.colormap:level-cash" />
  1265. </background>
  1266. </area>
  1267. <!-- define 20 levels here -->
  1268. <property key="titan_0_x" value="85" />
  1269. <property key="titan_0_y" value="190" />
  1270. <property key="titan_0_x_offset" value="9" />
  1271. <property key="titan_0_label_y" value="255" />
  1272. <property key="titan_0_w" value="60" />
  1273. <property key="titan_1_x" value="106" />
  1274. <property key="titan_1_y" value="199" />
  1275. <property key="titan_1_x_offset" value="8" />
  1276. <property key="titan_1_label_y" value="285" />
  1277. <property key="titan_1_w" value="60" />
  1278. <property key="titan_2_x" value="178" />
  1279. <property key="titan_2_y" value="219" />
  1280. <property key="titan_2_x_offset" value="8" />
  1281. <property key="titan_2_label_y" value="290" />
  1282. <property key="titan_2_w" value="50" />
  1283. <property key="titan_3_x" value="215" />
  1284. <property key="titan_3_y" value="209" />
  1285. <property key="titan_3_x_offset" value="-2" />
  1286. <property key="titan_3_label_y" value="280" />
  1287. <property key="titan_3_w" value="90" />
  1288. <property key="titan_4_x" value="235" />
  1289. <property key="titan_4_y" value="190" />
  1290. <property key="titan_4_x_offset" value="-2" />
  1291. <property key="titan_4_label_y" value="250" />
  1292. <property key="titan_4_w" value="75" />
  1293. <property key="titan_5_x" value="85" />
  1294. <property key="titan_5_y" value="140" />
  1295. <property key="titan_5_x_offset" value="-2" />
  1296. <property key="titan_5_label_y" value="92" />
  1297. <property key="titan_5_w" value="55" />
  1298. <property key="titan_6_x" value="102" />
  1299. <property key="titan_6_y" value="120" />
  1300. <property key="titan_6_x_offset" value="0" />
  1301. <property key="titan_6_label_y" value="65" />
  1302. <property key="titan_6_w" value="55" />
  1303. <property key="titan_7_x" value="122" />
  1304. <property key="titan_7_y" value="129" />
  1305. <property key="titan_7_x_offset" value="18" />
  1306. <property key="titan_7_label_y" value="38" />
  1307. <property key="titan_7_w" value="60" />
  1308. <property key="titan_8_x" value="150" />
  1309. <property key="titan_8_y" value="103" />
  1310. <property key="titan_8_x_offset" value="0" />
  1311. <property key="titan_8_label_y" value="65" />
  1312. <property key="titan_8_w" value="60" />
  1313. <property key="titan_9_x" value="230" />
  1314. <property key="titan_9_y" value="128" />
  1315. <property key="titan_9_x_offset" value="-5" />
  1316. <property key="titan_9_label_y" value="38" />
  1317. <property key="titan_9_w" value="100" />
  1318. <instance class="worm.screens.SelectLevelScreen"
  1319. name="select.level.screen.4"
  1320. maxsprites="512"
  1321. keyboardnavigation="false"
  1322. world="4"
  1323. transition="instant.transition"
  1324. centre="both"
  1325. stream="titan.stream"
  1326. >
  1327. <hotkey key="ESCAPE" area="back"/>
  1328. <hotkey key="RETURN" area="back"/>
  1329. <area id="background-left" inherit="titan.select.screen.left.spec" noClick="true" />
  1330. <area id="background-right" inherit="titan.select.screen.right.spec" noClick="true" />
  1331. <area id="titlescreen_top" inherit="titan_top.spec"/>
  1332. <area id="back" inherit="button.abort.spec" />
  1333. <!-- right -->
  1334. <area id="level.0" inherit="titan.select.right.spec" size="=$titan_0_w,$level_label_h" position="=$titan_0_x+$titan_0_x_offset+$level_label_x_offset-$titan_0_w,$titan_0_label_y-$level_label_h" />
  1335. <area id="level.num.0" master="level.0" inherit="titan.num.right.spec" position="=$titan_0_x+$titan_0_x_offset+$level_label_x_offset,$titan_0_label_y-$level_label_h" />
  1336. <area id="level.name.0" master="level.0" inherit="titan.name.right.spec" size="=$titan_0_w,$level_label_h" position="=$titan_0_x+$titan_0_x_offset+$level_label_x_offset-$titan_0_w,$titan_0_label_y-$level_label_h" />
  1337. <area id="level.marker.0" master="level.0" inherit="level.marker.spec" position="=$level_marker_size/-2+$titan_0_x,$level_marker_size/-2+$titan_0_y" />
  1338. <area id="level.marker.glow.0" master="level.0" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$titan_0_x,$level_marker_size/-2+$titan_0_y" />
  1339. <!-- up --> <area id="titan.connect.0" master="level.0" inherit="titan.connect.spec" position="=$titan_0_x-4,$titan_0_y" size="=$level_connect_w,$titan_0_label_y-$level_label_h-$titan_0_y+$level_connect_y_offset"/>
  1340. <!-- right -->
  1341. <area id="level.1" inherit="titan.select.right.spec" size="=$titan_1_w,$level_label_h" position="=$titan_1_x+$titan_1_x_offset+$level_label_x_offset-$titan_1_w,$titan_1_label_y-$level_label_h" />
  1342. <area id="level.num.1" master="level.1" inherit="titan.num.right.spec" position="=$titan_1_x+$titan_1_x_offset+$level_label_x_offset,$titan_1_label_y-$level_label_h" />
  1343. <area id="level.name.1" master="level.1" inherit="titan.name.right.spec" size="=$titan_1_w,$level_label_h" position="=$titan_1_x+$titan_1_x_offset+$level_label_x_offset-$titan_1_w,$titan_1_label_y-$level_label_h" />
  1344. <area id="level.marker.1" master="level.1" inherit="level.marker.spec" position="=$level_marker_size/-2+$titan_1_x,$level_marker_size/-2+$titan_1_y" />
  1345. <area id="level.marker.glow.1" master="level.1" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$titan_1_x,$level_marker_size/-2+$titan_1_y" />
  1346. <!-- up --> <area id="titan.connect.1" master="level.1" inherit="titan.connect.spec" position="=$titan_1_x-4,$titan_1_y" size="=$level_connect_w,$titan_1_label_y-$level_label_h-$titan_1_y+$level_connect_y_offset"/>
  1347. <!-- right -->
  1348. <area id="level.2" inherit="titan.select.right.spec" size="=$titan_2_w,$level_label_h" position="=$titan_2_x+$titan_2_x_offset+$level_label_x_offset-$titan_2_w,$titan_2_label_y-$level_label_h" />
  1349. <area id="level.num.2" master="level.2" inherit="titan.num.right.spec" position="=$titan_2_x+$titan_2_x_offset+$level_label_x_offset,$titan_2_label_y-$level_label_h" />
  1350. <area id="level.name.2" master="level.2" inherit="titan.name.right.spec" size="=$titan_2_w,$level_label_h" position="=$titan_2_x+$titan_2_x_offset+$level_label_x_offset-$titan_2_w,$titan_2_label_y-$level_label_h" />
  1351. <area id="level.marker.2" master="level.2" inherit="level.marker.spec" position="=$level_marker_size/-2+$titan_2_x,$level_marker_size/-2+$titan_2_y" />
  1352. <area id="level.marker.glow.2" master="level.2" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$titan_2_x,$level_marker_size/-2+$titan_2_y" />
  1353. <!-- up --> <area id="titan.connect.2" master="level.2" inherit="titan.connect.spec" position="=$titan_2_x-4,$titan_2_y" size="=$level_connect_w,$titan_2_label_y-$level_label_h-$titan_2_y+$level_connect_y_offset"/>
  1354. <area id="level.3" inherit="titan.select.spec" position="=$titan_3_x+$titan_3_x_offset+$level_label_x_offset,$titan_3_label_y-$level_label_h" />
  1355. <area id="level.num.3" master="level.3" inherit="titan.num.spec" position="=$titan_3_x+$titan_3_x_offset+$level_label_x_offset,$titan_3_label_y-$level_label_h" />
  1356. <area id="level.name.3" master="level.3" inherit="titan.name.spec" size="=$titan_3_w,$level_label_h" position="=$titan_3_x+$titan_3_x_offset+$level_label_x_offset,$titan_3_label_y-$level_label_h" />
  1357. <area id="level.marker.3" master="level.3" inherit="level.marker.spec" position="=$level_marker_size/-2+$titan_3_x,$level_marker_size/-2+$titan_3_y" />
  1358. <area id="level.marker.glow.3" master="level.3" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$titan_3_x,$level_marker_size/-2+$titan_3_y" />
  1359. <!-- up --> <area id="titan.connect.3" master="level.3" inherit="titan.connect.spec" position="=$titan_3_x-4,$titan_3_y" size="=$level_connect_w,$titan_3_label_y-$level_label_h-$titan_3_y+$level_connect_y_offset"/>
  1360. <area id="level.4" inherit="titan.select.spec" position="=$titan_4_x+$titan_4_x_offset+$level_label_x_offset,$titan_4_label_y-$level_label_h" />
  1361. <area id="level.num.4" master="level.4" inherit="titan.num.spec" position="=$titan_4_x+$titan_4_x_offset+$level_label_x_offset,$titan_4_label_y-$level_label_h" />
  1362. <area id="level.name.4" master="level.4" inherit="titan.name.spec" size="=$titan_4_w,$level_label_h" position="=$titan_4_x+$titan_4_x_offset+$level_label_x_offset,$titan_4_label_y-$level_label_h" />
  1363. <area id="level.marker.4" master="level.4" inherit="level.marker.spec" position="=$level_marker_size/-2+$titan_4_x,$level_marker_size/-2+$titan_4_y" />
  1364. <area id="level.marker.glow.4" master="level.4" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$titan_4_x,$level_marker_size/-2+$titan_4_y" />
  1365. <!-- up --> <area id="titan.connect.4" master="level.4" inherit="titan.connect.spec" position="=$titan_4_x-4,$titan_4_y" size="=$level_connect_w,$titan_4_label_y-$level_label_h-$titan_4_y+$level_connect_y_offset"/>
  1366. <!-- right -->
  1367. <area id="level.5" inherit="titan.select.right.spec" size="=$titan_5_w,$level_label_h" position="=$titan_5_x+$titan_5_x_offset+$level_label_x_offset-$titan_5_w,$titan_5_label_y-$level_label_h" />
  1368. <area id="level.num.5" master="level.5" inherit="titan.num.right.spec" position="=$titan_5_x+$titan_5_x_offset+$level_label_x_offset,$titan_5_label_y-$level_label_h" />
  1369. <area id="level.name.5" master="level.5" inherit="titan.name.right.spec" size="=$titan_5_w,$level_label_h" position="=$titan_5_x+$titan_5_x_offset+$level_label_x_offset-$titan_5_w,$titan_5_label_y-$level_label_h" />
  1370. <area id="level.marker.5" master="level.5" inherit="level.marker.spec" position="=$level_marker_size/-2+$titan_5_x,$level_marker_size/-2+$titan_5_y" />
  1371. <area id="level.marker.glow.5" master="level.5" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$titan_5_x,$level_marker_size/-2+$titan_5_y" />
  1372. <!-- down --> <area id="titan.connect.5" master="level.5" inherit="titan.connect.down.spec" position="=$titan_5_x-4,$titan_5_label_y" size="=$level_connect_w,$titan_5_y-$titan_5_label_y"/>
  1373. <!-- right -->
  1374. <area id="level.6" inherit="titan.select.right.spec" size="=$titan_6_w,$level_label_h" position="=$titan_6_x+$titan_6_x_offset+$level_label_x_offset-$titan_6_w,$titan_6_label_y-$level_label_h" />
  1375. <area id="level.num.6" master="level.6" inherit="titan.num.right.spec" position="=$titan_6_x+$titan_6_x_offset+$level_label_x_offset,$titan_6_label_y-$level_label_h" />
  1376. <area id="level.name.6" master="level.6" inherit="titan.name.right.spec" size="=$titan_6_w,$level_label_h" position="=$titan_6_x+$titan_6_x_offset+$level_label_x_offset-$titan_6_w,$titan_6_label_y-$level_label_h" />
  1377. <area id="level.marker.6" master="level.6" inherit="level.marker.spec" position="=$level_marker_size/-2+$titan_6_x,$level_marker_size/-2+$titan_6_y" />
  1378. <area id="level.marker.glow.6" master="level.6" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$titan_6_x,$level_marker_size/-2+$titan_6_y" />
  1379. <!-- down --> <area id="titan.connect.6" master="level.6" inherit="titan.connect.down.spec" position="=$titan_6_x-4,$titan_6_label_y" size="=$level_connect_w,$titan_6_y-$titan_6_label_y"/>
  1380. <!-- right -->
  1381. <area id="level.7" inherit="titan.select.right.spec" size="=$titan_7_w,$level_label_h" position="=$titan_7_x+$titan_7_x_offset+$level_label_x_offset-$titan_7_w,$titan_7_label_y-$level_label_h" />
  1382. <area id="level.num.7" master="level.7" inherit="titan.num.right.spec" position="=$titan_7_x+$titan_7_x_offset+$level_label_x_offset,$titan_7_label_y-$level_label_h" />
  1383. <area id="level.name.7" master="level.7" inherit="titan.name.right.spec" size="=$titan_7_w,$level_label_h" position="=$titan_7_x+$titan_7_x_offset+$level_label_x_offset-$titan_7_w,$titan_7_label_y-$level_label_h" />
  1384. <area id="level.marker.7" master="level.7" inherit="level.marker.spec" position="=$level_marker_size/-2+$titan_7_x,$level_marker_size/-2+$titan_7_y" />
  1385. <area id="level.marker.glow.7" master="level.7" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$titan_7_x,$level_marker_size/-2+$titan_7_y" />
  1386. <!-- down --> <area id="titan.connect.7" master="level.7" inherit="titan.connect.down.spec" position="=$titan_7_x-4,$titan_7_label_y" size="=$level_connect_w,$titan_7_y-$titan_7_label_y"/>
  1387. <area id="level.8" inherit="titan.select.spec" position="=$titan_8_x+$titan_8_x_offset+$level_label_x_offset,$titan_8_label_y-$level_label_h" />
  1388. <area id="level.num.8" master="level.8" inherit="titan.num.spec" position="=$titan_8_x+$titan_8_x_offset+$level_label_x_offset,$titan_8_label_y-$level_label_h" />
  1389. <area id="level.name.8" master="level.8" inherit="titan.name.spec" size="=$titan_8_w,$level_label_h" position="=$titan_8_x+$titan_8_x_offset+$level_label_x_offset,$titan_8_label_y-$level_label_h" />
  1390. <area id="level.marker.8" master="level.8" inherit="level.marker.spec" position="=$level_marker_size/-2+$titan_8_x,$level_marker_size/-2+$titan_8_y" />
  1391. <area id="level.marker.glow.8" master="level.8" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$titan_8_x,$level_marker_size/-2+$titan_8_y" />
  1392. <!-- down --> <area id="titan.connect.8" master="level.8" inherit="titan.connect.down.spec" position="=$titan_8_x-4,$titan_8_label_y" size="=$level_connect_w,$titan_8_y-$titan_8_label_y"/>
  1393. <area id="level.9" inherit="titan.select.spec" position="=$titan_9_x+$titan_9_x_offset+$level_label_x_offset,$titan_9_label_y-$level_label_h" />
  1394. <area id="level.num.9" master="level.9" inherit="titan.num.spec" position="=$titan_9_x+$titan_9_x_offset+$level_label_x_offset,$titan_9_label_y-$level_label_h" />
  1395. <area id="level.name.9" master="level.9" inherit="titan.name.spec" size="=$titan_9_w,$level_label_h" position="=$titan_9_x+$titan_9_x_offset+$level_label_x_offset,$titan_9_label_y-$level_label_h" />
  1396. <area id="level.marker.9" master="level.9" inherit="level.marker.spec" position="=$level_marker_size/-2+$titan_9_x,$level_marker_size/-2+$titan_9_y" />
  1397. <area id="level.marker.glow.9" master="level.9" inherit="level.marker.glow.spec" position="=$level_marker_size/-2+$titan_9_x,$level_marker_size/-2+$titan_9_y" />
  1398. <!-- down --> <area id="titan.connect.9" master="level.9" inherit="titan.connect.down.spec" position="=$titan_9_x-4,$titan_9_label_y" size="=$level_connect_w,$titan_9_y-$titan_9_label_y"/>
  1399. </instance>
  1400. <area
  1401. name="world.select.screen.left.spec"
  1402. inherit="level.select.screen.spec" scale="0.5">
  1403. >
  1404. <anchor x="mid" d="-256" /><anchor y="mid" d="-130" />
  1405. <mouseOff>
  1406. <animation>
  1407. <animcolor a="204" d="1"/>
  1408. <frame i="spriteimage.world.select.01" d="1"/>
  1409. <frame i="hud.phase.20%.animation" d="1"/>
  1410. </animation>
  1411. </mouseOff>
  1412. </area>
  1413. <area
  1414. name="world.select.screen.right.spec"
  1415. inherit="level.select.screen.spec" scale="0.5">
  1416. >
  1417. <anchor x="mid" d="0" /><anchor y="mid" d="-130" />
  1418. <mouseOff>
  1419. <animation>
  1420. <animcolor a="204" d="1"/>
  1421. <frame i="spriteimage.world.select.02" d="1"/>
  1422. <frame i="hud.phase.20%.animation" d="1"/>
  1423. </animation>
  1424. </mouseOff>
  1425. </area>
  1426. <area
  1427. name="world.select.right.spec"
  1428. inherit="level.select.spec"
  1429. halign="right"
  1430. textOffset="0,1"
  1431. />
  1432. <area
  1433. name="world.num.right.spec"
  1434. inherit="level.num.spec"
  1435. halign="left"
  1436. textOffset="2,2"
  1437. />
  1438. <area
  1439. name="world.name.right.spec"
  1440. inherit="level.name.spec"
  1441. halign="right"
  1442. textOffset="0,1"
  1443. />
  1444. <area
  1445. name="world_top.spec"
  1446. inherit="earth_top.spec"
  1447. text="=$world_top.spec.label"
  1448. color="earth.colormap:level-on"
  1449. >
  1450. <background>
  1451. <widgetbackground inherit="button_background" color="earth.colormap:level-cash" />
  1452. </background>
  1453. </area>
  1454. <area
  1455. name="world.select.spec"
  1456. inherit="level.select.spec"
  1457. size="=90,$level_label_h"
  1458. />
  1459. <area
  1460. name="world.connect.spec"
  1461. inherit="level.connect.spec"
  1462. >
  1463. <background>
  1464. <widgetbackground inherit="line_background"
  1465. bottomColor="earth.colormap:level-line"
  1466. topColor="titles.colormap:level-line"
  1467. />
  1468. </background>
  1469. <mouseOnBackground>
  1470. <widgetbackground inherit="line_background"
  1471. bottomColor="earth.colormap:level-line"
  1472. topColor="titles.colormap:level-line-on"
  1473. />
  1474. </mouseOnBackground>
  1475. </area>
  1476. <area
  1477. name="world.connect.down.spec"
  1478. inherit="world.connect.spec"
  1479. >
  1480. <background>
  1481. <widgetbackground inherit="line_background"
  1482. bottomColor="titles.colormap:level-line"
  1483. topColor="earth.colormap:level-line"
  1484. />
  1485. </background>
  1486. <mouseOnBackground>
  1487. <widgetbackground inherit="line_background"
  1488. topColor="earth.colormap:level-line"
  1489. bottomColor="titles.colormap:level-line-on"
  1490. />
  1491. </mouseOnBackground>
  1492. </area>
  1493. <property key="world_0_x" value="30" />
  1494. <property key="world_0_y" value="128" />
  1495. <property key="world_0_x_offset" value="0" />
  1496. <property key="world_0_label_y" value="240" />
  1497. <property key="world_0_w" value="100" />
  1498. <property key="world_1_x" value="98" />
  1499. <property key="world_1_y" value="100" />
  1500. <property key="world_1_x_offset" value="-10" />
  1501. <property key="world_1_label_y" value="53" />
  1502. <property key="world_1_w" value="150" />
  1503. <property key="world_2_x" value="137" />
  1504. <property key="world_2_y" value="182" />
  1505. <property key="world_2_x_offset" value="0" />
  1506. <property key="world_2_label_y" value="293" />
  1507. <property key="world_2_w" value="100" />
  1508. <property key="world_3_x" value="255" />
  1509. <property key="world_3_y" value="193" />
  1510. <property key="world_3_x_offset" value="19" />
  1511. <property key="world_3_label_y" value="130" />
  1512. <property key="world_3_w" value="100" />
  1513. <property key="world_4_x" value="293" />
  1514. <property key="world_4_y" value="229" />
  1515. <property key="world_4_x_offset" value="17" />
  1516. <property key="world_4_label_y" value="89" />
  1517. <property key="world_4_w" value="100" />
  1518. <property key="world_connect_y_offset" value="3" />
  1519. <property key="up_shift" value="6" />
  1520. <instance class="worm.screens.SelectWorldScreen"
  1521. name="select.world.screen"
  1522. keyboardnavigation="false"
  1523. transition="instant.transition"
  1524. centre="both"
  1525. >
  1526. <hotkey key="ESCAPE" area="cancel"/>
  1527. <hotkey key="RETURN" area="cancel"/>
  1528. <area id="background-left" inherit="world.select.screen.left.spec" noClick="true" />
  1529. <area id="background-right" inherit="world.select.screen.right.spec" noClick="true" />
  1530. <area id="titlescreen_top" inherit="world_top.spec" />
  1531. <area id="cancel" inherit="button.abort.spec" />
  1532. <!-- define 5 worlds here -->
  1533. <area id="world.0" inherit="world.select.spec" size="=$world_0_w,$level_label_h" position="=$world_0_x+$world_0_x_offset+$level_label_x_offset,$world_0_label_y-$level_label_h-$up_shift" />
  1534. <area id="world.num.0" master="world.0" inherit="level.num.spec" position="=$world_0_x+$world_0_x_offset+$level_label_x_offset,$world_0_label_y-$level_label_h-$up_shift" />
  1535. <area id="world.name.0" master="world.0" inherit="level.name.spec" size="=$world_0_w,$level_label_h" position="=$world_0_x+$world_0_x_offset+$level_label_x_offset,$world_0_label_y-$level_label_h-$up_shift" />
  1536. <!-- up --> <area id="world.connect.0" master="world.0" inherit="world.connect.spec" position="=$world_0_x-4,$world_0_y" size="=$level_connect_w,$world_0_label_y-$level_label_h-$world_0_y+$world_connect_y_offset"/>
  1537. <area id="world.3.planet" position="13, 67" size="66, 66" master="world.0"/>
  1538. <area id="world.1" inherit="world.select.spec" size="=$world_1_w,$level_label_h" position="=$world_1_x+$world_1_x_offset+$level_label_x_offset,$world_1_label_y-$level_label_h" />
  1539. <area id="world.num.1" master="world.1" inherit="level.num.spec" position="=$world_1_x+$world_1_x_offset+$level_label_x_offset,$world_1_label_y-$level_label_h" />
  1540. <area id="world.name.1" master="world.1" inherit="level.name.spec" size="=$world_1_w,$level_label_h" position="=$world_1_x+$world_1_x_offset+$level_label_x_offset,$world_1_label_y-$level_label_h" />
  1541. <!-- down --> <area id="world.connect.1" master="world.1" inherit="world.connect.down.spec" position="=$world_1_x-4,$world_1_label_y" size="=$level_connect_w,$world_1_y-$world_1_label_y"/>
  1542. <area id="world.1.planet" position="91, 92" size="25, 26" master="world.1"/>
  1543. <area id="world.2" inherit="world.select.spec" size="=$world_2_w,$level_label_h" position="=$world_2_x+$world_2_x_offset+$level_label_x_offset,$world_2_label_y-$level_label_h-$up_shift" />
  1544. <area id="world.num.2" master="world.2" inherit="level.num.spec" position="=$world_2_x+$world_2_x_offset+$level_label_x_offset,$world_2_label_y-$level_label_h-$up_shift" />
  1545. <area id="world.name.2" master="world.2" inherit="level.name.spec" size="=$world_2_w,$level_label_h" position="=$world_2_x+$world_2_x_offset+$level_label_x_offset,$world_2_label_y-$level_label_h-$up_shift" />
  1546. <!-- up --> <area id="world.connect.2" master="world.2" inherit="world.connect.spec" position="=$world_2_x-4,$world_2_y" size="=$level_connect_w,$world_2_label_y-$level_label_h-$world_2_y+$world_connect_y_offset"/>
  1547. <area id="world.2.planet" position="123, 122" size="60, 68" master="world.2"/>
  1548. <!-- right -->
  1549. <area id="world.3" inherit="world.select.right.spec" size="=$world_3_w,$level_label_h" position="=$world_3_x+$world_3_x_offset+$level_label_x_offset-$world_3_w,$world_3_label_y-$level_label_h" />
  1550. <area id="world.num.3" master="world.3" inherit="world.num.right.spec" position="=$world_3_x+$world_3_x_offset+$level_label_x_offset,$world_3_label_y-$level_label_h" />
  1551. <area id="world.name.3" master="world.3" inherit="world.name.right.spec" size="=$world_3_w,$level_label_h" position="=$world_3_x+$world_3_x_offset+$level_label_x_offset-$world_3_w,$world_3_label_y-$level_label_h" />
  1552. <!-- down --> <area id="world.connect.3" master="world.3" inherit="world.connect.down.spec" position="=$world_3_x-3,$world_3_label_y" size="=$level_connect_w,$world_3_y-$world_3_label_y"/>
  1553. <area id="world.3.planet" position="183, 187" size="100, 72" master="world.3"/>
  1554. <!-- right -->
  1555. <area id="world.4" inherit="world.select.right.spec" size="=$world_4_w,$level_label_h" position="=$world_4_x+$world_4_x_offset+$level_label_x_offset-$world_4_w,$world_4_label_y-$level_label_h" />
  1556. <area id="world.num.4" master="world.4" inherit="world.num.right.spec" position="=$world_4_x+$world_4_x_offset+$level_label_x_offset,$world_4_label_y-$level_label_h" />
  1557. <area id="world.name.4" master="world.4" inherit="world.name.right.spec" size="=$world_4_w,$level_label_h" position="=$world_4_x+$world_4_x_offset+$level_label_x_offset-$world_4_w,$world_4_label_y-$level_label_h" />
  1558. <!-- down --> <area id="world.connect.4" master="world.4" inherit="world.connect.down.spec" position="=$world_4_x-4,$world_4_label_y" size="=$level_connect_w,$world_4_y-$world_4_label_y"/>
  1559. <area id="world.4.planet" position="283, 221" size="23, 23" master="world.4"/>
  1560. </instance>
  1561. <!-- ENDLESS level select 5 across -->
  1562. <property key="endless_w" value="58" />
  1563. <property key="endless_h" value="33" />
  1564. <property key="endless_x_1" value="=-(($endless_w*5)/2)" />
  1565. <property key="endless_x_2" value="=$endless_x_1+$endless_w" />
  1566. <property key="endless_x_3" value="=$endless_x_2+$endless_w" />
  1567. <property key="endless_x_4" value="=$endless_x_3+$endless_w" />
  1568. <property key="endless_x_5" value="=$endless_x_4+$endless_w" />
  1569. <property key="endless_y" value="-30" />
  1570. <property key="endless_y_1" value="=$endless_y-($endless_h*1)" />
  1571. <property key="endless_y_2" value="=$endless_y-($endless_h*2)" />
  1572. <property key="endless_y_3" value="=$endless_y-($endless_h*3)" />
  1573. <property key="endless_y_4" value="=$endless_y-($endless_h*4)" />
  1574. <property key="endless_y_5" value="=$endless_y-($endless_h*5)" />
  1575. <property key="endless_y_6" value="=$endless_y-($endless_h*6)" />
  1576. <property key="endless_y_7" value="=$endless_y-($endless_h*7)" />
  1577. <property key="endless_y_8" value="=$endless_y-($endless_h*8)" />
  1578. <property key="endless_y_9" value="=$endless_y-($endless_h*9)" />
  1579. <property key="endless_y_10" value="=$endless_y-($endless_h*10)" />
  1580. <area
  1581. name="endless.num.spec"
  1582. inherit="level.num.spec"
  1583. size="=$endless_w,$endless_h"
  1584. noclick="true"
  1585. halign="left"
  1586. textOffset="5, -2"
  1587. mouseOnColor="button-text-on"
  1588. disabledColor="0,0,0,64"
  1589. group="endless"
  1590. position="0,0"
  1591. />
  1592. <area
  1593. name="endless.cash.spec"
  1594. inherit="level.select.spec"
  1595. size="=$endless_w,$endless_h"
  1596. halign="right"
  1597. valign="bottom"
  1598. textOffset="-5, 3"
  1599. mouseOnColor="button-text-on"
  1600. disabledColor="0,0,0,64"
  1601. group="endless"
  1602. position="0,0"
  1603. >
  1604. <background>
  1605. <widgetbackground inherit="button_background"
  1606. insets="2,2,2,2"
  1607. color="button"
  1608. />
  1609. </background>
  1610. <mouseOnBackground>
  1611. <widgetbackground inherit="button_background"
  1612. insets="2,2,2,2"
  1613. color="button-on"
  1614. />
  1615. </mouseOnBackground>
  1616. <disabledBackground>
  1617. <widgetbackground inherit="button_background"
  1618. insets="2,2,2,2"
  1619. color="button-disabled"
  1620. />
  1621. </disabledBackground>
  1622. </area>
  1623. <instance class="worm.screens.SelectEndlessLevelScreen"
  1624. name="select.endless.screen"
  1625. keyboardnavigation="false"
  1626. world="0"
  1627. transition="instant.transition"
  1628. centre="both"
  1629. >
  1630. <hotkey key="ESCAPE" area="back"/>
  1631. <hotkey key="RETURN" area="back"/>
  1632. <area id="gameover-left" inherit="titlescreen-middle.spec" scale="0.390625">
  1633. <anchor x="right" d="-200" /><anchor y="bottom" d="25" />
  1634. <mouseOff>
  1635. <animation>
  1636. <animcolor a="255" d="0"/>
  1637. <frame i="spriteimage.gameover.01" d="1"/>
  1638. <frame i="hud.phase.20%.animation" d="1"/>
  1639. </animation>
  1640. </mouseOff>
  1641. </area>
  1642. <area id="gameover-right" inherit="titlescreen-middle.spec" scale="0.390625">
  1643. <anchor x="left" d="0" /><anchor y="bottom" d="25" />
  1644. <mouseOff>
  1645. <animation>
  1646. <animcolor a="255" d="0"/>
  1647. <frame i="spriteimage.gameover.02" d="1"/>
  1648. <frame i="hud.phase.20%.animation" d="1"/>
  1649. </animation>
  1650. </mouseOff>
  1651. </area>
  1652. <area id="titlescreen_top" inherit="world_top.spec" text="=$selectendless.titlescreen_top.label"/>
  1653. <area id="back" inherit="button.abort.spec" />
  1654. <area id="level.0" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_1"/></area>
  1655. <area id="level.num.0" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_1"/></area>
  1656. <area id="level.1" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_1"/></area>
  1657. <area id="level.num.1" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_1"/></area>
  1658. <area id="level.2" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_1"/></area>
  1659. <area id="level.num.2" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_1"/></area>
  1660. <area id="level.3" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_1"/></area>
  1661. <area id="level.num.3" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_1"/></area>
  1662. <area id="level.4" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_1"/></area>
  1663. <area id="level.num.4" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_1"/></area>
  1664. <area id="level.5" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_2"/></area>
  1665. <area id="level.num.5" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_2"/></area>
  1666. <area id="level.6" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_2"/></area>
  1667. <area id="level.num.6" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_2"/></area>
  1668. <area id="level.7" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_2"/></area>
  1669. <area id="level.num.7" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_2"/></area>
  1670. <area id="level.8" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_2"/></area>
  1671. <area id="level.num.8" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_2"/></area>
  1672. <area id="level.9" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_2"/></area>
  1673. <area id="level.num.9" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_2"/></area>
  1674. <area id="level.10" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_3"/></area>
  1675. <area id="level.num.10" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_3"/></area>
  1676. <area id="level.11" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_3"/></area>
  1677. <area id="level.num.11" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_3"/></area>
  1678. <area id="level.12" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_3"/></area>
  1679. <area id="level.num.12" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_3"/></area>
  1680. <area id="level.13" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_3"/></area>
  1681. <area id="level.num.13" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_3"/></area>
  1682. <area id="level.14" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_3"/></area>
  1683. <area id="level.num.14" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_3"/></area>
  1684. <area id="level.15" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_4"/></area>
  1685. <area id="level.num.15" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_4"/></area>
  1686. <area id="level.16" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_4"/></area>
  1687. <area id="level.num.16" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_4"/></area>
  1688. <area id="level.17" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_4"/></area>
  1689. <area id="level.num.17" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_4"/></area>
  1690. <area id="level.18" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_4"/></area>
  1691. <area id="level.num.18" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_4"/></area>
  1692. <area id="level.19" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_4"/></area>
  1693. <area id="level.num.19" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_4"/></area>
  1694. <area id="level.20" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_5"/></area>
  1695. <area id="level.num.20" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_5"/></area>
  1696. <area id="level.21" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_5"/></area>
  1697. <area id="level.num.21" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_5"/></area>
  1698. <area id="level.22" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_5"/></area>
  1699. <area id="level.num.22" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_5"/></area>
  1700. <area id="level.23" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_5"/></area>
  1701. <area id="level.num.23" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_5"/></area>
  1702. <area id="level.24" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_5"/></area>
  1703. <area id="level.num.24" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_5"/></area>
  1704. <area id="level.25" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_6"/></area>
  1705. <area id="level.num.25" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_6"/></area>
  1706. <area id="level.26" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_6"/></area>
  1707. <area id="level.num.26" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_6"/></area>
  1708. <area id="level.27" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_6"/></area>
  1709. <area id="level.num.27" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_6"/></area>
  1710. <area id="level.28" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_6"/></area>
  1711. <area id="level.num.28" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_6"/></area>
  1712. <area id="level.29" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_6"/></area>
  1713. <area id="level.num.29" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_6"/></area>
  1714. <area id="level.30" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_7"/></area>
  1715. <area id="level.num.30" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_7"/></area>
  1716. <area id="level.31" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_7"/></area>
  1717. <area id="level.num.31" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_7"/></area>
  1718. <area id="level.32" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_7"/></area>
  1719. <area id="level.num.32" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_7"/></area>
  1720. <area id="level.33" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_7"/></area>
  1721. <area id="level.num.33" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_7"/></area>
  1722. <area id="level.34" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_7"/></area>
  1723. <area id="level.num.34" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_7"/></area>
  1724. <area id="level.35" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_8"/></area>
  1725. <area id="level.num.35" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_1"/><anchor y="top" d="=$endless_y_8"/></area>
  1726. <area id="level.36" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_8"/></area>
  1727. <area id="level.num.36" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_2"/><anchor y="top" d="=$endless_y_8"/></area>
  1728. <area id="level.37" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_8"/></area>
  1729. <area id="level.num.37" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_3"/><anchor y="top" d="=$endless_y_8"/></area>
  1730. <area id="level.38" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_8"/></area>
  1731. <area id="level.num.38" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_4"/><anchor y="top" d="=$endless_y_8"/></area>
  1732. <area id="level.39" inherit="endless.cash.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_8"/></area>
  1733. <area id="level.num.39" inherit="endless.num.spec" ><anchor x="mid" d="=$endless_x_5"/><anchor y="top" d="=$endless_y_8"/></area>
  1734. </instance>
  1735. <!-- SURVIVAL -->
  1736. <animation name="survival.select.world.off.anim">
  1737. <color c="text-darkest" d="0"/>
  1738. <frame i="survival.select.world.off.scale.anim" d="0"/>
  1739. </animation>
  1740. <animation name="survival.select.world.on.anim">
  1741. <color c="text-dark" d="0"/>
  1742. <frame i="survival.select.world.on.scale.anim" d="0"/>
  1743. </animation>
  1744. <animation name="survival.select.world.disabled.anim">
  1745. <color c="default.colormap:gui-greyed" d="0"/>
  1746. <frame i="survival.select.world.disabled.scale.anim" d="0"/>
  1747. </animation>
  1748. <animation name="survival.selected.world.anim">
  1749. <scale scale="0.5" d="0"/>
  1750. <color c="text" d="0"/>
  1751. </animation>
  1752. <animation name="survival.select.world.off.scale.anim">
  1753. <scale scale="0.5" d="0"/>
  1754. </animation>
  1755. <animation name="survival.select.world.on.scale.anim">
  1756. <scale scale="0.515" d="2"/>
  1757. <scale scale="0.53" d="2"/>
  1758. </animation>
  1759. <animation name="survival.select.world.disabled.scale.anim">
  1760. <scale scale="0.5" d="0"/>
  1761. </animation>
  1762. <animation name="survival.select.world.back.off.anim"> <frame i="spriteimage.survival.select.world.01" d="0"/><frame i="survival.select.world.off.anim" d="0"/></animation>
  1763. <animation name="survival.select.world.back.on.anim"> <frame i="spriteimage.survival.select.world.01" d="0"/><frame i="survival.select.world.on.anim" d="0"/></animation>
  1764. <animation name="survival.select.world.back.disabled.anim"> <frame i="spriteimage.survival.select.world.01" d="0"/><frame i="survival.select.world.disabled.anim" d="0"/></animation>
  1765. <animation name="survival.selected.world.back.anim"> <frame i="spriteimage.survival.select.world.01" d="0"/><frame i="survival.selected.world.anim" d="0"/></animation>
  1766. <animation name="survival.select.world.earth.off.anim"> <frame i="spriteimage.survival.select.world.earth.off.01" d="0"/><frame i="survival.select.world.off.scale.anim" d="0"/></animation>
  1767. <animation name="survival.select.world.earth.on.anim"> <frame i="spriteimage.survival.select.world.earth.on.01" d="0"/><frame i="survival.select.world.on.scale.anim" d="0"/></animation>
  1768. <animation name="survival.select.world.earth.disabled.anim"> <frame i="spriteimage.survival.select.world.earth.disabled.01" d="0"/><frame i="survival.select.world.disabled.scale.anim" d="0"/></animation>
  1769. <animation name="survival.select.world.moon.off.anim"> <frame i="spriteimage.survival.select.world.moon.off.01" d="0"/><frame i="survival.select.world.off.scale.anim" d="0"/></animation>
  1770. <animation name="survival.select.world.moon.on.anim"> <frame i="spriteimage.survival.select.world.moon.on.01" d="0"/><frame i="survival.select.world.on.scale.anim" d="0"/></animation>
  1771. <animation name="survival.select.world.moon.disabled.anim"> <frame i="spriteimage.survival.select.world.moon.disabled.01" d="0"/><frame i="survival.select.world.disabled.scale.anim" d="0"/></animation>
  1772. <animation name="survival.select.world.mars.off.anim"> <frame i="spriteimage.survival.select.world.mars.off.01" d="0"/><frame i="survival.select.world.off.scale.anim" d="0"/></animation>
  1773. <animation name="survival.select.world.mars.on.anim"> <frame i="spriteimage.survival.select.world.mars.on.01" d="0"/><frame i="survival.select.world.on.scale.anim" d="0"/></animation>
  1774. <animation name="survival.select.world.mars.disabled.anim"> <frame i="spriteimage.survival.select.world.mars.disabled.01" d="0"/><frame i="survival.select.world.disabled.scale.anim" d="0"/></animation>
  1775. <animation name="survival.select.world.saturn.off.anim"> <frame i="spriteimage.survival.select.world.saturn.off.01" d="0"/><frame i="survival.select.world.off.scale.anim" d="0"/></animation>
  1776. <animation name="survival.select.world.saturn.on.anim"> <frame i="spriteimage.survival.select.world.saturn.on.01" d="0"/><frame i="survival.select.world.on.scale.anim" d="0"/></animation>
  1777. <animation name="survival.select.world.saturn.disabled.anim"> <frame i="spriteimage.survival.select.world.saturn.disabled.01" d="0"/><frame i="survival.select.world.disabled.scale.anim" d="0"/></animation>
  1778. <animation name="survival.select.world.titan.off.anim"> <frame i="spriteimage.survival.select.world.titan.off.01" d="0"/><frame i="survival.select.world.off.scale.anim" d="0"/></animation>
  1779. <animation name="survival.select.world.titan.on.anim"> <frame i="spriteimage.survival.select.world.titan.on.01" d="0"/><frame i="survival.select.world.on.scale.anim" d="0"/></animation>
  1780. <animation name="survival.select.world.titan.disabled.anim"> <frame i="spriteimage.survival.select.world.titan.disabled.01" d="0"/><frame i="survival.select.world.disabled.scale.anim" d="0"/></animation>
  1781. <animation name="survival.select.terrain.off.anim">
  1782. <color c="text-darkest" d="0"/>
  1783. <frame i="survival.select.terrain.off.scale.anim" d="0"/>
  1784. </animation>
  1785. <animation name="survival.select.terrain.on.anim">
  1786. <color c="text-dark" d="0"/>
  1787. <scale scale="0.5" d="0"/>
  1788. <frame i="survival.select.terrain.on.scale.anim" d="0"/>
  1789. </animation>
  1790. <animation name="survival.select.terrain.disabled.anim">
  1791. <color c="default.colormap:gui-greyed" d="0"/>
  1792. <frame i="survival.select.terrain.disabled.scale.anim" d="0"/>
  1793. </animation>
  1794. <animation name="survival.selected.terrain.anim">
  1795. <scale scale="0.5" d="0"/>
  1796. <color c="text" d="0"/>
  1797. </animation>
  1798. <animation name="survival.select.terrain.off.scale.anim">
  1799. <scale scale="0.5" d="0"/>
  1800. </animation>
  1801. <animation name="survival.select.terrain.on.scale.anim">
  1802. <scale scale="0.52" d="2"/>
  1803. <scale scale="0.54" d="2"/>
  1804. </animation>
  1805. <animation name="survival.select.terrain.disabled.scale.anim">
  1806. <scale scale="0.5" d="0"/>
  1807. </animation>
  1808. <animation name="survival.select.terrain.back.off.anim"> <frame i="spriteimage.survival.select.terrain.01" d="0"/><frame i="survival.select.terrain.off.anim" d="0"/></animation>
  1809. <animation name="survival.select.terrain.back.on.anim"> <frame i="spriteimage.survival.select.terrain.01" d="0"/><frame i="survival.select.terrain.on.anim" d="0"/></animation>
  1810. <animation name="survival.select.terrain.back.disabled.anim"> <frame i="spriteimage.survival.select.terrain.01" d="0"/><frame i="survival.select.terrain.disabled.anim" d="0"/></animation>
  1811. <animation name="survival.selected.terrain.back.anim"> <frame i="spriteimage.survival.select.terrain.01" d="0"/><frame i="survival.selected.terrain.anim" d="0"/></animation>
  1812. <animation name="survival.select.terrain.plains.off.anim"> <frame i="spriteimage.survival.select.terrain.plains.off.01" d="0"/><frame i="survival.select.terrain.off.scale.anim" d="0"/></animation>
  1813. <animation name="survival.select.terrain.plains.on.anim"> <frame i="spriteimage.survival.select.terrain.plains.on.01" d="0"/><frame i="survival.select.terrain.on.scale.anim" d="0"/></animation>
  1814. <animation name="survival.select.terrain.plains.disabled.anim"> <frame i="spriteimage.survival.select.terrain.plains.disabled.01" d="0"/><frame i="survival.select.terrain.disabled.scale.anim" d="0"/></animation>
  1815. <animation name="survival.select.terrain.canyons.off.anim"> <frame i="spriteimage.survival.select.terrain.canyons.off.01" d="0"/><frame i="survival.select.terrain.off.scale.anim" d="0"/></animation>
  1816. <animation name="survival.select.terrain.canyons.on.anim"> <frame i="spriteimage.survival.select.terrain.canyons.on.01" d="0"/><frame i="survival.select.terrain.on.scale.anim" d="0"/></animation>
  1817. <animation name="survival.select.terrain.canyons.disabled.anim"> <frame i="spriteimage.survival.select.terrain.canyons.disabled.01" d="0"/><frame i="survival.select.terrain.disabled.scale.anim" d="0"/></animation>
  1818. <animation name="survival.select.terrain.broken.off.anim"> <frame i="spriteimage.survival.select.terrain.broken.off.01" d="0"/><frame i="survival.select.terrain.off.scale.anim" d="0"/></animation>
  1819. <animation name="survival.select.terrain.broken.on.anim"> <frame i="spriteimage.survival.select.terrain.broken.on.01" d="0"/><frame i="survival.select.terrain.on.scale.anim" d="0"/></animation>
  1820. <animation name="survival.select.terrain.broken.disabled.anim"> <frame i="spriteimage.survival.select.terrain.broken.disabled.01" d="0"/><frame i="survival.select.terrain.disabled.scale.anim" d="0"/></animation>
  1821. <animation name="survival.select.terrain.empty.off.anim"> <frame i="spriteimage.survival.select.terrain.empty.off.01" d="0"/><frame i="survival.select.terrain.off.scale.anim" d="0"/></animation>
  1822. <animation name="survival.select.terrain.empty.on.anim"> <frame i="spriteimage.survival.select.terrain.empty.on.01" d="0"/><frame i="survival.select.terrain.on.scale.anim" d="0"/></animation>
  1823. <animation name="survival.select.terrain.empty.disabled.anim"> <frame i="spriteimage.survival.select.terrain.empty.disabled.01" d="0"/><frame i="survival.select.terrain.disabled.scale.anim" d="0"/></animation>
  1824. <animation name="survival.select.terrain.small.off.anim"> <frame i="spriteimage.survival.select.terrain.small.off.01" d="0"/><frame i="survival.select.terrain.off.scale.anim" d="0"/></animation>
  1825. <animation name="survival.select.terrain.small.on.anim"> <frame i="spriteimage.survival.select.terrain.small.on.01" d="0"/><frame i="survival.select.terrain.on.scale.anim" d="0"/></animation>
  1826. <animation name="survival.select.terrain.small.disabled.anim"> <frame i="spriteimage.survival.select.terrain.small.disabled.01" d="0"/><frame i="survival.select.terrain.disabled.scale.anim" d="0"/></animation>
  1827. <animation name="survival.select.terrain.medium.off.anim"> <frame i="spriteimage.survival.select.terrain.medium.off.01" d="0"/><frame i="survival.select.terrain.off.scale.anim" d="0"/></animation>
  1828. <animation name="survival.select.terrain.medium.on.anim"> <frame i="spriteimage.survival.select.terrain.medium.on.01" d="0"/><frame i="survival.select.terrain.on.scale.anim" d="0"/></animation>
  1829. <animation name="survival.select.terrain.medium.disabled.anim"> <frame i="spriteimage.survival.select.terrain.medium.disabled.01" d="0"/><frame i="survival.select.terrain.disabled.scale.anim" d="0"/></animation>
  1830. <animation name="survival.select.terrain.large.off.anim"> <frame i="spriteimage.survival.select.terrain.large.off.01" d="0"/><frame i="survival.select.terrain.off.scale.anim" d="0"/></animation>
  1831. <animation name="survival.select.terrain.large.on.anim"> <frame i="spriteimage.survival.select.terrain.large.on.01" d="0"/><frame i="survival.select.terrain.on.scale.anim" d="0"/></animation>
  1832. <animation name="survival.select.terrain.large.disabled.anim"> <frame i="spriteimage.survival.select.terrain.large.disabled.01" d="0"/><frame i="survival.select.terrain.disabled.scale.anim" d="0"/></animation>
  1833. <property key="survival_world_w" value="62" />
  1834. <property key="survival_world_h" value="=$survival_world_w" />
  1835. <property key="survival_world_o" value="$survival_world_w/2" />
  1836. <property key="survival_world_y" value="222" />
  1837. <property key="survival_world_1_x" value="=(320-($survival_world_w*5))/2" />
  1838. <property key="survival_world_2_x" value="=$survival_world_1_x+$survival_world_w" />
  1839. <property key="survival_world_3_x" value="=$survival_world_2_x+$survival_world_w" />
  1840. <property key="survival_world_4_x" value="=$survival_world_3_x+$survival_world_w" />
  1841. <property key="survival_world_5_x" value="=$survival_world_4_x+$survival_world_w" />
  1842. <property key="survival_terrain_w" value="37" />
  1843. <property key="survival_terrain_h" value="36" />
  1844. <property key="survival_terrain_x_o" value="$survival_terrain_w/2" />
  1845. <property key="survival_terrain_y_o" value="$survival_terrain_h/2" />
  1846. <property key="survival_terrain_y" value="168" />
  1847. <property key="survival_terrain_1_x" value="=(320-($survival_terrain_w*4))/2" />
  1848. <property key="survival_terrain_2_x" value="=$survival_terrain_1_x+$survival_terrain_w" />
  1849. <property key="survival_terrain_3_x" value="=$survival_terrain_2_x+$survival_terrain_w" />
  1850. <property key="survival_terrain_4_x" value="=$survival_terrain_3_x+$survival_terrain_w" />
  1851. <property key="survival_size_y" value="114" />
  1852. <property key="survival_size_1_x" value="=(320-($survival_terrain_w*3))/2" />
  1853. <property key="survival_size_2_x" value="=$survival_size_1_x+$survival_terrain_w" />
  1854. <property key="survival_size_3_x" value="=$survival_size_2_x+$survival_terrain_w" />
  1855. <area
  1856. name="survival.world.select.spec"
  1857. size="=$survival_world_w,$survival_world_h"
  1858. offset="=$survival_world_o,$survival_world_o"
  1859. layer="12"
  1860. scale="0.5"
  1861. />
  1862. <area
  1863. name="survival.world.select.back.spec"
  1864. inherit="survival.world.select.spec"
  1865. layer="11"
  1866. />
  1867. <area
  1868. name="survival.terrain.select.spec"
  1869. size="=$survival_terrain_w,$survival_terrain_h"
  1870. offset="=$survival_terrain_x_o,$survival_terrain_y_o"
  1871. layer="12"
  1872. scale="0.5"
  1873. />
  1874. <area
  1875. name="survival.terrain.select.back.spec"
  1876. inherit="survival.terrain.select.spec"
  1877. layer="11"
  1878. />
  1879. <instance class="worm.screens.SelectSurvivalLevelScreen"
  1880. name="select.survival.screen"
  1881. maxsprites="4096"
  1882. keyboardnavigation="false"
  1883. world="0"
  1884. transition="instant.transition"
  1885. centre="both"
  1886. >
  1887. <hotkey key="ESCAPE" area="back"/>
  1888. <hotkey key="RETURN" area="play"/>
  1889. <area id="best_time_label" text="=$selectsurvival.best_time_label" group="default_msg" layer="12" color="text-dark" halign="centered" font="tinyfont.glfont"
  1890. position="0,96" size="320,12"/>
  1891. <area id="best_time" text="00:00:00:00" group="default_msg" layer="12" color="text" halign="centered" font="bigfont.glfont"
  1892. position="0,80" size="320,20"/>
  1893. <area id="online_best_time_label" text="=$selectsurvival.online_best_time_label" group="default_msg" layer="12" color="text-dark" halign="centered" font="tinyfont.glfont"
  1894. position="0,48" size="320,12"/>
  1895. <area id="online_best_time" text="00:00:00:00" group="default_msg" layer="12" color="text" halign="centered" font="bigfont.glfont"
  1896. position="0,32" size="320,20"/>
  1897. <!-- WORLD -->
  1898. <area id="world_label" text="=$selectsurvival.world_label" layer="12" color="text-dark" halign="centered" font="tinyfont.glfont"
  1899. position="=0,$survival_world_y+$survival_world_h" size="320,13"/>
  1900. <!-- earth -->
  1901. <area id="select.world.0.pic" group="select.world.0" inherit="survival.world.select.spec" position="=$survival_world_1_x,$survival_world_y"
  1902. mouseoff="survival.select.world.earth.off.anim" mouseon="survival.select.world.earth.on.anim" disabled="survival.select.world.earth.disabled.anim" />
  1903. <area id="select.world.0.back" group="select.world.0" inherit="survival.world.select.back.spec" position="=$survival_world_1_x,$survival_world_y"
  1904. mouseoff="survival.select.world.back.off.anim" mouseon="survival.select.world.back.on.anim" disabled="survival.select.world.back.disabled.anim" />
  1905. <area id="select.world.0.pic.selected" group="selected.world.0" inherit="survival.world.select.spec"
  1906. position="=$survival_world_1_x,$survival_world_y" mouseoff="spriteimage.survival.select.world.earth.on.01" />
  1907. <area id="select.world.0.selected.back" group="selected.world.0" inherit="survival.world.select.back.spec"
  1908. position="=$survival_world_1_x,$survival_world_y" mouseoff="survival.selected.world.back.anim" />
  1909. <!-- moon -->
  1910. <area id="select.world.1.pic" group="select.world.1" inherit="survival.world.select.spec" position="=$survival_world_2_x,$survival_world_y"
  1911. mouseoff="survival.select.world.moon.off.anim" mouseon="survival.select.world.moon.on.anim" disabled="survival.select.world.moon.disabled.anim" />
  1912. <area id="select.world.1.back" group="select.world.1" inherit="survival.world.select.back.spec" position="=$survival_world_2_x,$survival_world_y"
  1913. mouseoff="survival.select.world.back.off.anim" mouseon="survival.select.world.back.on.anim" disabled="survival.select.world.back.disabled.anim" />
  1914. <area id="select.world.1.pic.selected" group="selected.world.1" inherit="survival.world.select.spec"
  1915. position="=$survival_world_2_x,$survival_world_y" mouseoff="spriteimage.survival.select.world.moon.on.01" />
  1916. <area id="select.world.1.selected.back" group="selected.world.1" inherit="survival.world.select.back.spec"
  1917. position="=$survival_world_2_x,$survival_world_y" mouseoff="survival.selected.world.back.anim" />
  1918. <!-- mars -->
  1919. <area id="select.world.2.pic" group="select.world.2" inherit="survival.world.select.spec" position="=$survival_world_3_x,$survival_world_y"
  1920. mouseoff="survival.select.world.mars.off.anim" mouseon="survival.select.world.mars.on.anim" disabled="survival.select.world.mars.disabled.anim" />
  1921. <area id="select.world.2.back" group="select.world.2" inherit="survival.world.select.back.spec" position="=$survival_world_3_x,$survival_world_y"
  1922. mouseoff="survival.select.world.back.off.anim" mouseon="survival.select.world.back.on.anim" disabled="survival.select.world.back.disabled.anim" />
  1923. <area id="select.world.2.pic.selected" group="selected.world.2" inherit="survival.world.select.spec"
  1924. position="=$survival_world_3_x,$survival_world_y" mouseoff="spriteimage.survival.select.world.mars.on.01" />
  1925. <area id="select.world.2.selected.back" group="selected.world.2" inherit="survival.world.select.back.spec"
  1926. position="=$survival_world_3_x,$survival_world_y" mouseoff="survival.selected.world.back.anim" />
  1927. <!-- saturn -->
  1928. <area id="select.world.3.pic" group="select.world.3" inherit="survival.world.select.spec" position="=$survival_world_4_x,$survival_world_y"
  1929. mouseoff="survival.select.world.saturn.off.anim" mouseon="survival.select.world.saturn.on.anim" disabled="survival.select.world.saturn.disabled.anim" />
  1930. <area id="select.world.3.back" group="select.world.3" inherit="survival.world.select.back.spec" position="=$survival_world_4_x,$survival_world_y"
  1931. mouseoff="survival.select.world.back.off.anim" mouseon="survival.select.world.back.on.anim" disabled="survival.select.world.back.disabled.anim" />
  1932. <area id="select.world.3.pic.selected" group="selected.world.3" inherit="survival.world.select.spec"
  1933. position="=$survival_world_4_x,$survival_world_y" mouseoff="spriteimage.survival.select.world.saturn.on.01" />
  1934. <area id="select.world.3.selected.back" group="selected.world.3" inherit="survival.world.select.back.spec"
  1935. position="=$survival_world_4_x,$survival_world_y" mouseoff="survival.selected.world.back.anim" />
  1936. <!-- titam -->
  1937. <area id="select.world.4.pic" group="select.world.4" inherit="survival.world.select.spec" position="=$survival_world_5_x,$survival_world_y"
  1938. mouseoff="survival.select.world.titan.off.anim" mouseon="survival.select.world.titan.on.anim" disabled="survival.select.world.titan.disabled.anim" />
  1939. <area id="select.world.4.back" group="select.world.4" inherit="survival.world.select.back.spec" position="=$survival_world_5_x,$survival_world_y"
  1940. mouseoff="survival.select.world.back.off.anim" mouseon="survival.select.world.back.on.anim" disabled="survival.select.world.back.disabled.anim" />
  1941. <area id="select.world.4.pic.selected" group="selected.world.4" inherit="survival.world.select.spec"
  1942. position="=$survival_world_5_x,$survival_world_y" mouseoff="spriteimage.survival.select.world.titan.on.01" />
  1943. <area id="select.world.4.selected.back" group="selected.world.4" inherit="survival.world.select.back.spec"
  1944. position="=$survival_world_5_x,$survival_world_y" mouseoff="survival.selected.world.back.anim" />
  1945. <!-- TERRAIN -->
  1946. <area id="terrain_label" text="=$selectsurvival.terrain_label" layer="12" color="text-dark" halign="centered" font="tinyfont.glfont"
  1947. position="=0,$survival_terrain_y+$survival_terrain_h" size="320,13"/>
  1948. <!-- empty -->
  1949. <area id="select.terrain.0.pic" group="select.terrain.0" inherit="survival.terrain.select.spec" position="=$survival_terrain_1_x,$survival_terrain_y"
  1950. mouseoff="survival.select.terrain.empty.off.anim" mouseon="survival.select.terrain.empty.on.anim" disabled="survival.select.terrain.empty.disabled.anim" />
  1951. <area id="select.terrain.0.back" group="select.terrain.0" inherit="survival.terrain.select.back.spec" position="=$survival_terrain_1_x,$survival_terrain_y"
  1952. mouseoff="survival.select.terrain.back.off.anim" mouseon="survival.select.terrain.back.on.anim" disabled="survival.select.terrain.back.disabled.anim" />
  1953. <area id="select.terrain.0.pic.selected" group="select.terrain.0, selected.terrain.0" inherit="survival.terrain.select.spec"
  1954. position="=$survival_terrain_1_x,$survival_terrain_y" mouseoff="spriteimage.survival.select.terrain.empty.on.01" />
  1955. <area id="select.terrain.0.selected.back" group="select.terrain.0, selected.terrain.0" inherit="survival.terrain.select.back.spec"
  1956. position="=$survival_terrain_1_x,$survival_terrain_y" mouseoff="survival.selected.terrain.back.anim" />
  1957. <!-- plains -->
  1958. <area id="select.terrain.1.pic" group="select.terrain.1" inherit="survival.terrain.select.spec" position="=$survival_terrain_2_x,$survival_terrain_y"
  1959. mouseoff="survival.select.terrain.plains.off.anim" mouseon="survival.select.terrain.plains.on.anim" disabled="survival.select.terrain.plains.disabled.anim" />
  1960. <area id="select.terrain.1.back" group="select.terrain.1" inherit="survival.terrain.select.back.spec" position="=$survival_terrain_2_x,$survival_terrain_y"
  1961. mouseoff="survival.select.terrain.back.off.anim" mouseon="survival.select.terrain.back.on.anim" disabled="survival.select.terrain.back.disabled.anim" />
  1962. <area id="select.terrain.1.pic.selected" group="select.terrain.1, selected.terrain.1" inherit="survival.terrain.select.spec"
  1963. position="=$survival_terrain_2_x,$survival_terrain_y" mouseoff="spriteimage.survival.select.terrain.plains.on.01" />
  1964. <area id="select.terrain.1.selected.back" group="select.terrain.1, selected.terrain.1" inherit="survival.terrain.select.back.spec"
  1965. position="=$survival_terrain_2_x,$survival_terrain_y" mouseoff="survival.selected.terrain.back.anim" />
  1966. <!-- canyons -->
  1967. <area id="select.terrain.2.pic" group="select.terrain.2" inherit="survival.terrain.select.spec" position="=$survival_terrain_3_x,$survival_terrain_y"
  1968. mouseoff="survival.select.terrain.canyons.off.anim" mouseon="survival.select.terrain.canyons.on.anim" disabled="survival.select.terrain.canyons.disabled.anim" />
  1969. <area id="select.terrain.2.back" group="select.terrain.2" inherit="survival.terrain.select.back.spec" position="=$survival_terrain_3_x,$survival_terrain_y"
  1970. mouseoff="survival.select.terrain.back.off.anim" mouseon="survival.select.terrain.back.on.anim" disabled="survival.select.terrain.back.disabled.anim" />
  1971. <area id="select.terrain.2.pic.selected" group="select.terrain.2, selected.terrain.2" inherit="survival.terrain.select.spec"
  1972. position="=$survival_terrain_3_x,$survival_terrain_y" mouseoff="spriteimage.survival.select.terrain.canyons.on.01" />
  1973. <area id="select.terrain.2.selected.back" group="select.terrain.2, selected.terrain.2" inherit="survival.terrain.select.back.spec"
  1974. position="=$survival_terrain_3_x,$survival_terrain_y" mouseoff="survival.selected.terrain.back.anim" />
  1975. <!-- broken -->
  1976. <area id="select.terrain.3.pic" group="select.terrain.3" inherit="survival.terrain.select.spec" position="=$survival_terrain_4_x,$survival_terrain_y"
  1977. mouseoff="survival.select.terrain.broken.off.anim" mouseon="survival.select.terrain.broken.on.anim" disabled="survival.select.terrain.broken.disabled.anim" />
  1978. <area id="select.terrain.3.back" group="select.terrain.3" inherit="survival.terrain.select.back.spec" position="=$survival_terrain_4_x,$survival_terrain_y"
  1979. mouseoff="survival.select.terrain.back.off.anim" mouseon="survival.select.terrain.back.on.anim" disabled="survival.select.terrain.back.disabled.anim" />
  1980. <area id="select.terrain.3.pic.selected" group="select.terrain.3, selected.terrain.3" inherit="survival.terrain.select.spec"
  1981. position="=$survival_terrain_4_x,$survival_terrain_y" mouseoff="spriteimage.survival.select.terrain.broken.on.01" />
  1982. <area id="select.terrain.3.selected.back" group="select.terrain.3, selected.terrain.3" inherit="survival.terrain.select.back.spec"
  1983. position="=$survival_terrain_4_x,$survival_terrain_y" mouseoff="survival.selected.terrain.back.anim" />
  1984. <!-- SIZE -->
  1985. <area id="size_label" text="=$selectsurvival.size_label" layer="12" color="text-dark" halign="centered" font="tinyfont.glfont"
  1986. position="=0,$survival_size_y+$survival_terrain_h" size="320,13"/>
  1987. <!-- small -->
  1988. <area id="select.size.0.pic" group="select.size.0" inherit="survival.terrain.select.spec" position="=$survival_size_1_x,$survival_size_y"
  1989. mouseoff="survival.select.terrain.small.off.anim" mouseon="survival.select.terrain.small.on.anim" disabled="survival.select.terrain.small.disabled.anim" />
  1990. <area id="select.size.0.back" group="select.size.0" inherit="survival.terrain.select.back.spec" position="=$survival_size_1_x,$survival_size_y"
  1991. mouseoff="survival.select.terrain.back.off.anim" mouseon="survival.select.terrain.back.on.anim" disabled="survival.select.terrain.back.disabled.anim" />
  1992. <area id="select.size.0.pic.selected" group="select.size.0, selected.size.0" inherit="survival.terrain.select.spec"
  1993. position="=$survival_size_1_x,$survival_size_y" mouseoff="spriteimage.survival.select.terrain.small.on.01" />
  1994. <area id="select.size.0.selected.back" group="select.size.0, selected.size.0" inherit="survival.terrain.select.back.spec"
  1995. position="=$survival_size_1_x,$survival_size_y" mouseoff="survival.selected.terrain.back.anim" />
  1996. <!-- medium -->
  1997. <area id="select.size.1.pic" group="select.size.1" inherit="survival.terrain.select.spec" position="=$survival_size_2_x,$survival_size_y"
  1998. mouseoff="survival.select.terrain.medium.off.anim" mouseon="survival.select.terrain.medium.on.anim" disabled="survival.select.terrain.medium.disabled.anim" />
  1999. <area id="select.size.1.back" group="select.size.1" inherit="survival.terrain.select.back.spec" position="=$survival_size_2_x,$survival_size_y"
  2000. mouseoff="survival.select.terrain.back.off.anim" mouseon="survival.select.terrain.back.on.anim" disabled="survival.select.terrain.back.disabled.anim" />
  2001. <area id="select.size.1.pic.selected" group="select.size.1, selected.size.1" inherit="survival.terrain.select.spec"
  2002. position="=$survival_size_2_x,$survival_size_y" mouseoff="spriteimage.survival.select.terrain.medium.on.01" />
  2003. <area id="select.size.1.selected.back" group="select.size.1, selected.size.1" inherit="survival.terrain.select.back.spec"
  2004. position="=$survival_size_2_x,$survival_size_y" mouseoff="survival.selected.terrain.back.anim" />
  2005. <!-- large -->
  2006. <area id="select.size.2.pic" group="select.size.2" inherit="survival.terrain.select.spec" position="=$survival_size_3_x,$survival_size_y"
  2007. mouseoff="survival.select.terrain.large.off.anim" mouseon="survival.select.terrain.large.on.anim" disabled="survival.select.terrain.large.disabled.anim" />
  2008. <area id="select.size.2.back" group="select.size.2" inherit="survival.terrain.select.back.spec" position="=$survival_size_3_x,$survival_size_y"
  2009. mouseoff="survival.select.terrain.back.off.anim" mouseon="survival.select.terrain.back.on.anim" disabled="survival.select.terrain.back.disabled.anim" />
  2010. <area id="select.size.2.pic.selected" group="select.size.2, selected.size.2" inherit="survival.terrain.select.spec"
  2011. position="=$survival_size_3_x,$survival_size_y" mouseoff="spriteimage.survival.select.terrain.large.on.01" />
  2012. <area id="select.size.2.selected.back" group="select.size.2, selected.size.2" inherit="survival.terrain.select.back.spec"
  2013. position="=$survival_size_3_x,$survival_size_y" mouseoff="survival.selected.terrain.back.anim" />
  2014. <area id="gameover-left" inherit="titlescreen-middle.spec" scale="0.390625">
  2015. <anchor x="right" d="-200" /><anchor y="bottom" d="25" />
  2016. <mouseOff>
  2017. <animation>
  2018. <animcolor a="255" d="0"/>
  2019. <frame i="spriteimage.gameover.01" d="1"/>
  2020. <frame i="hud.phase.20%.animation" d="1"/>
  2021. </animation>
  2022. </mouseOff>
  2023. </area>
  2024. <area id="gameover-right" inherit="titlescreen-middle.spec" scale="0.390625">
  2025. <anchor x="left" d="0" /><anchor y="bottom" d="25" />
  2026. <mouseOff>
  2027. <animation>
  2028. <animcolor a="255" d="0"/>
  2029. <frame i="spriteimage.gameover.02" d="1"/>
  2030. <frame i="hud.phase.20%.animation" d="1"/>
  2031. </animation>
  2032. </mouseOff>
  2033. </area>
  2034. <area id="titlescreen_top" inherit="world_top.spec" text="=$selectsurvival.titlescreen_top"/>
  2035. <area id="back" inherit="button.abort.spec" />
  2036. <area id="play" inherit="button.continue.spec" />
  2037. </instance>
  2038. <!-- ##################################################################################################
  2039. # SANDBOX #
  2040. ################################################################################################## -->
  2041. <property key="sandbox_level_w" value="300" />
  2042. <property key="sandbox_level_h" value="308" />
  2043. <property key="sandbox_level_x" value="=$sandbox_level_w/-2+$SCREEN_X" />
  2044. <property key="sandbox_level_y" value="=$sandbox_level_h/-2+$SCREEN_Y" />
  2045. <property key="sandbox_level_padding" value="16" />
  2046. <area
  2047. name="sandbox.level.select.spec"
  2048. size="=$sandbox_level_w,$sandbox_level_h"
  2049. offset="=$sandbox_level_padding,$sandbox_level_padding"
  2050. layer="12"
  2051. scale="0.5"
  2052. />
  2053. <area
  2054. name="sandbox.level.load.spec"
  2055. inherit="sandbox.level.select.spec"
  2056. layer="11"
  2057. />
  2058. <area
  2059. name="sandbox.level.load.abort.spec"
  2060. inherit="close.default.button.spec"
  2061. layer="11"
  2062. />
  2063. <instance class="worm.screens.SelectSandboxLevelScreen"
  2064. name="select.sandbox.screen"
  2065. keyboardnavigation="false"
  2066. world="0"
  2067. transition="instant.transition"
  2068. centre="both"
  2069. >
  2070. <hotkey key="ESCAPE" area="abort"/>
  2071. <area
  2072. id="titlescreen_top_label"
  2073. text="=$selectsandbox.titlescreen_top_label"
  2074. inherit="dialog.closeable.spec"
  2075. position="=$sandbox_level_x,$sandbox_level_y"
  2076. />
  2077. <area
  2078. id="close"
  2079. inherit="close.default.button.spec"
  2080. position="=$sandbox_level_x+$sandbox_level_w+$close_x_offset,$sandbox_level_y+$sandbox_level_h+$close_y_offset"
  2081. />
  2082. <area id="edit" text="EDIT" inherit="button.continue.spec" />
  2083. </instance>
  2084. </resources>