Skip to reading
The Sock Exchange, Part 4: Trouble After Closing

Put rain in the air

Edition 0.86.4.2

0.86.4.2 edition with appended native sprite-motion lessons. Earlier chapters, reference counts and screenshots retain their original edition context.

Download PDFView illustrations

TUTORIAL 04 • SCENE DESIGNER

The rain should fill the view. A handful of moths should stay in one small part of it. Putting them in separate effects gives you control over both.

1 Select Service Yard › Post Process. Under Scene Shader Source choose Use This Scene’s Shader Stack. Set the first effect layer to Rain and its intensity to 0.50. Leave the imported scene shader empty. Set Rain Density 0.32, Rain Fall Speed 0.8, Rain Angle 12° and Rain Streak Length / Scale 0.6. Apply.

Scene Designer • position the small emitter near the lamp end. The slanted blue streaks across the yard come from the room’s Rain effect.

2 Use Add to Scene › Particles for the moths. Name the emitter Lamp moths, ID moths. Select Bug Cloud first, then edit its settings. Put it at [13.1, 1, −2.7]. Keep it emitting. Set Amount 22, Size 0.14, and use a warm cream color such as #FFE5AC.

3 Give the cloud a small area, [0.6, 0.15, 0.35]. Set its velocity range to 0.2–0.6, direction to [0,0,1] and gravity to [0,0,0]. Apply and Play. Follow Bea to the lamp and pause there. The specks belong to that spot even when Bea walks away. The rain follows the view.

Enlarged from play • the moths gather just above the  A moment later • compare the moving cream specks with
pad.                                            the fixed window.

Keep the clue readable. Look at the brass tag while the rain is running. If the bright streaks keep hiding its stripe, lower Rain Density first. If the weather shows inside, check that Rain is in the Service Yard’s own shader stack.

PCA 3D Adventure Studio / 12

Page 12 of 20Permalink
Go to page

Continue your 2D adventure

  1. Part 1The Sock Exchange, Part 1: Your First 2D Adventure
  2. Part 2The Sock Exchange, Part 2: The Missing Laundry
  3. Part 3The Sock Exchange, Part 3: The Dryer Conspiracy
  4. Part 4The Sock Exchange, Part 4: Trouble After Closing
  5. Part 5The Sock Exchange, Part 5: The Midnight Pickup
  6. Part 6The Sock Exchange, Part 6: Closing Time