![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
cocos2dx
woaitech
这个作者很懒,什么都没留下…
展开
-
CCEditBox实现原理
今天使用了EditBox,记录下几点重要的,可以说是CCEditBox实现原理1.CCEditBox继承CCControlButton, CCIMEDelegate2. CCEditBox实现了touchDownAction方法 ,并在 CCEditBox::initWithSizeAndBackgroundSprite方法中调用了 this->addTargetWit转载 2015-05-11 21:37:55 · 626 阅读 · 0 评论 -
Layer的锚点与Scale缩放
最近写代码需要用到缩放,而且是Layer的,但是发现怎么设置位置都是错误,于是决定研究下。首先,基础代码,代码上不错特殊处理,没有锚点设置和缩放class TestLayer : public Layer { public: bool init(); CREATE_FUNC(TestLayer);};bool TestLayer::init()原创 2015-09-06 11:39:27 · 1152 阅读 · 0 评论 -
异常java.lang.IllegalArgumentException: No configs match configSpec 的问题
12-12 06:24:06.908: ERROR/AndroidRuntime(753): FATAL EXCEPTION: GLThread 1012-12 06:24:06.908: ERROR/AndroidRuntime(753): java.lang.IllegalArgumentException: No configs match configSpec12-转载 2016-01-08 00:23:09 · 767 阅读 · 0 评论