Comments (7)
经测试并无此现象,能否将你的运行环境和条件描述更清楚一些?
from v3quick.
update:
使用了cc.Label:createWithTTF():enableOutline() 后随机出现
另enableGlow和enableShadow似乎无效
from v3quick.
已经重现,原因待查。
enableGlow和enableShadow已经试过是有效的哦,不过也会随机出现stack overflow问题。
from v3quick.
使用cc.Director:getInstance():setDisplayStats(false)关闭左下角的调试提示后,不会出现崩溃。请skyblue帮确认一下你那边是否也如此。
from v3quick.
@SunLightJuly setDisplayStats(false)后不崩溃
ps: 能否顺便提供下测试的示例代码? 我一直调不出enableGlow和enableShadow
from v3quick.
local ttf = cc.Label:createWithTTF("Hello--World", "arial.ttf", 64)
ttf:setPosition(200, 200)
ttf:enableGlow(cc.c4b(255, 255, 0, 255))
-- ttf:enableShadow(cc.c4b(0, 255, 0, 255))
self:addChild(ttf)
Glow和Shadow不能一起用,一起用只有一个能生效
from v3quick.
已经修复。原因在于Director的_secondsPerFrame变量未初始化。在Director::showStats()中有如下代码:
char buffer[30];
......
sprintf(buffer, "%.1f / %.3f", _frameRate, _secondsPerFrame);
由于_secondsPerFrame未初始化可能很大,造成字串超长引起数组越界。
from v3quick.
Related Issues (20)
- 报告一下JNI在Android L上新增加的一个崩溃错误(按理说应该提到cocos2d-x上的) HOT 9
- 全局变量,spc HOT 4
- display.newColorLayer(color)
- setButtonEnabled(false) on UIPushButton clicked callback cause crash HOT 6
- UIInput TextField param 'x' and 'y' have to set value
- EventProtocol:hasEventListener problem
- 刚刚从升级3.3rc 升级到3.3final版本,lua加密的代码运行不了。 HOT 2
- Sprite3D display different in Player3 and PrebuiltRuntimeLua
- Stencil buffer is not enabled HOT 1
- 什么时候发布兼容 Cocos 3.4的版本,什么时候换回 LuaJIT HOT 1
- touch事件分发的和穿透bug HOT 4
- quick cocos2dx 3.3Final版本触屏死机bug HOT 3
- websocket关于windows平台的bug HOT 3
- 3.5 iap没导出么
- ActionTimeline::startWithTarget是不是有BUG?
- UI组件clone()方法无法正确返回 HOT 1
- 貌似项目工程不在某盘的跟目录无法打包,有啥解决办法么
- mac模拟器console窗口文字区不响应 鼠标选中等事件
- github上的V3分支PLAYER自行编译后无法导入项目,一导入就卡死 HOT 1
- luasock(tcp) recvall非阻塞问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v3quick.