← All tutorials · Flipline

Tutorial 17 of 19

Layer PNGs, time locator with audio, and nine-slice sprite regions

Intermediate 8 min

Export every visible layer as its own PNG, jump to a time or an audio cue in the Xsheet, and give sprite regions nine-slice borders for scalable game UI.

Three smaller additions make Flipline easier to combine with other tools: one PNG per layer for compositing, a time locator in the Xsheet Desk with optional session audio, and nine-slice borders for sprite regions in Pixel Studio.

Export each visible layer as a PNG

Choose Export and set Export format to Current drawing · visible layer PNGs + manifest ZIP, then Download export.

The ZIP holds one full-size transparent PNG per visible layer of the current drawing, with the layer opacity baked in. Hidden layers and the paper are left out, so hide a layer first if you do not want it. A manifest lists the layers from top to bottom, which is the order you rebuild them in a compositing or video program. If every layer is hidden, Flipline asks you to show at least one layer first.

Locate a time in the Xsheet Desk

Open Xsheet Desk and scroll the side panel to Locate a time. Times start at zero and the end of the sheet is excluded.

Locate a time panel jumping to 2.5 seconds, which lands in tick 31, with clip start and duration fields

  • Time in seconds and Jump to time move the playhead to the tick that contains that moment. At 12 fps, 2.5 seconds is in tick 31.
  • Tick Time is relative to an external clip when your time comes from a dialogue or music clip. Then enter the cue's time inside the clip and Clip start on timeline (seconds). A negative start means the clip begins before tick 1. Up to six decimal places are accepted.
  • With Clip duration (seconds) and Select overlapping ticks, Flipline selects every tick the clip touches, including partly covered ticks. Selecting changes no exposures; use it to see where a sound sits before you time the drawings to it.

Preview session audio

Under Session audio preview, Choose Xsheet audio file loads a browser-playable file up to 50 MB and 10 minutes. You can listen to it on its own, or tick Synchronize audio with Xsheet playback to start it together with the sheet. Audio start on timeline (seconds) shifts it: a positive start leaves silence before the clip, a negative start skips its beginning. Synchronization is approximate, so check lip-sync frames by eye.

Use audio duration in clip locator copies the clip length into Clip duration (seconds). For WAV files, Show WAV waveform and Show waveform on Xsheet timeline draw the peaks next to the ticks (integer PCM or 32-bit float WAV up to 12 MB).

The audio stays in this tab until you choose Remove Xsheet audio or close the desk. It is not saved in the project and not included in GIF exports.

Nine-slice borders for sprite regions

Game UI such as buttons and panels must stretch without blurring their corners. In Pixel Studio, choose Add sprite region (or Edit sprite region), give the region a name and bounds, and tick Enable nine-slice borders. Then set Left border (px), Top border (px), Right border (px) and Bottom border (px). Borders measure inward from each region edge, and opposite borders must leave at least one center pixel. Save sprite region stores it.

With a nine-slice region selected, Preview nine-slice stretch opens Nine-slice stretch preview. Enter a preview width and height (whole pixels, up to 512 per side): the corners keep their size, edges and center stretch with nearest-neighbour pixels. The preview follows the animation and never changes the sprite.

Nine-slice stretch preview widening the sprout region to 120 by 64 pixels while corners keep their size

Nine-slice borders are saved in version 3 of the pixel format, which older Flipline versions cannot open. Sheet ZIPs include the region metadata, so a game engine can read the borders; the tilemap import uses flattened tiles without nine-slice data.

Ready to try it?

Launch Flipline →