Coder Social home page Coder Social logo

magicjar / retro-sprite-generator Goto Github PK

View Code? Open in Web Editor NEW
4.0 0.0 0.0 81 KB

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.

License: MIT License

JavaScript 100.00%
game photoshop-script photoshop spritesheet sprite-animation photoshop-javascript frame-animation

retro-sprite-generator's Introduction

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.

Retro Sprite Generator Sprite-sheet Export Retro Sprite Generator Files Export

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.

retro-sprite-generator's People

Contributors

magicjar avatar

Stargazers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.