cocos2d-html5
cocos2d-html5 copied to clipboard
Cocos2d for Web Browsers. Built using JavaScript.
Hi dev, Im starting with cocos2d-js and I am following the tutorial, but when I try to build in release mode it fails. If I run `cocos compile --platform android...
Use of new JS function and jquery can make the animation and move more smooth.
Hi, i get the files using clone in my MAMP server and i have this error when i open the template sample: cc._addEventListener is not a function What is the...
When I use ```ccs.dataReaderHelper.addDataFromFile``` to read ```.csb``` file like below: ``` ccs.dataReaderHelper.addDataFromFile('res/myui.csb'); ``` I get error: ``` cocos2d-js-v3.13.js:57555 Uncaught TypeError: ccs.dataReaderHelper.addDataFromBinaryCache is not a function at Object.addDataFromFile (cocos2d-js-v3.13.js:57555) at Object.cc.game.onStart...
This line : var cs = locWidget.getContentSize(); should be fixed: var cs = locWidget.getBoundingBox(); Of course there are some other lines should be fixed in this file (UILayoutManager.js)
Hi , i just found out that if the audio (mp3 in my case) is playing using cc.audioEngine.playEffect when the loading hasn't finished, the sound will play but retuning null...
update the title
Cocos version: 3.8 IOS version: 12.3.1 Devices: IPhone XS, IPhone XS Max Hi! There is a strange problem with buttons on IPhone XS and IPhone XS Max - cocos buttons...
Repo head does not passes layout test for scaled widgets Corrected layout management for widgets to use bounding box instead of content size. Before fix: After fix:
回收子节点的行为和c++版本保持一直。this.getContainer().removeChild(cell, false);