cocos2d-html5
cocos2d-html5 copied to clipboard
Cocos2d for Web Browsers. Built using JavaScript.
Passing a hex string, eg. "#ff00ff" to cc.color (which calls cc.hexToColor) results in a completely transparent color, with 0 alpha. This has changed in v3.14.1, and worked v3.13.1, the code...
Old method of building cocos2d-html5 (cd tools && ant) does not work anymore, as build.xml contains deprecated list of files (camera, etc) since summer 2016. Are there new build instructions?
在IOS和PC下没有问题
As you see in http://www.cocos2d-x.org/docs/api-ref/js/v3x/. It have no contain the `cc.loader` API document.
Is Spine mesh/freeform transform supported? In our tests empty space is rendered instead of transformed parts. cocos2d-html5 v3.7.1 Spine 2.1.27
updateWithSprite: function(sprite, spriteRect, spriteFrameRotated, offset, origin
The ReadME makes mention of a /tests directory, but it's not anywhere in the files.
The following screenshot shows both a CCSprite and a Scale9Sprite with the same texture. Both were applied `setColor()` with the same color (`#EFFCAA`) but they are displayed in very different...
新文字对象写入正好在换行位置时会导致切割错误 cq-z/cocos2d-html5@ fc61c457c0880e944d8cc0437e85f0bdfbe876bc  (https://cloud.githubusercontent.com/assets/3038490/20790420/33298f4e-b7f3-11e6-8c25-52d9e4f527af.png) +1被切割成1
I have resolved the issue CCProgressTimer -------------- `cc.ProgressTimer = cc.Node.extend(/** @lends cc.ProgressTimer# */{ _type:null, _percentage:0.0, _sprite:null, _midPoint:null, _barChangeRate:null, _reverseDirection:false, _className:"ProgressTimer", /** * constructor of cc.cc.ProgressTimer * @function * @param {cc.Sprite}...