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
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
SWF animation Unity GAF tutorial
http://kostiantyn-dvornik.blogspot.fi/2013/12/swf-animation-unity-gaf-tutorial.html