1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032 |
- <?xml version='1.0' encoding='utf-8'?>
- <!--
- Copyright (c) 2003-onwards Shaven Puppy Ltd
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- * Neither the name of 'Shaven Puppy' nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- -->
- <!-- Powerups! -->
- <resources>
- <!-- Load all the tags -->
- <include resource="tags.xml" />
- <property key="powerup_label_yellow_start" value="255,255,255,0" />
- <property key="powerup_label_yellow_end" value="255,213,100" />
- <property key="powerup_label_red_start" value="255,200,50,0" />
- <property key="powerup_label_red_end" value="255,0,0" />
- <property key="powerup_label_green_start" value="255,255,255,0" />
- <property key="powerup_label_green_end" value="175,255,95" />
-
- <property key="powerup_label_blue_start" value="255,255,255,0" />
- <property key="powerup_label_blue_end" value="80,245,255" />
- <!-- Animations -->
-
- <!-- 57 frames -->
-
- <animation name="powerup.animation">
-
- <offset x="0" y="+-4" d="0" />
- <scale xscale="+-0.04" yscale="+0.04" d="0" />
- <label id="loop"/>
- <!-- falling - 8 -->
-
- <frame i="spriteimage.powerup.box.01" childYOffset="-10" d="1" />
- <offset x="0" y="+-1" d="2" />
- <frame i="spriteimage.powerup.box.01" childYOffset="-12" d="1" />
- <offset x="0" y="+-1" d="1" />
- <frame i="spriteimage.powerup.box.01" childYOffset="-14" d="1" />
- <offset x="0" y="+-1" d="0" />
- <frame i="spriteimage.powerup.box.01" childYOffset="-16" d="1" />
- <offset x="0" y="+-1" d="1" />
-
- <!-- squash y - 16 -->
-
- <scale xscale="+0.06" yscale="+-0.06" d="1" />
- <scale xscale="+0.02" yscale="+-0.02" d="2" />
- <scale xscale="+0.02" yscale="+-0.02" d="3" />
- <scale xscale="+0.02" yscale="+-0.02" d="10" />
-
- <!-- bounce and squash x - 9 -->
-
- <frame i="spriteimage.powerup.box.01" childYOffset="-12" d="1" />
- <offset x="0" y="+2" d="0" />
-
- <frame i="spriteimage.powerup.box.01" childYOffset="-10" d="1" />
- <scale xscale="+-0.02" yscale="+0.02" d="0" />
- <offset x="0" y="+1" d="0" />
-
- <frame i="spriteimage.powerup.box.01" childYOffset="-8" d="1" />
- <scale xscale="+-0.04" yscale="+0.04" d="0" />
- <offset x="0" y="+1" d="0" />
-
- <scale xscale="+-0.04" yscale="+0.04" d="1" />
-
- <frame i="spriteimage.powerup.box.01" childYOffset="-6" d="1" />
- <offset x="0" y="+1" d="1" />
-
- <scale xscale="+-0.02" yscale="+0.02" d="3" />
-
- <!-- pause - 15 -->
-
- <frame i="spriteimage.powerup.box.01" childYOffset="-4" d="1" />
- <offset x="0" y="+1" d="14" />
-
- <!-- fall - 9 -->
-
- <frame i="spriteimage.powerup.box.01" childYOffset="-6" d="1" />
- <offset x="0" y="+-1" d="4" />
-
- <frame i="spriteimage.powerup.box.01" childYOffset="-8" d="1" />
- <offset x="0" y="+-1" d="3" />
-
- <goto id="loop" />
-
- </animation>
-
-
- <animation name="powerup.icon.anim">
-
- <frame idx="3" d="0" />
- <scale xscale="+-0.04" yscale="+0.04" d="0" />
-
- <label id="loop"/>
-
- <frame idx="3" d="8" />
-
- <scale xscale="+0.06" yscale="+-0.06" d="1" />
- <scale xscale="+0.02" yscale="+-0.02" d="2" />
- <scale xscale="+0.02" yscale="+-0.02" d="3" />
- <scale xscale="+0.02" yscale="+-0.02" d="1" />
-
- <frame idx="2" d="4" />
- <frame idx="1" d="4" />
- <frame idx="0" d="2" />
-
- <scale xscale="+-0.02" yscale="+0.02" d="1" />
- <scale xscale="+-0.04" yscale="+0.04" d="1" />
- <scale xscale="+-0.04" yscale="+0.04" d="3" />
- <scale xscale="+-0.02" yscale="+0.02" d="3" />
-
- <frame idx="1" d="5" />
- <frame idx="2" d="7" />
- <frame idx="3" d="12" />
-
- <goto id="loop" />
-
- </animation>
-
-
-
-
- <animation name="powerup.ground.animation">
- <frame i="spriteimage.powerup.box.ground.01" d="0" />
- <label id="loop"/>
- <alpha alpha="120" d="8"/>
-
- <scale xscale="+0.02" yscale="+0.02" d="1" />
- <alpha alpha="140" d="0"/>
- <scale xscale="+0.02" yscale="+0.02" d="2" />
- <alpha alpha="160" d="0"/>
- <scale xscale="+0.02" yscale="+0.02" d="3" />
- <alpha alpha="180" d="0"/>
- <scale xscale="+0.02" yscale="+0.02" d="1" />
-
- <alpha alpha="200" d="8"/>
-
- <!-- bounce up -->
-
- <alpha alpha="200" d="2"/>
-
- <scale xscale="+-0.02" yscale="+-0.02" d="1" />
- <alpha alpha="180" d="0"/>
- <scale xscale="+-0.02" yscale="+-0.02" d="1" />
- <alpha alpha="160" d="0"/>
- <scale xscale="+-0.02" yscale="+-0.02" d="3" />
- <alpha alpha="140" d="0"/>
- <scale xscale="+-0.02" yscale="+-0.02" d="1" />
-
- <alpha alpha="120" d="2"/>
-
- <!-- fall down -->
-
- <alpha alpha="120" d="24"/>
-
- <goto id="loop" />
-
- </animation>
- <array name="money.powerup.array">
- <item>spriteimage.powerup.money.01</item>
- <item>spriteimage.powerup.money.02</item>
- <item>spriteimage.powerup.money.03</item>
- <item>spriteimage.powerup.money.04</item>
- </array>
- <animation name="money.powerup.animation">
- <frameset id="money.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="bezerk.powerup.array">
- <item>spriteimage.powerup.bezerk.01</item>
- <item>spriteimage.powerup.bezerk.02</item>
- <item>spriteimage.powerup.bezerk.03</item>
- <item>spriteimage.powerup.bezerk.04</item>
- </array>
- <animation name="bezerk.powerup.animation">
- <frameset id="bezerk.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
-
- <array name="smartbomb.powerup.array">
- <item>spriteimage.powerup.smartbomb.01</item>
- <item>spriteimage.powerup.smartbomb.02</item>
- <item>spriteimage.powerup.smartbomb.03</item>
- <item>spriteimage.powerup.smartbomb.04</item>
- </array>
- <animation name="smartbomb.powerup.animation">
- <frameset id="smartbomb.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
-
- <array name="repair.powerup.array">
- <item>spriteimage.powerup.repair.01</item>
- <item>spriteimage.powerup.repair.02</item>
- <item>spriteimage.powerup.repair.03</item>
- <item>spriteimage.powerup.repair.04</item>
- </array>
- <animation name="repair.powerup.animation">
- <frameset id="repair.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
-
- <array name="shield.powerup.array">
- <item>spriteimage.powerup.shield.01</item>
- <item>spriteimage.powerup.shield.02</item>
- <item>spriteimage.powerup.shield.03</item>
- <item>spriteimage.powerup.shield.04</item>
- </array>
- <animation name="shield.powerup.animation">
- <frameset id="shield.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="freeze.powerup.array">
- <item>spriteimage.powerup.freeze.01</item>
- <item>spriteimage.powerup.freeze.02</item>
- <item>spriteimage.powerup.freeze.03</item>
- <item>spriteimage.powerup.freeze.04</item>
- </array>
- <animation name="freeze.powerup.animation">
- <frameset id="freeze.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
-
- <array name="flux.powerup.array">
- <item>spriteimage.powerup.flux.01</item>
- <item>spriteimage.powerup.flux.02</item>
- <item>spriteimage.powerup.flux.03</item>
- <item>spriteimage.powerup.flux.04</item>
- </array>
- <animation name="flux.powerup.animation">
- <frameset id="flux.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="plutonium.powerup.array">
- <item>spriteimage.powerup.plutonium.01</item>
- <item>spriteimage.powerup.plutonium.02</item>
- <item>spriteimage.powerup.plutonium.03</item>
- <item>spriteimage.powerup.plutonium.04</item>
- </array>
- <animation name="plutonium.powerup.animation">
- <frameset id="plutonium.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="strengthen.powerup.array">
- <item>spriteimage.powerup.strengthen.01</item>
- <item>spriteimage.powerup.strengthen.02</item>
- <item>spriteimage.powerup.strengthen.03</item>
- <item>spriteimage.powerup.strengthen.04</item>
- </array>
- <animation name="strengthen.powerup.animation">
- <frameset id="strengthen.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="radar.powerup.array">
- <item>spriteimage.powerup.radar.01</item>
- <item>spriteimage.powerup.radar.02</item>
- <item>spriteimage.powerup.radar.03</item>
- <item>spriteimage.powerup.radar.04</item>
- </array>
- <animation name="radar.powerup.animation">
- <frameset id="radar.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="nitrogen.powerup.array">
- <item>spriteimage.powerup.nitrogen.01</item>
- <item>spriteimage.powerup.nitrogen.02</item>
- <item>spriteimage.powerup.nitrogen.03</item>
- <item>spriteimage.powerup.nitrogen.04</item>
- </array>
- <animation name="nitrogen.powerup.animation">
- <frameset id="nitrogen.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="lithium.powerup.array">
- <item>spriteimage.powerup.lithium.01</item>
- <item>spriteimage.powerup.lithium.02</item>
- <item>spriteimage.powerup.lithium.03</item>
- <item>spriteimage.powerup.lithium.04</item>
- </array>
- <animation name="lithium.powerup.animation">
- <frameset id="lithium.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <!-- survival mode powerups -->
- <array name="concrete.powerup.array">
- <item>spriteimage.powerup.survival.concrete.01</item>
- <item>spriteimage.powerup.survival.concrete.02</item>
- <item>spriteimage.powerup.survival.concrete.03</item>
- <item>spriteimage.powerup.survival.concrete.04</item>
- </array>
- <animation name="concrete.powerup.animation">
- <frameset id="concrete.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="steel.powerup.array">
- <item>spriteimage.powerup.survival.steel.01</item>
- <item>spriteimage.powerup.survival.steel.02</item>
- <item>spriteimage.powerup.survival.steel.03</item>
- <item>spriteimage.powerup.survival.steel.04</item>
- </array>
- <animation name="steel.powerup.animation">
- <frameset id="steel.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="titanium.powerup.array">
- <item>spriteimage.powerup.survival.titanium.01</item>
- <item>spriteimage.powerup.survival.titanium.02</item>
- <item>spriteimage.powerup.survival.titanium.03</item>
- <item>spriteimage.powerup.survival.titanium.04</item>
- </array>
- <animation name="titanium.powerup.animation">
- <frameset id="titanium.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="nanomesh.powerup.array">
- <item>spriteimage.powerup.survival.nanomesh.01</item>
- <item>spriteimage.powerup.survival.nanomesh.02</item>
- <item>spriteimage.powerup.survival.nanomesh.03</item>
- <item>spriteimage.powerup.survival.nanomesh.04</item>
- </array>
- <animation name="nanomesh.powerup.animation">
- <frameset id="nanomesh.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
-
- <array name="mines.powerup.array">
- <item>spriteimage.powerup.survival.mines.01</item>
- <item>spriteimage.powerup.survival.mines.02</item>
- <item>spriteimage.powerup.survival.mines.03</item>
- <item>spriteimage.powerup.survival.mines.04</item>
- </array>
- <animation name="mines.powerup.animation">
- <frameset id="mines.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
- <array name="clustermines.powerup.array">
- <item>spriteimage.powerup.survival.clustermines.01</item>
- <item>spriteimage.powerup.survival.clustermines.02</item>
- <item>spriteimage.powerup.survival.clustermines.03</item>
- <item>spriteimage.powerup.survival.clustermines.04</item>
- </array>
- <animation name="clustermines.powerup.animation">
- <frameset id="clustermines.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
-
- <array name="blastmines.powerup.array">
- <item>spriteimage.powerup.survival.blastmines.01</item>
- <item>spriteimage.powerup.survival.blastmines.02</item>
- <item>spriteimage.powerup.survival.blastmines.03</item>
- <item>spriteimage.powerup.survival.blastmines.04</item>
- </array>
- <animation name="blastmines.powerup.animation">
- <frameset id="blastmines.powerup.array" />
- <frame i="powerup.icon.anim" d="0" />
- </animation>
-
-
-
- <!-- Basic unit of difficulty for powerups -->
- <property key="powerup_difficulty" value="0.025"/>
-
-
- <instance
- name="50bucks.powerup"
- class="worm.powerups.MoneyPowerupFeature"
- hint="hint.powerup"
- title="$50"
- collect="collectMoney50.buffer"
- amount="50"
- labelColorStart="=$powerup_label_yellow_start"
- labelColorEnd="=$powerup_label_yellow_end"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" attenuated="false" animation="money.powerup.animation" />
- </layers>
- </appearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="money.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
-
- <instance
- name="100bucks.powerup"
- hint="hint.powerup"
- class="worm.powerups.MoneyPowerupFeature"
- title="$100"
- collect="collectMoney100.buffer"
- amount="100"
- labelColorStart="=$powerup_label_yellow_start"
- labelColorEnd="=$powerup_label_yellow_end"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" attenuated="false" animation="money.powerup.animation" />
- </layers>
- </appearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="money.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
-
- <instance
- name="250bucks.powerup"
- hint="hint.powerup"
- class="worm.powerups.MoneyPowerupFeature"
- title="$250"
- collect="collectMoney250.buffer"
- amount="250"
- labelColorStart="=$powerup_label_yellow_start"
- labelColorEnd="=$powerup_label_yellow_end"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" attenuated="false" animation="money.powerup.animation" />
- </layers>
- </appearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="money.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
-
- <instance
- name="500bucks.powerup"
- hint="hint.powerup"
- class="worm.powerups.MoneyPowerupFeature"
- title="$500"
- collect="collectMoney500.buffer"
- amount="500"
- labelColorStart="=$powerup_label_yellow_start"
- labelColorEnd="=$powerup_label_yellow_end"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" attenuated="false" animation="money.powerup.animation" />
- </layers>
- </appearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="money.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
-
-
- <instance
- name="smartbomb.powerup"
- hint="hint.cool_powerup"
- class="worm.powerups.SmartbombPowerupFeature"
- title="=$smartbomb.powerup.title"
- collect="collectSmartbomb.buffer"
- description="=$smartbomb.powerup.description"
- shopIndex="1"
- shopIcon="powerup.smartbomb"
- shortcut="true"
- labelColorStart="=$powerup_label_red_start"
- labelColorEnd="=$powerup_label_red_end"
- tooltipGraphic="=$key.game.smartbomb.powerup.icon"
- difficulty="=$powerup_difficulty*3"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="smartbomb.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.smartbomb.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="smartbomb.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
-
- <instance
- name="bezerk.powerup"
- class="worm.powerups.BezerkPowerupFeature"
- hint="hint.cool_powerup"
- title="=$bezerk.powerup.title"
- collect="collectBezerk.buffer"
- duration="600"
- description="=$bezerk.powerup.description"
- shopIndex="0"
- shopIcon="powerup.bezerk"
- shortcut="true"
- labelColorStart="=$powerup_label_red_start"
- labelColorEnd="=$powerup_label_red_end"
- tooltipGraphic="=$key.game.bezerk.powerup.icon"
- difficulty="=$powerup_difficulty*5"
- >
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.bezerk.01"/>
- </layers>
- </shopAppearance>
-
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="bezerk.powerup.animation" />
- </layers>
- </appearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="bezerk.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="freeze.powerup"
- hint="hint.cool_powerup"
- class="worm.powerups.FreezePowerupFeature"
- title="=$freeze.powerup.title"
- collect="collectFreeze.buffer"
- description="=$freeze.powerup.description"
- duration="600"
- shopIndex="4"
- shopIcon="powerup.freeze"
- shortcut="true"
- labelColorStart="=$powerup_label_green_start"
- labelColorEnd="=$powerup_label_green_end"
- tooltipGraphic="=$key.game.freeze.powerup.icon"
- difficulty="=$powerup_difficulty"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="freeze.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.freeze.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="freeze.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="shield.powerup"
- hint="hint.cool_powerup"
- class="worm.powerups.ShieldPowerupFeature"
- title="=$shield.powerup.title"
- collect="collectShield.buffer"
- description="=$shield.powerup.description"
- duration="600"
- shopIndex="3"
- shopIcon="powerup.shield"
- shortcut="true"
- labelColorStart="=$powerup_label_green_start"
- labelColorEnd="=$powerup_label_green_end"
- tooltipGraphic="=$key.game.shield.powerup.icon"
- difficulty="=$powerup_difficulty"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="shield.powerup.animation" />
- </layers>
- </appearance>
-
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.shield.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="shield.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="repair.powerup"
- hint="hint.cool_powerup"
- class="worm.powerups.RepairPowerupFeature"
- title="=$repair.powerup.title"
- collect="collectRepair.buffer"
- description="=$repair.powerup.description"
- shopIndex="2"
- shopIcon="powerup.repair"
- shortcut="true"
- labelColorStart="=$powerup_label_green_start"
- labelColorEnd="=$powerup_label_green_end"
- tooltipGraphic="=$key.game.repair.powerup.icon"
- difficulty="=$powerup_difficulty"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="repair.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.repair.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="repair.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <!-- Exotic powerups -->
- <instance
- name="capacitor.powerup"
- hint="hint.exotic_powerup"
- class="worm.powerups.CapacitorPowerupFeature"
- title="=$flux.powerup.title"
- collect="collectCapacitor.buffer"
- description="=$flux.powerup.description"
- shopIndex="6"
- shopIcon="powerup.flux"
- labelColorStart="=$powerup_label_blue_start"
- labelColorEnd="=$powerup_label_blue_end"
- tooltipGraphic="=$key.game.capacitor.powerup.icon"
- difficulty="=$powerup_difficulty"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="flux.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.flux.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers scale="0.5">
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="flux.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="reactor.powerup"
- hint="hint.exotic_powerup"
- class="worm.powerups.ReactorPowerupFeature"
- title="=$plutonium.powerup.title"
- collect="collectReactor.buffer"
- description="=$plutonium.powerup.description"
- shopIndex="8"
- shopIcon="powerup.plutonium"
- labelColorStart="=$powerup_label_blue_start"
- labelColorEnd="=$powerup_label_blue_end"
- tooltipGraphic="=$key.game.reactor.powerup.icon"
- difficulty="=$powerup_difficulty*3"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="plutonium.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.plutonium.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="plutonium.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="shieldgenerator.powerup"
- hint="hint.exotic_powerup"
- class="worm.powerups.ShieldGeneratorPowerupFeature"
- title="=$strengthen.powerup.title"
- collect="collectShieldGenerator.buffer"
- description="=$strengthen.powerup.description"
- shopIndex="10"
- shopIcon="powerup.strengthen"
- labelColorStart="=$powerup_label_blue_start"
- labelColorEnd="=$powerup_label_blue_end"
- tooltipGraphic="=$key.game.shieldgenerator.powerup.icon"
- difficulty="=$powerup_difficulty*5"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="strengthen.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="strengthen.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="radar.powerup"
- hint="hint.exotic_powerup"
- class="worm.powerups.ScannerPowerupFeature"
- title="=$radar.powerup.title"
- collect="collectScanner.buffer"
- description="=$radar.powerup.description"
- shopIndex="9"
- shopIcon="powerup.radar"
- labelColorStart="=$powerup_label_blue_start"
- labelColorEnd="=$powerup_label_blue_end"
- tooltipGraphic="=$key.game.radar.powerup.icon"
- difficulty="=$powerup_difficulty*5"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="radar.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.radar.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="radar.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="battery.powerup"
- hint="hint.exotic_powerup"
- class="worm.powerups.BatteryPowerupFeature"
- title="=$battery.powerup.title"
- collect="collectBattery.buffer"
- description="=$battery.powerup.description"
- shopIndex="5"
- shopIcon="powerup.lithium"
- labelColorStart="=$powerup_label_blue_start"
- labelColorEnd="=$powerup_label_blue_end"
- tooltipGraphic="=$key.game.battery.powerup.icon"
- difficulty="=$powerup_difficulty*3"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="lithium.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.lithium.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="lithium.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="cooling.powerup"
- hint="hint.exotic_powerup"
- class="worm.powerups.CoolingTowerPowerupFeature"
- title="=$cooling.powerup.title"
- collect="collectCoolingTower.buffer"
- description="=$cooling.powerup.description"
- shopIndex="7"
- shopIcon="powerup.nitrogen"
- labelColorStart="=$powerup_label_blue_start"
- labelColorEnd="=$powerup_label_blue_end"
- tooltipGraphic="=$key.game.cooling.powerup.icon"
- difficulty="=$powerup_difficulty*3"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="nitrogen.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.nitrogen.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="nitrogen.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <!-- survival mode powerups -->
- <instance
- name="concrete.powerup"
- hint="hint.barricade_powerup"
- class="worm.powerups.ResourcePowerupFeature"
- title="=$concrete.powerup.title"
- collect="collectShieldGenerator.buffer"
- labelColorStart="=$powerup_label_green_start"
- labelColorEnd="=$powerup_label_green_end"
- resource="building.generic.concrete"
- amount="25"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="concrete.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="concrete.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="steel.powerup"
- hint="hint.barricade_powerup"
- class="worm.powerups.ResourcePowerupFeature"
- title="=$steel.powerup.title"
- collect="collectShieldGenerator.buffer"
- labelColorStart="=$powerup_label_green_start"
- labelColorEnd="=$powerup_label_green_end"
- resource="building.generic.steel"
- amount="20"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="steel.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="steel.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="titanium.powerup"
- hint="hint.barricade_powerup"
- class="worm.powerups.ResourcePowerupFeature"
- title="=$titanium.powerup.title"
- collect="collectShieldGenerator.buffer"
- labelColorStart="=$powerup_label_green_start"
- labelColorEnd="=$powerup_label_green_end"
- resource="building.generic.titanium"
- amount="15"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="titanium.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="titanium.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="nanomesh.powerup"
- hint="hint.barricade_powerup"
- class="worm.powerups.ResourcePowerupFeature"
- title="=$nanomesh.powerup.title"
- collect="collectShieldGenerator.buffer"
- labelColorStart="=$powerup_label_green_start"
- labelColorEnd="=$powerup_label_green_end"
- resource="building.generic.nanomesh"
- amount="10"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="nanomesh.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="nanomesh.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="mines.powerup"
- hint="hint.mines_powerup"
- class="worm.powerups.ResourcePowerupFeature"
- title="=$mines.powerup.title"
- collect="collectShieldGenerator.buffer"
- labelColorStart="=$powerup_label_red_start"
- labelColorEnd="=$powerup_label_red_end"
- resource="building.generic.mine"
- amount="25"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="mines.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="mines.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="clustermines.powerup"
- hint="hint.mines_powerup"
- class="worm.powerups.ResourcePowerupFeature"
- title="=$clustermines.powerup.title"
- collect="collectShieldGenerator.buffer"
- labelColorStart="=$powerup_label_red_start"
- labelColorEnd="=$powerup_label_red_end"
- resource="building.generic.clustermine"
- amount="15"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="clustermines.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="clustermines.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <instance
- name="blastmines.powerup"
- hint="hint.mines_powerup"
- class="worm.powerups.ResourcePowerupFeature"
- title="=$blastmines.powerup.title"
- collect="collectShieldGenerator.buffer"
- labelColorStart="=$powerup_label_red_start"
- labelColorEnd="=$powerup_label_red_end"
- resource="building.generic.blastmine"
- amount="5"
- >
- <!-- Event 1 on first sprite makes saucer zappable -->
- <appearance>
- <layers scale="0.5">
- <sprite>
- <animation>
- <animation>
- <event id="1"/>
- </animation>
- </animation>
- </sprite>
- <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
- <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
- <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="blastmines.powerup.animation" />
- </layers>
- </appearance>
- <shopAppearance>
- <layers>
- <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
- </layers>
- </shopAppearance>
- <!-- Event 2 on first sprite removes the saucer -->
- <collectAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- <emitter emitter="blastmines.collect.emitter"/>
- </layers>
- </collectAppearance>
-
- <!-- Event 2 on first sprite removes the saucer -->
- <vanishAppearance>
- <layers>
- <sprite layer="0">
- <animation>
- <animation>
- <event id="2"/>
- </animation>
- </animation>
- </sprite>
- </layers>
- </vanishAppearance>
- </instance>
- <!-- Powerup collection -->
- <animation name="collect.light.animation">
- <frame i="spriteimage.particle.light.64px.01" d="1"/>
- <alpha alpha="0" d="2"/>
- <alpha alpha="255" d="2"/>
- <goto seq="1"/>
- </animation>
-
-
- <emitter
- name="collect.emitter"
- appearance="glitter.animation"
- inherit="ping.emitter"
- velocity="7.0"
- acceleration="-0.7"
- />
- <emitter
- name="collect.red.emitter"
- inherit="collect.emitter"
- startHue="0.01"
- endBrightness="0.5"
- />
- <emitter
- name="collect.green.emitter"
- inherit="collect.emitter"
- startHue="0.27"
- endBrightness="0.25"
- />
- <emitter
- name="collect.cyan.emitter"
- inherit="collect.emitter"
- startHue="0.5"
- endBrightness="0.3"
- />
- <emitter
- name="collect.yellow.emitter"
- inherit="collect.emitter"
- startHue="0.17"
- endBrightness="0.3"
- />
- <emitter
- name="collect.purple.emitter"
- inherit="collect.emitter"
- startHue="0.77"
- endBrightness="0.6"
- />
-
- <emitter
- name="collect.light.emitter"
- duration="1.0"
- particlesPerTick="1.0"
- appearance="spriteimage.particle.light.64px.02"
- layer="6"
- startScale="0.5"
- scale="2.0"
- endScale="0.8"
- particleDuration="8.0"
- fadeDuration="64.0"
- startHue="0.27"
- startSaturation="1.0"
- startBrightness="1.0"
- endHue="0.35"
- endSaturation="1.0"
- endBrightness="0.3"
- />
- <emitter
- name="collect.light.flash.emitter"
- duration="1.0"
- particlesPerTick="1.0"
- appearance="collect.light.animation"
- layer="6"
- startScale="0.25"
- scale="0.75"
- endScale="0.5"
- particleDuration="4.0"
- fadeDuration="16.0"
- startHue="0.0010"
- startSaturation="0.0"
- startBrightness="0.5"
- endHue="0.0010"
- endSaturation="0.0"
- endBrightness="0.25"
- />
- <emitter
- name="collect.light.red.emitter"
- inherit="collect.light.emitter"
- startHue="0.01"
- endHue="0.0010"
- endBrightness="0.8"
- />
- <emitter
- name="collect.light.green.emitter"
- inherit="collect.light.emitter"
- startHue="0.27"
- endHue="0.35"
- endBrightness="0.4"
- />
- <emitter
- name="collect.light.cyan.emitter"
- inherit="collect.light.emitter"
- startHue="0.5"
- endHue="0.52"
- endBrightness="0.5"
- />
- <emitter
- name="collect.light.yellow.emitter"
- inherit="collect.light.emitter"
- startHue="0.17"
- endHue="0.11"
- endBrightness="0.5"
- />
- <emitter
- name="collect.light.purple.emitter"
- inherit="collect.light.emitter"
- startHue="0.77"
- endHue="0.68"
- endBrightness="0.9"
- />
-
- <emitter
- name="collect.icon.emitter"
- duration="2.0"
- particlesPerTick="1.0"
- appearance="spriteimage.particle.powerup.money.01"
- layer="6"
- startScale="0.3"
- scale="0.6"
- endScale="2.0"
- gravityY="0.015"
- particleDuration="20.0"
- fadeDuration="45.0"
- angle="90.0"
- rotate="false"
- velocity="1"
- acceleration="-0.5"
- />
-
-
-
- <!-- rotate="true" -->
-
- <emitter name="money.collect.emitter" inherit="collect.yellow.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.money.01">
- <chain><emitter inherit="collect.light.yellow.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="bezerk.collect.emitter" inherit="collect.red.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.bezerk.01">
- <chain><emitter inherit="collect.light.red.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="repair.collect.emitter" inherit="collect.green.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.repair.01">
- <chain><emitter inherit="collect.light.green.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="shield.collect.emitter" inherit="collect.green.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.shield.01">
- <chain><emitter inherit="collect.light.green.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="freeze.collect.emitter" inherit="collect.green.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.freeze.01">
- <chain><emitter inherit="collect.light.green.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="smartbomb.collect.emitter" inherit="collect.red.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.smartbomb.01">
- <chain><emitter inherit="collect.light.red.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="lithium.collect.emitter" inherit="collect.cyan.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.lithium.01">
- <chain><emitter inherit="collect.light.cyan.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="flux.collect.emitter" inherit="collect.cyan.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.flux.01">
- <chain><emitter inherit="collect.light.cyan.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="nitrogen.collect.emitter" inherit="collect.cyan.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.nitrogen.01">
- <chain><emitter inherit="collect.light.cyan.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="plutonium.collect.emitter" inherit="collect.cyan.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.plutonium.01">
- <chain><emitter inherit="collect.light.cyan.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="radar.collect.emitter" inherit="collect.cyan.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.radar.01">
- <chain><emitter inherit="collect.light.cyan.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="strengthen.collect.emitter" inherit="collect.cyan.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.strengthen.01">
- <chain><emitter inherit="collect.light.cyan.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
- <emitter name="concrete.collect.emitter" inherit="collect.green.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.concrete.01">
- <chain><emitter inherit="collect.light.green.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
- <emitter name="steel.collect.emitter" inherit="collect.green.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.steel.01">
- <chain><emitter inherit="collect.light.green.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="titanium.collect.emitter" inherit="collect.green.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.titanium.01">
- <chain><emitter inherit="collect.light.green.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="nanomesh.collect.emitter" inherit="collect.green.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.nanomesh.01">
- <chain><emitter inherit="collect.light.green.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
- <emitter name="mines.collect.emitter" inherit="collect.red.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.mines.01">
- <chain><emitter inherit="collect.light.red.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
- <emitter name="clustermines.collect.emitter" inherit="collect.red.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.clustermines.01">
- <chain><emitter inherit="collect.light.red.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
-
- <emitter name="blastmines.collect.emitter" inherit="collect.red.emitter">
- <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.blastmines.01">
- <chain><emitter inherit="collect.light.red.emitter">
- <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
- </resources>
|