Sign in to follow this  
cyric74

Sprite Sheet Creator?

Recommended Posts

cyric74    100
I'm using Poser to create series of images for sprite animation, but each frame is dumped into a seperate file. Is there a program out there that will combine these PNGs with their transparency data, or a method that I could use to combine the PNGs into a single file? Thanks cyric

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
Quote:
Original post by cyric74
I'm using Poser to create series of images for sprite animation, but each frame is dumped into a seperate file. Is there a program out there that will combine these PNGs with their transparency data, or a method that I could use to combine the PNGs into a single file?

Thanks
cyric


You can try Reiner's Tileset Maker.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
Quote:
Original post by Anonymous Poster
Quote:
Original post by cyric74
I'm using Poser to create series of images for sprite animation, but each frame is dumped into a seperate file. Is there a program out there that will combine these PNGs with their transparency data, or a method that I could use to combine the PNGs into a single file?

Thanks
cyric


You can try Reiner's Tileset Maker.


Oops my link didn't show up. Here is the URL http://www.reinerstileset.4players.de:1059/englisch.htm

Share this post


Link to post
Share on other sites
cyric74    100
Tried both the tileset maker and ImageMagick. ImageMagick's 'montage' and Tileset Maker didn't preserve transparency, and Tileset Maker also had trouble with the .PNG format.

Each of my project's characters requires around 250 frames of animated movement, so it isn't realistic to do it by hand (Which I've been doing in Photoshop, but took over an hour for a single figure, and was mind-numbing work).

I can't believe I'm the only person that has needed a fast way to combine a series of PNGs. Will c#'s 'Graphics' or 'Image' classes allow for taking seperate images and putting them together on a single surface, then saving it?

Share this post


Link to post
Share on other sites
Will F    1069
Have you considered looking for a photoshop plugin that might do it? Check a photoshop plug in repository to see if you can find one. Otherwise it shouldn't be too hard to write one (well at least it wouldn't be hard to write on for the GIMP, but I assume photoshop could do the job).

Share this post


Link to post
Share on other sites
Avalon    133
I'd just write a console app to do it. That will also let you add custom features you can make use of, such as forming sets of a particular size, forming powof2 sets if possible, autonaming the sets, keeping a log of set and element size etc. Assuming your needs are as basic as your post suggests, you should be able to pound one out in a day, even if you're unfamiliar with the PNG spec.

Share this post


Link to post
Share on other sites
cyric74    100
Took another look at ImageMagick and it *does* work the way I need it to--their system for setting transparent backgrounds is just very counter-intuitive (you have to use the word 'transparent' in the background color setting instead of RGB numbers like all other colors are.. huh?).

For anyone curious:

montage -background "transparent" -depth 8 -type TrueColorMatte ??.png -geometry 120x120 -tile 8x8 -matte -transparent "transparent" -type TrueColorMatte -depth 8 concat.png

This will take any .pngs in the directory in sequential order (01.png, 02.png, 03.png etc), and send them into a single file called concat.png. I have it set to make each cell 120x120 pixels, and at an 8x8 frame size across the final image. It will store the transparent data from the originals, and it appears to lose no alpha or color information. Very useful and saves *lots* of time when making sprite animation sheets!

Share this post


Link to post
Share on other sites
opprobriumark    122
I use GraphicsGale to export spritesheets in bitmap formats. I know it does export .png's as well. It's simple, allows alpha transparency and has a free version.

It can be found here: http://www.humanbalance.net/gale/us/


Mark

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
There is a unix tool called montage that can composite many images into one... I just checked the man page and it seems to be part of imagemagick :/. Anyway before someone told me about montage I had written my own tool in java. It handles png, but I don't think it does the transparency. http://toktok.sscentral.com/dump/ssm-beta1.zip

Share this post


Link to post
Share on other sites
fermmm    99
You can make an animation using Flash and convert it to sprite sheet with this tool:

http://fermmm.wordpress.com/2011/02/04/swf-spritesheet-creator/

Share this post


Link to post
Share on other sites
NicoG    172
I use this tool:
[url="http://spritesheetpacker.codeplex.com/"]http://spritesheetpacker.codeplex.com/[/url]

It is really nifty. It creates the sprite sheet along with a .txt file where you can read the subimages name and positions/size very easy.
Together with Resources that can be named (with a string) you can create a really nice pipeline.

Here some link to my code:
[url="http://code.google.com/p/nightlighttv/source/browse/NightLight/trunk/NightLightDLL/NLSpriteSheet.cpp"]http://code.google.com/p/nightlighttv/source/browse/NightLight/trunk/NightLightDLL/NLSpriteSheet.cpp[/url]

Share this post


Link to post
Share on other sites
Bronco78th    136
Hey,

My friend and myself had this prob and so created a small program to create custom tile/sprite sheets from images rendered from 3d software (in our case 3dsmax). Takes PNG and keeps transparency as nessary...also supports .jpg.

Its still got a couple of missing features and we haven't quite finished it, he's been busy and I did the design/interface stuff which has been done so its on the back burner but most of missing features are just to improve user friendliness. But the Core (get the job done) features are implimented and as far as we know work.

If you like I could pass a copy along to you via email to try out if ya like.....call it a beta.....and we can find out for sure if it does work and is useful to people :)

EDIT:- ill be kind an extend that over to anyone else who wants to try it out.....

Regards,

John

Share this post


Link to post
Share on other sites
bennyX    100
I created a [url="http://texurepacker.com/sprite-sheet-maker"][url="http://texturepacker.com/sprite-sheet-maker"]sprite sheet maker[/url][/url] called [url="http://texturepacker.com"]TexturePacker[/url] is exactly doing this and even more. It is free when you are happy with the basic features.
It also has the ability to optimize sprite sheets for different pixel formats and runs on Windows and MacOS.

Share this post


Link to post
Share on other sites
bateristt    100
Hi,

You can use [url="http://www.mobinodo.com/spritemaster"]Sprite Master[/url] to generate sprite sheets and export to famous game engines and css files. You can take a look at web page for more details and also you can watch the [url="http://www.youtube.com/watch?v=XyWjqzrit2Q"]YouTube video[/url]

[img]http://www.mobinodo.com/spritemaster/img/forum/Sprite_Master_Features.png[/img]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this