Skip to reading
The Sock Exchange, Part 2: The Missing Laundry

Finish the other two pictures

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 PDF page

TUTORIAL 02 • TEXT-EDITOR ART · OPTIONAL

Use the same plain-text editor. Bea’s second file is a copy. Gus gets a sheet of his own.

1 With bea_walk.svg open, choose Save As and save a copy as bea_idle.svg. In that copy replace only the third line with the one below. Save. The new width and view box show only the second pose.

Code example
 width="32" height="48" viewBox="32 0 32 48">

2 Make a new plain-text file. Copy the following box into it, save it as gus_idle.svg, and open it in your browser. Look for two copies of Gus holding his towel at different heights.

Code example
<svg xmlns="http://www.w3.org/2000/svg"
 xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="48">
<defs><g id="gus">
<path fill="#353242" d="M9 33H23L24 42H27V44H18L16 37 14 44H5V42H8Z"/>
<path fill="#67b8aa" d="M9 19H22L26 34 22 38H7L5 32Z"/>
<path fill="#f1b58a" d="M11 8H23V13H26V16H23V21H11Z"/>
<path fill="#47344a" d="M8 8L12 4H22L26 8 24 10H11V16H8Z"/>
<path fill="#47344a" d="M20 12H22V14H20ZM17 16H24V18H17Z"/>
</g></defs>
<use xlink:href="#gus"/><use x="32" xlink:href="#gus"/>
<path fill="#ffc660" d="M12 27H28V32H12ZM44 24H60V29H44Z"/>
<path fill="#f1b58a" d="M8 25L14 29 13 32 7 29ZM40 24L46 26 45 29 39 28Z"/>
</svg>

3 Return to the import step on page 3. Choose each .svg file in place of its PNG. Keep the same asset IDs, Sprite Sheet kind, grid and FPS values. If a freshly imported SVG has a blank editor preview, use Play / Restart after assigning the states to check the game itself.

What should be in your folder? bea_walk.svg shows four poses. bea_idle.svg shows one. gus_idle.svg shows two. The project can use these same three files every time you open it.

PCA 3D Adventure Studio / 13

Page 13 of 14Permalink
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