Skip to content

Latest commit

 

History

History
88 lines (61 loc) · 3.04 KB

README_OLD.md

File metadata and controls

88 lines (61 loc) · 3.04 KB

Lazy Sprite Extractor

The Sprite Extractor Tool allows you to extract individual sprites from a larger sprite sheet.

Tool Features

  • Drag and Drop Sprite Sheet Anywhere on the editor
  • Automatically Extract Sprites on Drop Toggle
  • Drag and Drop Multiple selected sprite sheets for Automatic Extraction (Auto Extract on Drop must be on)
  • Draggable and Zoomable Sprite Sheet Display Image
  • Quick Extraction Features (Sprite sheet and GIF):

Additional Features:

  • Right Click and Extract Sprites
  • Choose where to Extract Sprites (current location of sprite sheet or any other folder)
  • Sprite sheet Setup

Spritesheet Setup

Make sure you have the Unity Sprite Editor package installed that comes with the Unity 2D Packages.

To setup your spritesheet correctly you need to apply some of the following changes.

Changes that are denoted with an asterisk (*) are required!

* Sprite Mode

  • Multiple

White Space Settings

  • To Allow White Space set Mesh Type to Full Rect.
  • To Remove White Space set Mesh Type to Tight.

Read/Write Mode

  • Enable Read/Write mode

It's ok if you forget to do this step the sprite extractor will automatically apply this setting to your spritesheet if it has not been enabled.

Slicing

  • Click Sprite Editor
  • Slice your Spritesheet Manually by selecting regions you wish to extract
  • Slice your Spritesheet Automatically by either
    • Using the Automatic option - Unity automatically finds individual sprites in the spritesheet (may not work as desired)
    • Using the Cell Size of the individual Sprites
    • Using the Number of Columns and Rows the Spritesheet is made up of
  • Apply any padding and offsets that you may require
  • Click Apply once you are done!

Once this is done, you can use either the Sprite Extractor Tool or Quick Extraction to Extract the Sprites.

Extraction (Using the Tool)

Open the Sprite Extractor from the menu bar Lazy-Jedi/2D Tools/Sprite Extractor

Then Select or Drag your Sprite Sheet onto the Tool and Click the Extract Button.

However, you can click the Auto Extract on Drop toggle to automatically extract your sprites.

Extraction (Without using the Tool)

  1. Find your Spritesheet
  2. Right Click on your Spritesheet
  3. Navigate to Create/2D/Spritesheet/
    1. Extract From Source
      1. Extracts all the Sliced Sprites
    2. Extract From Metadata
      1. Select and Extract one or more Images that was Sliced using the Unity Sprite Editor
  4. Choose your extraction method
  5. Done!

Sprite Extractor Tool now has an additional Tool for GIF Frame extraction.

To use the GIF extractor all you need to do is the following:

  1. Find your GIF
  2. Right Click on your GIF
  3. Navigate to Create/2D/Spritesheet/Extract GIF Frames/
  4. Choose your extraction method
  5. Done!

Its that simple. It is that easy. Happy Extracting ♥