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.
- 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:
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.
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.
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