Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Released] [Free] GAF: Flash to Unity - Playback of any 2D animation created in the Adobe Flash Pro

Discussion in 'Assets and Asset Store' started by GAFmedia, Aug 4, 2014.

  1. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    GAF stands for Generic Animation Format. GAF Converter enables the conversion of 2D animations from an Adobe Flash SWF file into .gaf format. GAF: Flash to Unity plug-in ensures that gaf animations are seamlessly integrated into Unity. It comes with full Unity editor integration and sources.

    GAF: Flash to Unity on the Asset Store for FREE
    GAF Pro: Flash to Unity on the Asset Store to get more functionality like integration with Unity animator, resource management and more!
    Official GAF Media website with FAQs, Forum and contact us form

    Pay attention:
    To unlock more GAF Converter settings you need to get Studio or Enterprise license.

    Important:
    Before importing this version, please delete the previous one in your project!
    Also, you will need to recreate (NOT RECONVERT) your animation game objects.
    This (4.0) version doesn't support WinPhone. We are working to support it in the future versions.

    Features:
    • GAF data import
    • Extended animation cutomization
    • Flash dynamic filters
    • Stencil masks
    • Custom animation color
    • And more

    To convert your animations:
    Video tutorial

    Convert your animation directly from Unity with no additional applications to install!
    Just place your SWF files into your project’s Asset folder and the converter window with the animations list will appear.
    You can as well use drag and drop to upload SWF files into the Unity Converter window.

    To open the Unity Converter window click the Converter item in the GAF menu.

    Or you can download GAF Standalone Converter application (view GAF quick start guide here). Also, here is a video with GAF Standalone Converter.

    Here is Webplayer demo that contains SWF animations converted with GAF


    GAF: Flash to Unity in action:


    Step #1:


    Step #2:


    GAF Movie Clip properties in Unity:

    • Play automatically
    Should the animation be played automatically when starting the scene?
    (Defines whether the animation should be played automatically when starting the scene)​
    • Ignore time scale
    Animation will be played even if timescale == 0.​
    • Perfect timing (possible frame skip)
    Additional precision for proper animation duration.​
    • Play in background
    Animation will still be playing even if the application loses focus (for example minimize)​
    • Decompose Flash transform
    If turned on, animation parts will change their postiton\rotation\scale by using unity transform. If turned off, animation parts will change their postiton\rotation\scale by using geometry changing​
    • Has individual material
    Ability to set indivudial material to your animation​
    • Animation color
    Abitily to change animation color​
    • Animation color offset
    Abitily to change animation color offset​
    • Stencil value
    Possibility to render animation only if value in stencil buffer is equal to this value​
    • Wrap mode
    loop - the animation will loop when it finishes playing.
    once - the animation will be stopped when it finishes playing.​
    • Target FPS
    Target FPS of your animation.​
    • Sorting layer
    The layer used to define this animation’s overlay priority during rendering.​
    • Sorting layer order
    The overlay priority of this animation within its layer. Lower numbers are rendered first and subsequent numbers overlay those below.​
    • Pixels per unit
    Ability to scale animation by changing the size of the mesh.​
    • Texture atlas scale
    Ability to change animation’s scale if you convert your animation with at least two scales. [float value]​
    • Content scale factor (CSF)
    Ability to use bigger textures in the same mesh if you convert your animation with two scale factors (for example 1 and 2 for non retina and retina). [integer value]​
    • Pivot offset X
    Animation pivot point offset X​
    • Pivot offset Y
    Animation pivot point offset Y​
    • Z Layer scale
    Multiplier for distance between subobjects​
    • Sequence
    You can use frame labels to define different parts of animations (in your *.fla). Than you can select corresponding sequence to play it.​


    Requirements:
    Unity 4.6.3 or higher
    OS X or Windows® XP/7/8
    Adobe® Flash® CS3 (9.0) or above (only for animations creation\correction)
    Adobe® Air® runtime (only for GAF Standalone Converter)

    Current version: 4.0
     
    Last edited: Apr 1, 2015
    V1nsaN likes this.
  2. jimmythepage

    jimmythepage

    Joined:
    Aug 7, 2014
    Posts:
    1
    Gaf is a fantastic tool.
    Simple, powerful and full of many useful option.
    Plus the team is always available and operative, they update with new features very very often.
    Really advised.
    Source: an happy customer that use Gaf for many months.
     
    GAFmedia likes this.
  3. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    GAF: Flash to Unity plug-in became even better. Version 3.7.1 is released!

    Convert your animation directly from Unity with no additional applications to install!
    Just place your SWF files into your project’s Asset folder and the converter window with the animations list will appear.


    You can as well use drag and drop to upload SWF files into the Converter window. To open the Converter window click the Converter item in the GAF menu.

    GAF Unity Converter contains all the settings of the GAF Standalone Converter! And even more than that! When the conversion is done you can create the prefabs of all the converted animations (CREATE PREFABS button) or add them to the scene (ADD TO SCENE button):

    You are welcome with any questions.
    Feel free to share your feedback.

    GAF Team
     
    Last edited: Mar 31, 2015
    V1nsaN likes this.
  4. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    Sing up at Gafmedia website through this link and get 500 conversion for free!
     
  5. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    New version of GAF: Flash to Unity is available on the Unity Asset Store.



    v3.8:
    - Possibility to bake all animation parts into a single mesh.
    - Additional optimize for dynamic batching.

    and bugs fixes.
     
    Last edited: Sep 9, 2014
  6. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    GAF Flash to Unity Plug-in Update!

    v 3.9:
    - Fixed rendering on mobile devices.
    - Improved interface of movie clip creation.
    - Unity converter interface improvement.
    - Bugs fixes.
     
    Last edited: Sep 24, 2014
  7. MannyRivera

    MannyRivera

    Joined:
    Oct 13, 2014
    Posts:
    1
    Hey guys. I am very very interested in this tool, it seems fantastic. While I have gotten used to sprite animating in unity, I am a Flash/Classical animator first and foremost. Examples found here. Anyway, I was wondering about the limitations when it comes to masks in flash. Do I have it right in thinking if I mask a symbol that has animation inside, on its timeline, GAF won't recognize said animation? If so, is this the only limitation when dealing with masking? Also I'm using CS6 fyi.
    Thanks for any and all help.
     
  8. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    Hello,
    Thank you for using GAF :)

    For now we have two limitations with masks:
    - Animated masks (Movie Clips with an animation inside used as a Mask)
    - Masks under masks
    Also, you can read about all GAF limitations following this link.

    Our team is trying to eliminate as much limitations as possible and create a really universal tool with minimal amount of limitations.
    In the future versions of GAF we will support conversion with nesting, so most likely we'll solve the limitation with animated masks.

    Thanks.
     
  9. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    GAF:Flash to Unity Plug-in updated!

    Version 3.10 New Features:

    - Final movie clip objects system.
    - New converter settings.
    - Converter improvements.
    - Shader fixes.
    - Bugs fixes.
     
  10. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    Hello Everyone!

    We have been working hard and we are ready to share good news!
    We have improved the algorithm of creating atlases. Now they are more optimized than ever!


    Just use Unity Converter or Standalone Converter v3.15 to try it right now.
     
    Last edited: Nov 7, 2014
  11. Cypras

    Cypras

    Joined:
    Oct 25, 2013
    Posts:
    64
    Truly excellent! Keep up the great work, we appreciate it.
     
  12. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    Hello! We have two big announcements:

    1. GAF: Flash to Unity Plug-in updated!
    Version 3.11 New Features:
    • Possibility to change animation color.
    • Stencil masks.
    • Removed necessity to set ".NET 2.0" setting for mobile platforms.
    • Fixed compilation issues with Windows Phone target platform.
    • Shader fixes.
    • Bugs fixes.

    The other update we want to show is a pro version of the plug-in, we worked on really hard last year!
    2. GAF Pro: Flash to Unity plug-in from is now available on the Asset Store.
    • Integration with Unity3d animator
    • Editor animation playback
    • And much more!
    To read more about Pro version click here.
    To download GAF Pro: Flash to Unity visit its Asset Store page
     
  13. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    Hello!

    It's been almost a year since the launch of the GAF Plug-in. We would like to thank all our GAF users who have been part of the GAF Unity community and contributed to its development.

    Thanks to your feedback we were able to improve performance and usability of GAF: Flash to Unity plug-in. The latest big announcement, GAF Pro: Flash to Unity, was made a few days ago (main feature : Integration with Unity3d animator and resources management) and we are glad to show you the roadmap of the plug-in evolution.

     
  14. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    Hello guys!

    We are trying really hard to make GAF the most functional and well-performing solution for exporting Adobe Flash animations to Unity3d available. You ideas, suggestions, and questions help us to improve GAF even faster and they are all very much appreciated.

    Post them right here and we’ll be glad to join the discussion.

    Also, if you like what we are doing and you believe in GAF, review the Free version on the Asset Store (or the Pro version). It is very important for us to know your feedback.
     
  15. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    GAF: Flash to Unity Plug-in updated!

    Version 3.12 :

    1) Bugs fixes.
    2) Converter improvements.
     
  16. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    Hello!
    Don't miss the opportunity to try GAF Studio for free for one month! Follow by this link http://gafmedia.com/get_studio_trial
    and fill in the form. Please note: Free studio license trial will be available only for developers, put the real info!
    To get more information about Studio license please visit this page: http://gafmedia.com/pricing
     
    Last edited: Feb 25, 2015
  17. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    Hi there!

    Fresh update for GAF Pro: Flash to Unity!

    Version 4.0:
    1) Nesting support.
    2) Unity 5 support.
    3) Unity 5 WebGL support.
    4) iOS x64 support.
    5) Flash dynamic filters support.
    6) New Unity GAF Converter settings (conversion mode, debug & optimization).
    7) XML documentation for methods (from GAF assembly).
    8) Stencil buffer correct usage.
    9) Bugs fixes.

    Hope you will love it! Also, we are working now on Windows Phone support, so watch for our updates.

    Important:
    Before importing this version, please delete the previous one in your project!
    Also, you will need to recreate (NOT RECONVERT) your animation game objects.
    This (4.0) version doesn't support WinPhone. We are working to support it in the future versions.

    Thanks.
     
    Last edited: Apr 1, 2015
  18. asotelo94

    asotelo94

    Joined:
    Jan 26, 2013
    Posts:
    14
    It is missing a Util class or namespace, gives multiple errors. Missing Data, GAFObjectStateData, Atlas, Atlas element, etc. 37 errors when imported the update.
     
  19. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    Hello,

    You need to delete the previous version in your project. After that you can install the 4.0 version.
    Also, you will need to recreate (NOT RECONVERT) your animation game objects.
    This is because of nesting support.

    Thanks.
     
  20. AlantianLan

    AlantianLan

    Joined:
    Jun 2, 2015
    Posts:
    1
    hi, can u help me.. for the project am doing I wanna change the "Target FPS" Could you tell me which script has the default Target FPS of 30 in it ? Am trying to pause and fastforward and rewind the flash clip. Is it possible or not possible ??
     
    Last edited: Jun 2, 2015
  21. Alfred1080

    Alfred1080

    Joined:
    Jan 22, 2014
    Posts:
    2
    Hi,

    GAFMovieClip class has "settings" property. "Settings" has "targetFPS" property, which you can change for controlling FPS of your movie clip.

    Thanks.
     
  22. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    New Update! GAF: Flash to Unity v5.1
    (Free and Pro versions)!

    1) A lot of optimizations (up to x3 FPS improvement)
    2) States caching (on asset and movieclip level) will increase your FPS but increase RAM consumption too (be careful with this option)
    3) New Unity GAF Converter features (Extract Sounds, Add custom images into a Texture Atlas, Allow region rotation). More info can be found here:http://gafmedia.com/documentation/how-to/working-with-sounds and here:http://gafmedia.com/documentation/how-to/adding-custom-images-into-a-texture-atlas
    4) Dispatch events\triggers support
    5) Fixed issue with Unity3d v5.x support
    6) A lot of fixes for Nesting mode
    7) New sections in GAF dropdown menu (Documentation, Contact us)
    8) WinPhone support
    9) A lot of other important fixes


    Important:
    Before importing this version, please delete the previous one in your project!
    Also, you will need to recreate (NOT RECONVERT) your animation game objects. Our code optimizations make this necessary.

    Hope you will love it because this version is really fast and furious!
     
  23. GAFmedia

    GAFmedia

    Joined:
    Nov 7, 2013
    Posts:
    31
    New Update! GAF: Flash to Unity v5.2.6
    (Free and Pro versions)!

    1) Memory leaks fixes;
    2) Sounds feature fixes;
    3) Name parts fixes (instant names);
    4) Fix of strange motion in GAF animation when scaling textures in nesting mode;
    5) Now to unload asset's textures resources you can use the method dropLoadedTexturesReferences() from GAFAnimationAsset class;
    6) Now to call "create prefab", "add to scene" or "prefab+instance" from code you can use proper methods from GAFAnimationAssetInternalEditor class, that located in the namespace GAFEditorInternal.Assets. Namespace GAFEditorInternal is available only in the editor;
    7) Correct animation batching fix for unity 5.5.x;
    8) "Contat Us" changed to "Contact us" (typo fix);
    9) New "Helpers" category in the GAF menu contains script to rebuild resources for all GAF animations on the scene;
    10) Other bug fixes and optimizations


    Important:
    If you are having some issues - before importing this version, please delete the previous one in your project!
    Maybe you will need to recreate (NOT RECONVERT) your animation game objects. But first try to use "GAF" --> "Helpers" menu and "Rebuild resources in scene".

    Thanks!
     
  24. imagicalFantasy

    imagicalFantasy

    Joined:
    Jan 9, 2017
    Posts:
    1
    Is plugin is completely dead now ? No support, no Help, their forum is broken, their contact form make a deprecated error, and the worst, the plugin itself can't convert anymore swf files...

    I got this :

    InvalidOperationException: Collection was modified; enumeration operation may not execute.
    System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) (at <437ba245d8404784b9fbab9b439ac908>:0)
    System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) (at <437ba245d8404784b9fbab9b439ac908>:0)
    GAFEditorInternal.Utils.GAFTaskManager.update () (at <0bf3b0bf642240cb9493a22df8ab9106>:0)
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
    System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
    System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
    System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
    System.Delegate.DynamicInvoke (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
    UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <3e481e8f36eb4d4c8d94b9ba6b2be438>:0)


    and 435988348953498358945x this second error :
    InvalidOperationException: Queue empty.
    System.Collections.Generic.Queue`1[T].ThrowForEmptyQueue () (at <ae22a4e8f83c41d69684ae7f557133d9>:0)
    System.Collections.Generic.Queue`1[T].Peek () (at <ae22a4e8f83c41d69684ae7f557133d9>:0)
    GAFEditorInternal.Utils.GAFTaskQueue.update (System.Single _Delta) (at <0bf3b0bf642240cb9493a22df8ab9106>:0)
    GAFEditorInternal.Utils.GAFTaskManager+<>c.<update>b__7_0 (GAFEditorInternal.Utils.GAFTaskQueue queue) (at <0bf3b0bf642240cb9493a22df8ab9106>:0)
    System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) (at <437ba245d8404784b9fbab9b439ac908>:0)
    GAFEditorInternal.Utils.GAFTaskManager.update () (at <0bf3b0bf642240cb9493a22df8ab9106>:0)
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
    System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
    System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
    System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
    System.Delegate.DynamicInvoke (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
    UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <3e481e8f36eb4d4c8d94b9ba6b2be438>:0)


    I paid for pro version of the plugin, it's sad... you literaly steal my money
     
  25. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    565
    Whoa. Did I just see an update? :D
     
  26. matzjj

    matzjj

    Joined:
    Mar 6, 2018
    Posts:
    9
    Great Plugin- Thanks for the update. Just wondering if anyone knows if you can switch parts of an animation through code. Like swapping a gun.