-
suggest to add a lazy checking on [CCSprite.setSpriteFrame()](https://github.com/cocos2d/cocos2d-html5/blob/develop/cocos2d/core/sprites/CCSprite.js#L823)
We have been implementing a custom animation…
-
In UIWebView I am loading html. html is loading properly.
I need to add class on element run time by finding element by class name.
we are trying below code but it not working.
std::string jsCode =…
-
Hi, it would be nice if cocos2d-html5 could implement a camera feature of some sort, and add a property to each Node that defines whether the user wants or doesn't want the Node (sprite, label, etc.) …
-
- cocos2d-x version: 3.15.1
- devices test on: web browser (safari, chrome)
- developing environments
- NDK version: 12b
- Xcode version: 8.3.3
- VS version: -
- browser type and ver…
-
I'm facing problems to build a release version for android. I runned the command:
cocos compile -p android -m release
And it's returning the following error message:
Error running command, return co…
-
代码:
```
var SocketIO = SocketIO || io; // 打包APP后 这句代码 以下的代码貌似跟屏蔽了一样不会执行,PC 浏览器是正常的
var label = cc.LabelTTF.create("SocketIO", "Arial", 48);
label.setPosition(cc.p(winsize.width / 2, wins…
-
In Html5 the canvas setting is
But I want to exlarge it in code
cc.canvas.width = 1000
cc.canvas.height = 800;
how to do it
---
I think I know how to do it:
```
var targetSize = cc.size…
-
3.9 and 3.10 do not work in iOS Safari.
You can see this bug in action by downloading the html5 version ( lite or full ) and viewing the HelloWorld.html page in Safari.
The issue is that Safari won'…
-
It's three months since CocosBuilder was updated. Is there any message about CocosBuilder's future?
-
- cocos2d-x version:3.10
- devices test on:iPhone 6 Plus iOS9.3.5
- developing environments
- NDK version:
- Xcode version:
- VS version:
- brower type and version:
Steps to Reproduce:
1. P…