Very Noob, quick question on PNG's???
Thursday, May 21, 2015 - 12:31
Hey there, this site is awesome!
I'm very new, programming my first game as a proof of concept and I'm going crazy trying to figure out how to open the PNG files with multiple frames packed into one large file.
I'm doing my first project in AS3 for fun, so anyway to get it into keyframes or multiple images would work with adobe.
Thanks for the help, I've looked everywhere online for this... I'm trying to use one of these: http://opengameart.org/content/animated-particle-effects-2
and I'm on a mac
T
The engine you choose usually has an option to use a sprite sheet instead of individual images. Then you simply tell it how many lines and rows the image has.
What engine are you using?
I'm not the most familiar with AS3 but this SpriteSheet Class looks like something that would be very helpful: http://www.bensilvis.com/as3-spritesheet-class-extracting-sprites/
That should allow you to extract specific sprites (the sub-images you were talking about) from the larger spritsheet (the png will multiple images in it)
--Medicine Storm
Thanks! that works and I ended up finding a sprite sheet unpacker online as well.
http://www.alferdspritesheetunpacker.forkandbeard.co.uk/forkandBeard/app...
Cheers,
T
Ooh, cool! Thanks for the link. ^^