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

Hang a tag under the awning

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 • ASSET + SCENE DESIGNERS

The tag belongs to the pipe, so it scrolls with the pavement. The awning is up close, over the player’s head. Its dark corners can stay at the edge of the screen.

1 On a 48 × 32 transparent canvas, draw two side-by-side 24 × 32 frames. In both, start a chain at the same top pixel. Hang a dark tag with a brass stripe from it. Tilt the loose end a couple of pixels left in frame one and right in frame two. Save as swing_tag.png.

2 Import swing_tag as Sprite Sheet. Choose Grid (Rows / Columns), 2 columns, 1 row, 2 FPS. Apply. In Asset Preview, use Next to step from one drawing to the other. Drag the sheet into the Service Yard. ID brass_tag, name Brass tag, position [7, 0, −0.1], source size 130 × 173. Use the camera-facing billboard settings from page 7, set 2 FPS and turn Default Animation Loops on.

Scene Designer displays the strip here. In Play a single tag swings left and right.

The whole sheet • the chain starts in the same spot in each half.

3 Enable the tag’s hotspot. Make Look its default. Under Verb Actions › Look › Show Message, enter “A brass tag. That’s what’s been tapping against the pipe.” Apply. This gives the player a way to solve the little mystery.

4 Make awning.png, a 320 × 180 transparent image. Paint a dark, shallow triangle across each top corner and a short dangling cord on the right. Import as an Image. In Service Yard › Screen Overlay select Use Custom Overlay in This Room, choose awning, leave Parallax Scroll with Camera off and check Screen Transitions Affect Room Overlay. Apply.

In play • the dark edge and cord stay at the top while the skyline travels underneath.

PCA 3D Adventure Studio / 9

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