Skip to content

Exercise 10: An explosion built from layers

Purpose. To fire three emitters together as one effect, and to change the size and the speed of all three at once.

A finished effect is seldom one emitter. An explosion is a flash, a ball of fire and a cloud of smoke, each made separately and timed against the others. The plugin treats a Folder of emitters as one effect: select the Folder, and everything inside it is fired, sized and timed together.

Three emitters kept from earlier exercises are in the workspace:

  • The pulsing glow from Exercise 6. It will be the flash.
  • The flipbook flame from Exercise 5. It will be the fire.
  • The growing ball from Exercise 4. It will be the smoke.

Enabled and Loop are off on all three. Move the three Parts to the same spot.

Steps 2 to 4 repeat Exercises 2 and 3 on each emitter in turn.

StepControlActionResult
1ExplorerMake a Folder in the workspace named Explosion and drag the three emitters into itThe three emitters are inside Explosion.
2The glowSelect. Enter 0.25 for Emission ▸ Lifetime and 0 for Emission ▸ Linger.No change yet. The flash will last a quarter of a second.
3The flipbook flameSelect. On the HUD enter 6 for Emit. Enter 60 for Motion ▸ SpreadAngle.No change yet. The six flames will fan out.
4The growing ballSelect. On the HUD enter 10 for Emit and 0.15 for Delay. Enter 180 for Motion ▸ SpreadAngle.No change yet. The ten balls will leave in every direction.
5Explosion, in the ExplorerSelectThe HUD shows the first emitter’s name followed by (+2). The Properties panel shows one section, titled Meshes (3). A value typed there is written to all three.
6HUD ▸ Emit buttonPressThe flash pulses once. Six flames fan out from it at the same instant. The balls follow 0.15 seconds later, in every direction.
7≡ ▸ Tools ▸ Re: Size/TimePressA small panel opens with two tabs, Size and Time.
8Size tab ▸ sliderDrag to 2.00xNothing is kept yet. The next play shows the effect at twice the size.
9HUD ▸ Emit buttonPressThe whole explosion is twice as large and travels twice as far.
10Size tab ▸ ApplyPressThe new sizes are kept. The slider returns to 1.00x.
11Time tab ▸ sliderDrag to 0.50x, then press ApplyThe new timing is kept.
12HUD ▸ Emit buttonPressThe explosion plays at half speed. Every part of it takes twice as long, and the layers keep their order.

A Folder is a container, and the plugin looks inside it. Selecting the Folder selects every emitter in it, however deep. The Emit button then fires each one with its own Emit, Delay and Duration. A Model or an ordinary Part that holds emitters works the same way.

This is different from the nesting of Exercise 9. A nested emitter is fired by each particle of its parent. Emitters in a Folder are fired side by side, once each, by one press.

In a FolderNested in a RenderTemplate
Fired byOne press of Emit on the FolderEach particle of the parent
Appears atEach emitter’s own placeThe parent particle
Delay counted fromThe pressThe moment the parent particle is made

Size multiplies everything measured in studs: particle sizes, speeds, accelerations, spawn positions, beam widths. It leaves angles, times, rates and counts alone. An effect made larger this way keeps its shape, because the distances its particles travel grow with their size.

Time changes how fast the whole effect runs. At 2.00x it runs twice as fast. Lifetimes, delays and durations are halved. Rates and speeds are doubled. Accelerations are adjusted so that every path keeps its shape. At 0.50x it runs at half speed.

Both sliders run from 0.50x to 2.00x. The number above the slider can be typed over for a factor outside that range. Each Apply is one step in Studio’s undo history.

SymptomCauseAction
One layer does not fireIts Emit and Duration are both 0.Select that emitter alone and enter a number.
Every layer now has the same DelayA value was typed into the HUD while the Folder was selected.Select each emitter alone and enter its own value.
A HUD box reads -The emitters in the Folder hold different values for it.Leave it as it is.
The glow does not showIts Mode is no longer Animate.Set Mode to Animate.
The Size and Time panel folds awayNothing the plugin can edit is selected.Select Explosion. The panel returns.
ChangeResult
Add the sparks rocket of Exercise 9 to the FolderIt fires with the rest, and its nested burst goes off at the top.
HUD ▸ auto-emit, with Explosion selectedThe whole explosion replays. Select one layer and edit it while the rest keeps playing.
Size 0.50x, ApplyA hand-sized version of the same explosion.
Time 2.00x, ApplyA sharp, fast version.
Size tab ▸ Scale Spawn Area onThe emitter Parts themselves are resized too.
New in this exerciseA Folder of emitters fired as one. The Tools menu. Size. Time.
Done beforeThe Emit and Delay boxes (Exercises 3 and 9). SpreadAngle (Exercises 2 and 4). Lifetime (Exercises 2, 6 and 9). Linger (Exercise 6). The Emit button (Exercises 3, 6, 8 and 9).
Carried forwardKeep Explosion. Later exercises add a screen flash, a sound and a script to it.