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

Give the lamp a shadow to cast

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 painted floor already has its colors. Add a solid loading pad and a short post on top. Then you can actually see what changes when somebody flips the switch.

1 In Service Yard › Add to Scene › Primitives, add a Plane, then a Cylinder. Use the positions, sizes and colors below. For each choose Stage Rendering › Force 3D Object, Plane Orientation › Use Authored 3D Rotation, and Billboard Rotation › Do Not Auto-Rotate. Leave rotation at zero, turn off Blocking and the hotspot, and Apply.

Source table from Give the lamp a shadow to cast, page 10
ID / shapePosition X, Y, ZSize X, Y, ZMaterial color
lamp_pad / Plane15.3, 0.12, −1.155, 0.05, 2.4#65778C
post / Cylinder14.5, 0.15, −1.150.62, 1.2, 0.62#BD8961

2 Use Add to Scene › Point Light. Name it Inspection lamp, ID yard_lamp. Move it to [13.1, 3.5, −2.25]. Choose warm yellow #FFCF91, intensity 4.2, distance 6. Check Cast Shadows on the light. Use a lit material for the pad, with the post casting and the pad receiving shadows. Apply.

Scene Designer, zoomed in at the switch end. Move the light above and to the left of the short post. The shadow should fall away from the light.

If it looks flat In Play, look at the loading pad. It should brighten toward the lamp and darken away from it. Check that the lamp is enabled and within six units of the post. If the pad appears edge-on, revisit Plane Orientation on both primitives.

PCA 3D Adventure Studio / 10

Page 10 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