25
2014
Flash SWF Anims To Unity (GAF Converter)
GAF Animation Converter
What is it: Flash Animation Converter (convert .swf animations to Unity)
Quick test with GAF+Unity, let’s see how it works
– Download & Import GAF Player from AssetStore (free) : http://u3d.as/content/catalyst-apps/gaf-animation-player/62G
– Lets get some sample flash animations from: http://www.glitchthegame.com/public-domain-game-art/ ( I took the “Overlays (Effects) SWFs (3MB)”, and 1 file from there “rainbow_superharvest.swf”)
– Then go to their website: http://www.gafmedia.com/converter/
– Drag & drop the swf to that conversion preview place
– Enter your email for more details.. hmm just sends the same preview link, how to get the actual file?
– I guess have to register..
– Ok, now can login and create new project
– Target frame work: Unity3D
– Target FPS: 31 (i’ll use the default value)
– There is option to select [ ] HD Textures, ill skip it for now
– Ok, now can upload animations, I’ll drag the “rainbow_superharvest.swf” here
– Click convert..only took 10sec or so
– Download GAF file
– Hmm its zip file.. (have to read docs..)
– Ok, unzip it, copy those 2 files to unity
– Start GAF Converter (Window / GAF Converter)
– Select GAF animation file (the text file from the zip)
– Click Process GAF
– Displayes some frame info and new options, I’ll just use defaults
– Game Window appears with the animation object
– Lets hit play!
– Looking nice! (except half of the rainbow is missing, it did display correctly in the conversion preview window **In the webplayer the rainbow is actually correct)
2nd Try
– Lets try bigger animation “rook_fly_up.swf”
– Upload for conversion
– Download GAF zip
– Open zip
– Drag files (using explorer) to unity assets folder
– Start GAF Converter (Window / GAF Converter)
– Click Process GAF
– Click Create GAF Animation
– Hit Play in unity!
– This one worked perfectly.
Is it free?
Seems to be free for limited amount of files (per month)
http://gafmedia.com/converter/?action=faq#faq_6_1
Webplayer of the results:
http://unitycoder.com/upload/demos/Unity_GAF_test/
Ideas/Feedback:
– Getting couple notices from script “Assets/GAF Animation Player/Editor/GAFEditor/GAFConverterToolUnity.cs(301,29): warning CS0618: `UnityEngine.Camera.mainCamera’ is obsolete: `use Camera.main instead.'”
– Game window undocks/popups everytime after conversion? (if it was open)
– Some kind of batch conversion tool might be nice..
– Anims could be converted as Unity builtin 2D animations? (then could use them as actual sprite objects?)
– Uploading animations, have to hit that upload div exactly, otherwise browser tries to open the local file instead.. (could have full window upload area)
– Downloading GAF files as invidual zips, not so fun, you cannot drag & drop the files to unity project window from zip directly (have to open explorer).. Rather could download all in one zip, or download those 2 files and can drag & drop them to unity from browser downloads list..
– Docs mention that .json file gets converted to .txt, that could be done in the web converter already (because they use AssetImporter to rename *.json files to *.txt, what if I want to have .json files on my project?)
—
Image2: web based swf2gaf converter

Related Posts
1 Comment + Add Comment
Leave a comment
Recent posts
- Favorites in PackageManager
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
Recent Comments
- on Mesh Exploder (sources)
- on Sprite Sheet Flip Book Shader
- on Sprite Sheet Flip Book Shader
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by













SWF animation Unity GAF tutorial
http://kostiantyn-dvornik.blogspot.fi/2013/12/swf-animation-unity-gaf-tutorial.html