Return to Cocos2dx Playback Library

cocos2dx JS Html5 error

Questions related to Cocos2dx playback library should be asked here.

cocos2dx JS Html5 error

Postby Sam Yeh » July 6th, 2016, 11:47 pm

Hi~~i use cocos2dx JS Html5

When i use GAF Convert and set Scale to "2"

Few sprite position & size will error.

Here is our test file, you can see the background is not scaled and position is also wrong.

Could you help us.

Thanks
Attachments
screen1.png
scale 2...wrong screen
screen0.png
correct screen
1989_bodyF.fla
(332.14 KiB) Downloaded 667 times
User avatar
Sam Yeh
 
Posts: 19
Joined: June 22nd, 2016, 7:40 pm

Re: cocos2dx JS Html5 error

Postby Alexey Finkilshtein » July 10th, 2016, 4:31 pm

Hi,

Sorry for the late answer.
We are working on your issue and when it will be ready I will get back to you.

Thanks.
User avatar
Alexey Finkilshtein
 
Posts: 429
Joined: May 21st, 2014, 6:53 am

Re: cocos2dx JS Html5 error

Postby Sam Yeh » July 10th, 2016, 9:56 pm

I am very appreciate for your support

Thanks
User avatar
Sam Yeh
 
Posts: 19
Joined: June 22nd, 2016, 7:40 pm

Re: cocos2dx JS Html5 error

Postby Sam Yeh » July 13th, 2016, 6:18 pm

Hi,

Is this issue caused by "GAF Converter" or "JS Runtime Code"?

If caused by "GAF Converter", we should stop convert swf file now until fix this issue.

Thanks for your help.

Alexey Finkilshtein wrote:Hi,

Sorry for the late answer.
We are working on your issue and when it will be ready I will get back to you.

Thanks.
User avatar
Sam Yeh
 
Posts: 19
Joined: June 22nd, 2016, 7:40 pm

Re: cocos2dx JS Html5 error

Postby Alexey Finkilshtein » July 13th, 2016, 11:01 pm

Hi,

This is because JS Runtime Code. Because we don't have this issue in other libraries.

Thanks.
User avatar
Alexey Finkilshtein
 
Posts: 429
Joined: May 21st, 2014, 6:53 am

Re: cocos2dx JS Html5 error

Postby Sam Yeh » July 21st, 2016, 5:41 pm

Hi,

Do you have news about this issue??
User avatar
Sam Yeh
 
Posts: 19
Joined: June 22nd, 2016, 7:40 pm

Re: cocos2dx JS Html5 error

Postby Александр Баранов » July 26th, 2016, 8:35 am

Error somewhere in cocos js gaf library. Some invalid format reading.
Investigating this and will try to fix it till August 15.
User avatar
Александр Баранов
 
Posts: 14
Joined: June 19th, 2014, 7:52 am

Re: cocos2dx JS Html5 error

Postby Александр Баранов » August 6th, 2016, 1:56 am

Fixed. Please update cocos gaf lib here: https://github.com/CatalystApps/GAFCocos2dHTML5
User avatar
Александр Баранов
 
Posts: 14
Joined: June 19th, 2014, 7:52 am

Re: cocos2dx JS Html5 error

Postby Sam Yeh » August 10th, 2016, 1:45 am

Thanks a lot.

BTW, would you support cocos2dx-JS v3.12 in the future?

3.12 enhance the effectiveness very much.

Thanks again
User avatar
Sam Yeh
 
Posts: 19
Joined: June 22nd, 2016, 7:40 pm

Re: cocos2dx JS Html5 error

Postby Александр Баранов » August 14th, 2016, 2:39 am

I can confirm that cocos 3.12 seems faster.
But unfortunately, I quickly found one critical and one blocking error.
Using simple RichText element will crash application - they just typo in the code!
Using ProgressTimer animation motion - spreads animation across the screen - it looks difficult to fix.

I see that cocos gaf does not work.
Application crash when trying to use gaf (this can be fixed quickly).
Next, I see: displays the atlas instead of animation (this is not fixed quickly).

But due to the fact that cocos core contains a blocking error - probably it makes sense to wait for 3.13?
User avatar
Александр Баранов
 
Posts: 14
Joined: June 19th, 2014, 7:52 am

Return to Cocos2dx Playback Library

Who is online

Users browsing this forum: No registered users and 1 guest