making a spritesheet

General Moho topics.
Post Reply
gorgse
Posts: 2
Joined: Wed Aug 17, 2011 4:24 pm

making a spritesheet

Post by gorgse »

I am wondering if someone has figured out a way to export a sprite sheet from AS? I like AS's ability to use bones and such to animate, but I am unable to use the results as I need to find away to export them into png form with an alpha background so that I can use them as animations in a game. Any feedback is welcome.
User avatar
GCharb
Posts: 2280
Joined: Sun Oct 09, 2005 6:31 pm
Location: Montreal, Quebec, Canada
Contact:

Post by GCharb »

Normaly, if you put nothing in the background, it should be transparent if saved as png!
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 3:31 am
Location: New Zealand

Post by funksmaname »

when you say a 'sprite sheet' do you mean you want each frame to be layed out next to the last on a bit strip? the best way is proabably to export a PNG sequnce and then put them all together in photoshop - that way they will all be on an equally spaced canvas...
sbtamu
Posts: 1915
Joined: Mon Dec 14, 2009 8:05 pm
Location: Texas
Contact:

Post by sbtamu »

I would suggest you do this in Photo shop or GIMP. The way I do it is to buy or find free sprite pages and import them into a PS or GIMP. Usually, if its a good sprite page, you can just select the background and remove it...of course after you added an alpha channel. Make sure you double the size of the sheet before you edit it. Then crop around each sprite and save as a png. Import that to AS and use switch layers to animate it.

I did this with a free sprite sheet.

Image
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
neeters_guy
Posts: 1626
Joined: Mon Sep 14, 2009 11:33 am
Contact:

Post by neeters_guy »

There's a shareware program called SpriteBuilder that assembles individual sprites into a spritesheet. You can choose the arrangement of rows and columns. It hasn't been updated in years though and I'm not sure about png support. But it's a great time saver; a lot easier than manually pasting and shifting hundreds of exported images.
gorgse
Posts: 2
Joined: Wed Aug 17, 2011 4:24 pm

Post by gorgse »

Hey thanks for the feedback. I'm guessing I need the pro version to export to png. Does the pro version have a way to automate this to where it exports every frame, like into a psd? Or will I need to do each frame manually? Once I have them in psd format I have a gimp script that will convert them to a strip. The main thing I find attractive about this program is the ability to manipulate images with the bones and therefore animate them.
jonbo
Posts: 896
Joined: Wed Apr 07, 2010 6:53 pm

Post by jonbo »

Yes either png or psd format, you specify the frame range.
User avatar
J. Baker
Posts: 1116
Joined: Wed Mar 23, 2005 10:22 am
Location: USA
Contact:

Post by J. Baker »

I do it all the time in ASP. I just export my images (each frame) as png and then load them in my app Sprite Monkey (Mac Only) and create a sprite sheet. If your on windows there are plenty of sprite editors.
sbtamu
Posts: 1915
Joined: Mon Dec 14, 2009 8:05 pm
Location: Texas
Contact:

Post by sbtamu »

I use zsnes http://www.emulator-zone.com/doc.php/snes/zsnes.htmlto remove layers from games and then I use gimp to remove the background then I make rows and columns of the sprites in AS and save the sheet as an image.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
Post Reply