Return to Cocos2dx Playback Library

GAFCocos2D-JS not work in Cocos2D- JS 3.10

Questions related to Cocos2dx playback library should be asked here.

GAFCocos2D-JS not work in Cocos2D- JS 3.10

Postby Lê Huy Hùng » March 24th, 2016, 9:58 pm

I tried run a example of GAF on https://github.com/CatalystApps/GAFCocos2d-js_Example but not success.
Do you provide me a way to work GAFCocos2D-JS with lastest version of Cocos2D-JS (3.10).

It is my output
Cocos2d-JS v3.10
GAF. Non implemented tag detected.
GAF format error:
Error: GAF format error
at gaf.DataReader.Boolean (http://localhost:63342/TestProject6/fra ... r.js:37:15)
at http://localhost:63342/TestProject6/fra ... .js:161:61
at http://localhost:63342/TestProject6/fra ... .js:224:35
at Function.gaf.Tag.DefineTextFields.doParse (http://localhost:63342/TestProject6/fra ... .js:214:24)
at Function.gaf.Tag.base.parse (http://localhost:63342/TestProject6/fra ... s.js:62:23)
at Object.gaf.ReadSingleTag (http://localhost:63342/TestProject6/fra ... s.js:12:22)
at Object.gaf.ReadTags (http://localhost:63342/TestProject6/fra ... s.js:21:27)
at Function.gaf.Tag.DefineTimeline.doParse (http://localhost:63342/TestProject6/fra ... .js:327:31)
at Function.gaf.Tag.base.parse (http://localhost:63342/TestProject6/fra ... s.js:62:23)
at Object.gaf.ReadSingleTag (http://localhost:63342/TestProject6/fra ... s.js:12:22)
Uncaught TypeError: Cannot read property 'call' of undefined
gaf._AssetPreload.Tag
(anonymous function)
gaf._AssetPreload.Tags
gaf._AssetPreload.TimeLine
gaf._AssetPreload.Tag
(anonymous function)
gaf._AssetPreload.Tags
gaf.Asset.cc.Class.extend._init
(anonymous function)
(anonymous function)
(anonymous function)
(anonymous function)
(anonymous function)
oReq.onload
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: GAFCocos2D-JS not work in Cocos2D- JS 3.10

Postby Dmitry Bushtets » March 24th, 2016, 10:08 pm

Hi!
Could you provide gaf+png of your animation?
User avatar
Dmitry Bushtets
 
Posts: 86
Joined: August 11th, 2014, 1:31 am

Re: GAFCocos2D-JS not work in Cocos2D- JS 3.10

Postby Lê Huy Hùng » March 24th, 2016, 11:39 pm

Hi, I run custom_events example, I don't change anything in your example :D

https://github.com/CatalystApps/GAFCoco ... tom_events
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: GAFCocos2D-JS not work in Cocos2D- JS 3.10

Postby Lê Huy Hùng » March 27th, 2016, 6:37 pm

I see lastest commit code of GAFCocos2D-JS on 6 months ago. Does GAF has longer support Cocos2d-JS ?
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Return to Cocos2dx Playback Library

Who is online

Users browsing this forum: No registered users and 1 guest