Skip to content

ExplosionEffect

Built-in constants:

rand v none blockCrash trailFade unitSpawn unitCapKill unitEnvKill unitControl unitDespawn unitSpirit itemTransfer pointBeam pointHit lightning coreBuildShockwave coreBuildBlock pointShockwave moveCommand attackCommand commandSend upgradeCore upgradeCoreBloom placeBlock coreLaunchConstruct tapBlock breakBlock payloadDeposit select smoke fallSmoke unitWreck rocketSmoke rocketSmokeLarge magmasmoke spawn unitAssemble padlaunch breakProp unitDrop unitLand unitDust unitLandSmall unitPickup crawlDust landShock pickup sparkExplosion titanExplosion titanSmoke missileTrailSmoke neoplasmSplat scatheExplosion scatheLight scatheSlash dynamicSpikes greenBomb greenLaserCharge greenLaserChargeSmall greenCloud healWaveDynamic healWave heal dynamicWave shieldWave shieldApply disperseTrail hitBulletSmall hitBulletColor hitSquaresColor hitFuse hitBulletBig hitFlameSmall hitFlamePlasma hitLiquid hitLaserBlast hitEmpSpark hitLancer hitBeam hitFlameBeam hitMeltdown hitMeltHeal instBomb instTrail instShoot instHit hitLaser hitLaserColor despawn airBubble flakExplosion plasticExplosion plasticExplosionFlak blastExplosion sapExplosion massiveExplosion artilleryTrail incendTrail missileTrail missileTrailShort colorTrail absorb forceShrink flakExplosionBig burning fireRemove fire fireHit fireSmoke neoplasmHeal steam ventSteam drillSteam fluxVapor vapor vaporSmall fireballsmoke ballfire freezing melting wet muddy sapped electrified sporeSlowed oily overdriven overclocked dropItem shockwave bigShockwave spawnShockwave explosion dynamicExplosion reactorExplosion impactReactorExplosion blockExplosionSmoke smokePuff shootSmall shootSmallColor shootHeal shootHealYellow shootSmallSmoke shootBig shootBig2 shootBigColor shootTitan shootBigSmoke shootBigSmoke2 shootSmokeDisperse shootSmokeSquare shootSmokeSquareSparse shootSmokeSquareBig shootSmokeTitan shootSmokeSmite shootSmokeMissile regenParticle regenSuppressParticle regenSuppressSeek surgeCruciSmoke neoplasiaSmoke heatReactorSmoke circleColorSpark colorSpark colorSparkBig randLifeSpark shootPayloadDriver shootSmallFlame shootPyraFlame shootLiquid casing1 casing2 casing3 casing4 casing2Double casing3Double railShoot railTrail railHit lancerLaserShoot lancerLaserShootSmoke lancerLaserCharge lancerLaserChargeBegin lightningCharge sparkShoot lightningShoot thoriumShoot reactorsmoke redgeneratespark turbinegenerate generatespark fuelburn incinerateSlag coreBurn plasticburn conveyorPoof pulverize pulverizeRed pulverizeSmall pulverizeMedium producesmoke artilleryTrailSmoke smokeCloud smeltsmoke coalSmeltsmoke formsmoke blastsmoke lava dooropen doorclose dooropenlarge doorcloselarge generate mineWallSmall mineSmall mine mineBig mineHuge mineImpact mineImpactWave payloadReceive teleportActivate teleport teleportOut ripple bubble launch launchPod healWaveMend overdriveWave healBlock healBlockFull rotateBlock lightBlock overdriveBlockFull shieldBreak arcShieldBreak coreLandDust unitShieldBreak chainLightning chainEmp legDestroy debugLine debugRect

ExplosionEffect

extends Effect

field type default notes
waveColor Color ffd2aeff
smokeColor Color 7f7f7fff
sparkColor Color e58956ff
waveLife float 6.0
waveStroke float 3.0
waveRad float 15.0
waveRadBase float 2.0
sparkStroke float 1.0
sparkRad float 23.0
sparkLen float 3.0
smokeSize float 4.0
smokeSizeBase float 0.5
smokeRad float 23.0
smokes int 5
sparks int 4