https://github.com/magicjar/retro-sprite-generator
Retro Sprite Generator is a Photoshop script to export your frame animation into sprite-sheet with single click. It can also export your photoshop layers or groups into individual files.
https://github.com/magicjar/retro-sprite-generator
frame-animation game photoshop photoshop-javascript photoshop-script sprite-animation spritesheet
Last synced: 20 days ago
JSON representation
Retro Sprite Generator is a Photoshop script to export your frame animation into sprite-sheet with single click. It can also export your photoshop layers or groups into individual files.
- Host: GitHub
- URL: https://github.com/magicjar/retro-sprite-generator
- Owner: magicjar
- License: mit
- Created: 2019-02-05T21:24:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-02T12:29:14.000Z (about 1 year ago)
- Last Synced: 2025-05-08T01:47:57.389Z (12 months ago)
- Topics: frame-animation, game, photoshop, photoshop-javascript, photoshop-script, sprite-animation, spritesheet
- Language: JavaScript
- Homepage:
- Size: 81.1 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Retro Sprite Generator
**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.
## Feature
* 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
## Installation
1. Close Photoshop.
2. 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
```
3. Done.
## Usage
1. Open your PSD.
- You need to have at least 1 frame animation for sprite-sheet export.
2. Run the script from **File > Export > Retro Sprite Generator**.
3. Tweak the settings.
- Open "Spritesheet Export" tab for export to sprite-sheet.
- Open "Files Export" tab for export layers or groups to file.
4. Click Export.
## Tested on
* 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.
## Found a Bug?
Please open a github issue.
## License
Copyright (c) 2021 - Fajar Setya Budi.
Code license is MIT.