cocos2d-html5
cocos2d-html5 copied to clipboard
Cocos2d for Web Browsers. Built using JavaScript.
The margin should only be subtracted once, since it’s irrelevant whether the margin exists also at the bottom or the right side of the image. With this change it matches...
When I try to setString in any type of labels with text "Hello?!". Game freeze forever.
This version of engine don't support Cyrillic text wrap. Can you change wrap regular expression in cocos2d/core/labelttf/CCLabelTTFCanvasRenderCmd: from ``` cc.LabelTTF._wordRex = /([a-zA-Z0-9ÄÖÜäöüßéèçàùêâîôû]+|\S)/; cc.LabelTTF._symbolRex = /^[!,.:;}\]%\?>、‘“》?。,!]/; cc.LabelTTF._lastWordRex = /([a-zA-Z0-9ÄÖÜäöüßéèçàùêâîôû]+|\S)$/; cc.LabelTTF._lastEnglish =...
cocos H5 跨域访问不到图片 gl.texImage2D报错!
Hello. I try to add transparency mask to my game and have black screen every time when try to change mask position. I create a sprite and set blend modes,...
`isFlippedX`, `setFlippedX`, `isFlippedY` and `setFlippedY` were removed from `ccui.Scale9Sprite` in c1c76b0003242d0df65b2b5d32ca12504f75b20a, and it's breaking "legacy" code, even on minor updates (mine is from 3.11.2 to current). if this is the...
@pandamicro Hello again. Today i have batch fixing day for my project:) ccui.ScrollView and ccui.ListView have terrible performance, cause every sprite render at single batch. Steps to reproduce: 1. Create...
图片四周有很多空白象素,合图时trim,设置到ImageView上如果开启9宫格生成的图片就会包含了合图中的其他图片的象素,如果开启9宫格就正常显示