Finish the other two pictures
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.
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.
<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
