随笔分类 -  Cocos2d-js

摘要:cocos compile -p android --android-studio --app-abi=armeabi-v7a ./adb kill-server&& ./adb server && ./adb shell 阅读全文
posted @ 2019-06-04 14:33 Quintinz 阅读(193) 评论(0) 推荐(0) 编辑
摘要:void setBounceEnabled (bool enabled)设置当滚动到边界时,是否内部容器发生弹回(bounce)效果 bool isBounceEnabled () const获取边界弹回(bounce)状态。 void setInertiaScrollEnabled (bool e 阅读全文
posted @ 2018-03-06 15:41 Quintinz 阅读(1524) 评论(0) 推荐(0) 编辑
摘要:var writablePath = jsb.fileUtils.getWritablePath(); writablePath += "cocos/data/"; var fileName = "file.js"; var fullPath = writablePath + fileName; j 阅读全文
posted @ 2017-09-12 19:44 Quintinz 阅读(469) 评论(0) 推荐(0) 编辑
摘要:1. setTexture和setSpriteFrame方法 修改精灵的里面的图片的时候如果是图片使用 如果是图集的话 使用 阅读全文
posted @ 2017-08-15 11:07 Quintinz 阅读(205) 评论(0) 推荐(0) 编辑
摘要:/** * Goto the specified frame index, and pause at this index. * @param startIndex The animation will pause at this index. */gotoFrameAndPause: function(startIndex){ this._startFrame = this._curre... 阅读全文
posted @ 2017-08-14 17:03 Quintinz 阅读(126) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示