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

Put distance between the layers

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

Walk past a window and the frame goes by quickly. The buildings across the street barely move. Two different scroll speeds give Bea’s yard the same sense of distance.

1 In Service Yard › Scene Designer, use Add to Scene › 2D / 2.5D › Background Layer. Select the new entry under Parallax Planes in Scene Objects. Name it Roofs and choose far_roofs for its image. Enter the first row below and Apply.

2 Add a second Background Layer named Wires. Choose yard_wires and enter the second row. Both planes use width 40, height 11.25, X and Z position 0 and vertical factor 1. Y is height above the stage. These tiny height differences stack the drawings in front of the base.

Source table from Put distance between the layers, page 5
PlanePosition YLayer OrderHorizontal Factor
Roofs−0.0400.25
Wires−0.0310.72
After Roofs • warm windows break up the horizon.  After Wires • posts and sagging lines cross in front.

Select a layer by name in the Scene Objects dock. The canvas shows the skyline and wires together. Turn off Clean 2D Room in the Stage Designer toolbar if the other planes disappear while you edit.

Check your screen Compare a post with a lit window while walking on page 6. The post should pass the window. Keep the door, tag and switch on the ordinary room stage so Bea can click exactly where she sees them.

PCA 3D Adventure Studio / 5

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