Retro Sprite Generator is a Photoshop script to export Frame Animation into sprite-sheet. It automaticaly transform all frame into one sprite-sheet file and save it as PNG. It also support image Offset & Spacing which are used by Unity Game Engine.
Starting from version 2.0.0, you can export layers or groups to individual files.
- Export frame animation into sprite-sheet (png only)
- Export Layers to Files (png and jpeg) (recursive)
- Export Groups to Files (png and jpeg) (non-recursive)
- Export specific frame
- Set column and row
- Scale and resample
- Offset and spacing
- Close Photoshop.
- Copy Retro Sprite Generator.jsx to Photoshop scripts directory.
- Windows
C:\Program Files\Adobe\Photoshop CC 20xx\Presets\Scripts
- Mac
Applications > Adobe Photoshop CC 20xx > Presets > Scripts
- Done.
- Open your PSD.
- You need to have at least 1 frame animation for sprite-sheet export.
- Run the script from File > Export > Retro Sprite Generator.
- Tweak the settings.
- Open "Spritesheet Export" tab for export to sprite-sheet.
- Open "Files Export" tab for export layers or groups to file.
- Click Export.
- Adobe Photoshop CC 2019 64bit (Windows)
- Adobe Photoshop CC 2021 64bit (Windows)
You have tested on other version and OS? You can edit this README and send me pull request.
Please open a github issue.
Copyright (c) 2021 - Fajar Setya Budi.
Code license is MIT.