Quick-Cocos2dx-Community
Quick-Cocos2dx-Community copied to clipboard
Cocos2d-Lua 社区版
macos 11.3.1 xcode 12.5 编译不通过。
当我使用spine lua缓存的时候 texture 计数+1 create spine animation 释放spine lua缓存 spine animation update 崩溃 原因在于,缓存spine 后,texture 计数 一直是2 当我释放lua spine 缓存后,计数器变成1 自动内存回收,导致 texture 被释放。
应该是与 Android Q 的隐私权有关: https://developer.android.com/preview/privacy/data-identifiers#device-ids
version: 3.6.4 android os: 7.0 cellPhone: HuaWei Y7, P9, MediaPad T3 (only HuaWei) crash log: ``` bash *** *** *** *** *** *** *** *** *** *** *** *** ***...
使用 HTTPRequest 在 iOS,Mac, Windows 版本下会出现不可达,(需挂梯子)。 测试地址是: ``` lua -- 原始地址 local picUrl = "http://graph.facebook.com/694528257411491/picture?width=200&height=200&t=20180421" -- 重定向后的地址 local picUrl = "https://lookaside.facebook.com/platform/profilepic/?asid=694528257411491&height=200&width=200&ext=1524558242&hash=AeSflWB8JKNSiLAF" ``` 这个地址比较特殊,请求之后会重定向到下面那个地址。 浏览器直接打开这个地址是可以下载得到对应的图片的。 httpRequest 的 test code ``` lua...
self.account_tf = ccui.EditBox:create(_res.input_account.size, "pixel_point.png", ccui.TextureResType.plistType):addTo(self) self.account_tf:setPlaceHolder("请输入账号") self.account_tf:align(display.LEFT_CENTER, _res.input_account.x, _res.input_account.y) self.account_tf:setMaxLength(16) self.account_tf:setInputMode(cc.EDITBOX_INPUT_MODE_SINGLELINE) self.account_tf:setFontColor(_res.input_account.color) 这种方式创建一个输入框。 首先,进入这个输入框显示界面 然后锁屏 在锁屏之后解锁,再点击输入框,键盘不弹出 oppo CPH1609 (F3) android版本6.0 打断点得到的结果 /libcocos2dx/src/main/java/org/cocos2dx/lib/Cocos2dxEditBoxHelper.java 433行 if (null != editBox) 得到的结果为空
CCStore 的 IAP 中 transactionReceipt 官方已废弃: 'transactionReceipt' is deprecated: first deprecated in iOS 7.0 - Use -[NSBundle appStoreReceiptURL] 是否应及时使用新的API
九宫格图片bug
cocostudio2.0.6,用的图集设置了自动裁切,图集里某个图片用作九宫格图片,在cocostudio里显示正常,但在引擎里会导致该图片的被裁切的透明区域没算进九宫格的边距里,显示与cocostudio里有一定偏差
1. 修改Sprite3D设置GLProgramState不能得到正确效果问题 2. 添加Mesh一些方法的LuaBinding 3. 添加删除所有动画缓存方法 4. 修改截屏支持绝对路径 5. 添加Vec3 基础方法 6. 添加3D坐标拾取方法 7. 添加display.newStencil方法
3.6 mac版 无法创建和导入项目,player中只要点击select按钮,在对话框中选择完毕目录之后,就崩溃。调试发现崩溃在CCRenderer.cpp :: drawBatchedQuad, line743: `memcpy(buf, _quadVerts, sizeof(_quadVerts[0])* _numberQuads * 4);` buf 为 Null 这里。