Search Unity

GAF Player - SWF playback library

Discussion in 'Assets and Asset Store' started by Kos-Dvornik, Dec 18, 2013.

  1. Kos-Dvornik

    Kos-Dvornik

    Joined:
    Jan 3, 2012
    Posts:
    224
  2. godsic

    godsic

    Joined:
    Jan 28, 2013
    Posts:
    5
    What is exactly supported from the Adobe Flash feature set?
     
  3. Kos-Dvornik

    Kos-Dvornik

    Joined:
    Jan 3, 2012
    Posts:
    224
    All common plus
    Blur and Masks on free version of Unity.
     
  4. Kos-Dvornik

    Kos-Dvornik

    Joined:
    Jan 3, 2012
    Posts:
    224
  5. yuriythebest

    yuriythebest

    Joined:
    Nov 21, 2009
    Posts:
    1,125
    this is awesome!!
     
  6. Kos-Dvornik

    Kos-Dvornik

    Joined:
    Jan 3, 2012
    Posts:
    224
    Thanks
     
  7. deadfire52

    deadfire52

    Joined:
    Jun 15, 2011
    Posts:
    101
    This is great, can you do a quick video on how you did the example video in flash and how it was imported into Unity?
     
  8. Kos-Dvornik

    Kos-Dvornik

    Joined:
    Jan 3, 2012
    Posts:
    224
    Here is youtube channel of GAF media with all tutorials on how to make such animations
    http://www.youtube.com/channel/UCgxbPowcBhSPWEAI8QauOJQ
     
  9. Kos-Dvornik

    Kos-Dvornik

    Joined:
    Jan 3, 2012
    Posts:
    224
  10. nOsmircK

    nOsmircK

    Joined:
    Mar 18, 2014
    Posts:
    8
    I'm trying to use this awesome plugin, it is really great, but I have a problem, whenever I try to make any of the animations as a prefab and load the prefab into another, or even, into the same scene, the plane componets lose their meshes... How can I fix this? It is useful but not entirely, I need to add one animation to my pause prefab but only works in the scene where I import the GAF. Please Help.
     
  11. denisbalon

    denisbalon

    Joined:
    Mar 26, 2014
    Posts:
    5
    Prefabs fixed! https://www.assetstore.unity3d.com/#/content/13593
     
  12. denisbalon

    denisbalon

    Joined:
    Mar 26, 2014
    Posts:
    5
  13. Gevara

    Gevara

    Joined:
    Apr 22, 2014
    Posts:
    1
    Hi! I am trying get access to GAFAnimationPlayer via the script. But seems unity wont recognise it. I am using javascript.
    So when i am try to access it like this:

    Code (csharp):
    1. private var player : GAFAnimationPlayer;
    I get this:
    The name 'GAFAnimationPlayer' does not denote a valid type ('not found').
    Can you help me? Where i wrong? :confused:
     
  14. Kos-Dvornik

    Kos-Dvornik

    Joined:
    Jan 3, 2012
    Posts:
    224
    Our plugin is written in c#. JavaScript code can't access c# code because of CLR compiler works. Of course there is a well chunk for everything:
    http://answers.unity3d.com/questions/252865/accessing-a-c-field-from-javascript.html
     
  15. JaneHafelman

    JaneHafelman

    Joined:
    Mar 8, 2014
    Posts:
    13
    Why not to animate inside Unity or convert to native Unity animation ? It will be much fater cuz Unity sprites optimize alpha rendering instead of direct planes rendering. Or at least you can animate inside 3ds max and then attach native sprites into animation.
     
  16. Kos-Dvornik

    Kos-Dvornik

    Joined:
    Jan 3, 2012
    Posts:
    224
    Cuz it much more easier for people who have experience in 2d animation
     
  17. Ross_S

    Ross_S

    Joined:
    Jul 10, 2012
    Posts:
    29
    Hi, can you tell me please how does GAF work. I mean, does it create a PNG sequence from the animation... or does it create and atlas with the components and animate them about...?
     
  18. Kos-Dvornik

    Kos-Dvornik

    Joined:
    Jan 3, 2012
    Posts:
    224
    Sorry for late response but
    "it create and atlas with the components and animate them" directly.