Naming Conventions and Asset Management from Photoshop via Ruby into Flash
Fri 27 Mar 2009
When I was creating assets for my Bread Bin game I made sure to name things usefully at the earliest possible stage.
So here's how my PSD looked:

This allowed me to use Photoshop's "Export Layers to Files..." script to create a folder of images in my (sprouts-based) Flash project's assets folder.


Note that when exporting to PNG files, the layers can be automatically trimmed, resulting in a folder like this:

The next task was to get rid of the leading numbers in the file names (I wanted total purity of file name :) ), a task for a bit of Ruby:
So here's how my PSD looked:

This allowed me to use Photoshop's "Export Layers to Files..." script to create a folder of images in my (sprouts-based) Flash project's assets folder.


Note that when exporting to PNG files, the layers can be automatically trimmed, resulting in a folder like this:

The next task was to get rid of the leading numbers in the file names (I wanted total purity of file name :) ), a task for a bit of Ruby:

0 comments on "Naming Conventions and Asset Management from Photoshop via Ruby into Flash"