Giter Site home page Giter Site logo

spriteplane's Introduction

Welcome to SpritePlane v1.0!

About

SpritePlane is a sprite sheet generator script for Adobe Photoshop that relieves you from many monotonous and time-consuming tasks, such as manually dragging and aligning sprite frames, and makes the generation of sprite sheets a matter of seconds.

So basically what it does is it converts Sprites to Sprite sheets.

I'm an aspiring video game artist, and while working on my latest project me and my team felt the need of an automated solution to generating sprite sheets. Most of the scripts we found online were either stand-alone, with external library dependencies, or lacked the features we were looking for. And so I've decided to develop a script for Photoshop, the tool we're using in our development, and then release it to the public. I sincerely hope that our script will aid you in your development, and improve your sprite workflow.

Questions? Issues? Requests? Found a bug? Just thanks? Hit me up right here in Issues, by email, or on Polycount.

Tested on:

  • Adobe Photoshop CS5 x86-32
  • Adobe Photoshop CS5 x86-64

Features

  • Fast, simple workflow via the automation of repetetive tasks
  • Two layout planning modes: automatic and manual
  • Support for direct Photoshop transparency

Installation

  1. Close Photoshop.
  2. Copy the SpritePlane.jsx file to:
    • Windows: C:\Program Files\Adobe\your_photoshop_version\Presets\Scripts
    • Mac: Applications > Your Photoshop Version > Presets > Scripts
  3. Open Photoshop.
  4. The script should now be accessible from the File > Scripts menu.

Usage

  1. Open your sprite in Photoshop (imported animated gifs work perfectly and without any tweaks).
  2. The structure of your document must follow several guidelines:
    • There must be no background layer or locked layers.
    • The layers must be arranged in a way that the first frame of your sprite is on Layer 1, the second โ€” on Layer 2 and so on.
    • Layers with applied styles, masks or adjustments must be rasterized or converted to smart objects (rasterization works best).
  3. Run the script from the File > Scripts menu or from the actual SpritePlane.jsx file.
  4. Follow the helpful dialogues to generate the sprite sheet.

FAQ

  • Nothing here. Yet...

Future plans

  • The reverse (sprite sheet to animated sprite) functionality
  • Less restrictions, more exceptions
  • Alpha channel (indirect transparency) support
  • Proper GUI, with a more user-friendly look
  • More poka-yoke
  • Even more useful features, like instant saving, loading multiple images etc.
  • Cleaner code with more comments
  • A web interface, maybe?

Version history

VersionDateNotes
1.027.04.2012Initial release.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

spriteplane's People

Contributors

mediochrea 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.