C++ CMake C C# Python Lua Other
Latest commit 0d5ee80 Jul 10, 2015 @SmartCat SmartCat Merge pull request #63 from CatalystApps/gaf_5_develop
* fixed rgb color due to format

Generic Animation Format


Library for playing Adobe Flash animations in cocos2d-x through GAF.

SWF => GAF => cocos2d-x => [iOS, Android, WP8, Windows, Mac]


GAF stands for Generic Animation Format. GAF is designed to store Flash animations in an open cross platform format for further playback in a multitude of game development frameworks and devices. GAF enables artists and animators to use Flash CS for creating complex animations and seamlessly use them with various game development frameworks.

Supported Platforms

  • Windows - Cocos2d-x v3.3, v3.4
  • Mac OS X - Cocos2d-x v3.3, v3.4
  • iOS - Cocos2d-x v3.3, v3.4
  • Android - Cocos2d-x v3.3, v3.4
  • Windows Phone 8 - Cocos2d-x v3.3, v3.4
  • Upcoming Linux project


GAF Converter analyzes the bytecode of each SWF file and creates a GAF file which provides the following benefits:

Smaller size.

The traditional animation conversion process generates an image for each frame of the animation thus greatly increasing overall file size. However the GAF animation file stores only unique parts of the animation in a texture atlas and a highly compressed binary config file describing object positions and transformations.

Art requirements.

GAF supports 99% of what can be created in Flash so your artists and animators don’t need any special planning or preparations of their SWF files before converting.

High performance.

The GAF conversion process involves numerous optimizations to increase playback performance across all platforms and frameworks. Performance of GAF runtimes is much better than that of the Flash player.


For this folder: Just copy (or create symlink) to cocos2d-x/external/ Compile Run