Page 1 of 1

export every X frames to PNGs??

Posted: Mon Jun 17, 2013 11:35 pm
by mixedup
How can I export an animation (lets say it's 24 frames long) to PNG images (to be used in a game) however only exporting every X images? So say for example export every 2nd frame only, so I would have 12 PNG images exported.

Or is there a work around to get the same thing somehow?

Background - Using for a Corona game so don't really want heaps of images to bring into the sprite sheet. Current I export the frames then have to go in an manually delete every 2nd PNG image before importing to my SpriteHelper2.

Re: export every X frames to PNGs??

Posted: Tue Jun 18, 2013 2:52 am
by funksmaname
will setting the FPS to 12 not have the same effect?

Re: export every X frames to PNGs??

Posted: Tue Jun 18, 2013 3:02 am
by mixedup
ok, see what you mean (sorry I'm a newbie for sure)

So I would just have to "shrink" down the keyframes then to compensate right? That is if I change the frame rate to 6 frames per sec the animation slows down, i.e. for exiting animations I have. Is there an automated way to shrink/scale down the keyframe point on an Action timeline? Can't see to see one. May have to move them manually?

Re: export every X frames to PNGs??

Posted: Tue Jun 18, 2013 3:03 am
by sbtamu
When you render just click on the 'render at half frames rate.'

Re: export every X frames to PNGs??

Posted: Tue Jun 18, 2013 3:04 am
by funksmaname
it may get complicated if you have lots of layers - but if you select all frames you can alt drag the last one to compress them down - if you're going from 24 to 12, just make sure you're compressing exactly in half...

in future, if you want to export 12 fps - set your project to 12 :)

Re: export every X frames to PNGs??

Posted: Tue Jun 18, 2013 3:05 am
by funksmaname
sbtamu wrote:When you render just click on the 'render at half frames rate.'
oh yes! *duh*
:oops:

Re: export every X frames to PNGs??

Posted: Tue Jun 18, 2013 3:06 am
by mixedup
Ok got it. Thanks

Re: export every X frames to PNGs??

Posted: Tue Jun 18, 2013 3:29 am
by sbtamu
funksmaname wrote:
sbtamu wrote:When you render just click on the 'render at half frames rate.'
oh yes! *duh*
:oops:
LOL funks