Projects > cpp > Issues > Bug #3260

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Check that Rect is compatible between JSB and cocos2d-html5

Bug #3260 [Rejected]
ricardo 2013-11-22 01:10 . Updated over 11 years ago

According to this Pull Request ( https://github.com/cocos2d/cocos2d-x/pull/4010/files\#r7413536 )
CCRect is not compatible between JSB and cocos2d-html5.

We should verify this information, and if true, we should fix it.

ricardo 2013-11-22 01:10
  • Target version set to 3.0-beta
WenHai 2013-12-16 14:45
  • Assignee set to WenHai
WenHai 2013-12-17 03:08
  • Status changed from New to Closed

cocos2d-html5 will change .size/.origin to priviate,and offer x/y/width/height for developer by Object.defineProperties,please refer to https://github.com/cocos2d/cocos2d-html5/blob/master/cocos2d/cocoa/CCGeometry.js

zhangxm 2013-12-17 07:51
  • Status changed from Closed to Rejected

Atom PDF

Status:Rejected
Start date:2013-11-22
Priority:Normal
Due date:
Assignee:WenHai
% Done:

0%

Category:-
Target version:3.0-beta