Qznec / Cocos2dxGAFPlayer

Cocos2dxGAFPlayer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generic Animation Format

Abstract

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

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

Introduction

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

Benefits

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.

HOWTO

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

About

Cocos2dxGAFPlayer


Languages

Language:C++ 65.6%Language:CMake 12.5%Language:C 9.2%Language:C# 3.9%Language:Python 3.6%Language:Lua 2.1%Language:Objective-C++ 1.2%Language:JavaScript 0.7%Language:GLSL 0.4%Language:Makefile 0.3%Language:Objective-C 0.2%Language:Java 0.2%