Skip to content

Exercise 19: Variations of one effect

Purpose. To turn one finished explosion into a second one that differs in colour, motion and timing, without rebuilding anything by hand.

A game seldom needs one explosion. It needs a fire version and an ice version, a small one and a large one, a quick one and a slow one. Each could be built again from the first step. It is quicker to duplicate the finished effect and change the duplicate with tools that act on many rows, or many emitters, at once.

  • The Explosion folder is in the workspace.
  • Duplicate it in the Explorer with Ctrl+D, name the duplicate Explosion2, and move it a few studs aside. Everything below is done to Explosion2.

Size and Time, from Exercise 10, are two of these tools. This exercise uses the other four.

StepControlActionResult
1Explosion2SelectThe HUD shows its emitters.
2≡ ▸ Tools ▸ HuePressA panel titled HueChanger opens, with three upright sliders marked H, S and V.
3HueChanger ▸ HDrag it a little, press Emit on the HUD to look, and repeat until the smoke and the flash are blueEvery colour graph in every emitter of the folder shifts together. The flipbook picture keeps its own colours.
4HueChanger ▸ Apply, then HUD ▸ EmitPress eachThe colours are kept. The explosion plays with blue smoke and a blue flash.
5The growing ball inside Explosion2SelectThe Properties panel shows it alone.
6≡ ▸ Tools ▸ RandomizePressA panel titled Randomize opens. It lists the emitter’s rows by section, each with a box.
7Randomize ▸ the box beside MotionClickEvery row in Motion is ticked.
8Randomize ▸ Roll, then HUD ▸ EmitPress each, several timesEach Roll gives the ball new motion values. Each Emit shows them.
9Randomize ▸ ApplyPressThe last roll is kept. The panel closes.
10≡ ▸ Tools ▸ PropertyToolsPressA panel opens with two tabs, Clipboard and Shifter.
11Clipboard tab ▸ the name Motion in the listClickEvery row in Motion is ticked and the category opens.
12Clipboard tab ▸ CopyPress, with the growing ball still selectedThe ball’s Motion values are held.
13The flipbook flame inside Explosion2Select, then press PasteThe flame now moves as the ball does.
14Explosion2Select. Open the Shifter tab. Tick EmitDelay.One row is ticked.
15Shifter tab ▸ the value box, then +Enter 0.1, then press +Every emitter in the folder fires a tenth of a second later than before.
16HUD ▸ Emit buttonPressThe second explosion plays: bluer, with new motion, a beat behind the first.
ToolWhat it changesOn what
HueEvery colour graph and every Blender state: turned round the colour wheel (H), made more or less vivid (S), made lighter or darker (V). Not decal layers, and not the pictures themselves.Everything selected, with the emitters nested inside.
RandomizeThe ticked rows, each given a new value at random within sensible limits.Everything selected. Emitters of the same kind all receive the same roll.
ClipboardThe ticked rows, set to the values copied from another emitter.Everything selected that has a row of that name.
ShifterThe ticked rows, each multiplied, divided, raised or lowered by the number in the box.Everything selected that has a row of that name.
SizeEverything measured in studs.Everything selected.
TimeEverything measured in seconds.Everything selected.

Each Apply, Paste and Shifter operation is one step in Studio’s undo history.

The four Shifter buttons are marked x, /, + and -. On a row with two numbers, both are changed. On a graph, every keypoint is changed.

The Clipboard carries values between emitters of different kinds where the row has the same name and the same form. A value that does not fit the row it is pasted on is left out without a message.

SymptomCauseAction
The Hue sliders change nothingNothing with a colour is selected, or the colours are white, grey or black, which have no hue to turn.Select Explosion2. Use S and V on greys.
Paste does nothingNo row is ticked, or nothing has been copied.Tick the rows and press Paste again.
The Randomize panel reads No transformed items selectedThe selection holds no emitter.Select an emitter.
Randomize gave two emitters the same valuesThey are of the same kind and were selected together.Select and roll them one at a time.
The Hue and PropertyTools panels fold away under the HUDNothing the plugin can edit is selected.Select an emitter. The panels return.
ChangeResult
Randomize ▸ the palette list on a colour row, set to CoolRolls keep to blues and greens.
Randomize ▸ Randomize Keypoint/ColorSequence Count onGraphs and gradients are rolled with several points, not two.
Shifter ▸ tick Rate, enter 0.5, press xEvery stream in the folder makes half as many particles: a cheaper version.
Clipboard ▸ tick OnHit under Events, Copy from one emitter, Paste on othersThe whole event, with its picked emitter, is carried over.
V dragged down, ApplyA darker version for a night scene.
New in this exerciseHue. Randomize. Clipboard. Shifter.
Done beforeA Folder selected as one (Exercises 10 and 17). The Tools menu (Exercises 10 and 17). Apply and Reset on a tool (Exercise 10). The Emit button.
Carried forwardKeep both explosions.