![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
cocoslua
大人家胖砸
123124325435
展开
-
总是遗忘的打包代码
cocos run -p android打包debug无签名apk原创 2016-06-25 23:44:13 · 389 阅读 · 0 评论 -
关于一个cocos3.x的优化
在cocos3.x版本 void Director::pushMatrix(MATRIX_STACK_TYPE type)和void Director::popMatrix(MATRIX_STACK_TYPE type)显得多余 修改如下: void Director::popMatrix(MATRIX_STACK_TYPE type) { return; //if(MATR原创 2016-07-04 10:26:05 · 590 阅读 · 0 评论 -
sublime 创建lua项目
{ "cmd":["F:/candy/frameworks/runtime-src/proj.win32/Debug.win32/candy.exe"], "working_dir":"F:/candy", "shell":true, }原创 2016-07-06 14:34:17 · 456 阅读 · 0 评论 -
基于cocos2dx:塔防的直线穿透性攻击
这是这几天碰到的问题,直线穿透性持续攻击,在一条直线上只要有怪物经过,就受到伤害。最后发现如此答案:if self.imageShoot:getRotation()<0 then self.shootTwo.rt = (self.imageShoot:getRotation() + 365) self.shootTwo.rd = (self.imageShoot:getRotation()原创 2016-08-17 18:12:56 · 611 阅读 · 0 评论 -
cocos2dx-lua用sublime执行exe
在项目根目录写个bat文件ceshi.bat @echo off rem taskkill /F /IM ceshi.exe call %~dp0/simulator/win32/ceshi.exe -workdir %~dp0 -scale 1 -write-debug-log debug.log 回到sublime: tool-》buildSystem-》new build原创 2016-08-31 11:20:48 · 415 阅读 · 0 评论