Extracting art from tilesets for game use
Friday, February 15, 2013 - 18:10
I'm working with construct 2 now and understand how to import individual tiles into the game when separated, but the whole issue is getting them separated in the first place. Can anyone help me with the easiest way to do this with photoshop cs2 or point me toward a tutorial? The google has been no help.
Just trying to separate individual sets of pixels from a set of them that are commonly posted on this site. I would think this is a common thing. There's gotta be tutorials for this.
People just used Tiled or some other tile map editor. I don't know how the Construct 2 engine works, but if it requires the tiles individually in separate images, that's kind of an issue with the engine.
HTML5 Canvas Old School RPG
I'd recommend ImageMagick if you need to do something like this. It's an extremely powerful tool, and if your tileset is, say, 32x32 pixel tiles, you could
$convert whatever-tileset.png -crop 32x32 generic-name
And bam! Within a few seconds, you'll have a bunch of 32x32 images all named generic-name-1.png, etc, etc.
I have graphics splitter that split and names the files with given rules. You can find it here: http://opengameart.org/forumtopic/graphic-splitter
Note that it requires openal.