Tuesday, 17 December 2013

SWF animation Unity GAF tutorial




"2D looks cooler"
Most people
"For Ukraine, against Russian intervention, for people who fight for freedom. I cant be sure that I can post all my resources and tutorials in future if I will stay alive. I'll try to post everything that I ever made with Unity."




Hello to everyone. If you ever work in Unity on 2D applications ( mostly games) you have come to a
simple questions. How to create an animation in 2D ? In 3D there is well known technology - use bones in 3DS max with hard rig or something smooth. Of course you can do the same with 2D sprites, but 3D animators not always like this way. Obvious solution is to use movie textures. But lets be honest they looks not so smooth and took a lot of memory, and have no control. We need something like Flash SWF to playback. So our team present you brand new way of playback SWF animation - Unity GAF Player. It is an extension that convert and play GAF ( Generic Animation Format ) inside Unity. GAF is very cool thing. You can play GAF files mostly on all major platforms. So you can reuse your animation everywhere.

http://gafmedia.com/converter/

GAF can convert from SWF to JSON and atlases. Then inside Unity you can play this files. It is very convenient way for 2D designers. You can buy Unity GAF Player here:

http://u3d.as/content/catalyst-apps/gaf-flash-to-unity/62G
In a few clicks you can create your first 2D animation inside Unity. Unity GAF player is completely designed in Unity friendly way:



GAF use custom assets that store whole animation. It works just like Unity animation. GAF works with FREE version of Unity since 3.5 and supports masks, blur. It was hard achievement so we have some limitation like whole screen view, static position of the scene camera, please see the video.
Frequently asked questions ( FAQ ):

1. Can I use it with 2D toolkit ?
Currently no. We have version that works with NGUI.

2. Can I interact with animation ?
Yes you can. You can add colliders to elements, you can remove elements from animation. You can do what ever you want, because it is a planes with alpha.

3. Can I play huge SWF movie ?
Yes you can. GAF keep memory storing animation and elements data

4. Can I play it on iPad ?
Yes. You can play GAF on any platform that Unity supports. Even on Wee. :)

5. My animation plays wrong.
Please check camera settings, 1024x768, Maximize on Play.