• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,653 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0075 秒)

141. mac安装typescript的问题 [ 78%]

...npm v2.14.20 npm ERR! path /usr/local/lib/node_modules/typescript npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall mkdir npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/typescript' npm ERR! at Error (native) npm ERR! { [Error: EACCES: permission denied, mkdir '/...

来源: Laya_社区 发布时间: 20160829

142. 用模块器报错,真机不会有这个问题,具体看补充 [ 77%]

...报错,真机不会有这个问题,具体看补充 I/art: Increasing code cache capacity to 128KB I/art: Do partial code cache collection, code=56KB, data=40KB I/art: After code cache collection, code=53KB, data=39KB I/art: Increasing code cache capacity to 256KB W/System: ClassLoader referenced...

来源: Laya_社区 发布时间: 20170216

143. 二次开发 异步回调没反应 [ 77%]

....VGUtil"); VGUtil.callWithBack(back, "showVideoAd", type);  function back(code){ LayaManager.showTextTip("广告返回成功:"+code); success.runWith(code); } }  android: public static void showVideoAd(String adname) { //Vgad.showVideoAd(adname); //可播放次数,为-1表示无限次。 int c...

来源: Laya_社区 发布时间: 20190524

144. 微信小程序打包,提示“laya is not defined” [ 77%]

...发工具堆栈:(unknown) ReferenceError: laya is not defined     at code.js:11708     at code.js:11720     at code.js:18226     at require (WAGame.js:11)     at WAGame.js:11     at game.js? [sm]:4     at require (WAGame.js:11)     at gamePage.html:135 window.onerror --------------...

来源: Laya_社区 发布时间: 20180131

145. 截屏drawToCanvas的疑问 [ 77%]

...Aaron 赞同来自:    /**          * <p>绘制 当前<code>Sprite</code> 到 <code>Canvas</code> 上,并返回一个HtmlCanvas。</p>          * <p>绘制的结果可以当作图片源,再次绘制到其他Sprite里面,示例:<...

来源: Laya_社区 发布时间: 20180719

146. 用谷歌获取经纬度报错? [ 77%]

...后触发 function onError(err:Error):void { var errType:String; if (err.code = Geolocation.PERMISSION_DENIED) errType = "Permission Denied"; else if (err.code == Geolocation.POSITION_UNAVAILABLE) errType = "Position Unavailable"; else if (err.code == Geolocation.TIMEOUT) errType = "Time Out"; trace...

来源: Laya_社区 发布时间: 20180402

147. 微信小游戏IDE加载位图字体,提示错误 [ 76%]

...unction     at BitmapFont.__proto.parseFont (http://127.0.0.1:61385/game/code.js:803:17)     at Loader.__proto.onLoaded (http://127.0.0.1:61385/game/code.js:12700:11)     at HTMLImage.onload (http://127.0.0.1:61385/game/code.js:21213:15)     at Image._source._source.onload (http://127.0.0.1:...

来源: Laya_社区 发布时间: 20180306

148. 2.3.0beta版本,代码有错误还能编译成功 [ 76%]

...se, //Set to false to avoid doing any diagnostic checks on the code                 tsconfigOverride:{compilerOptions:{removeComments: true}}             }), ``` 改为: typescript({                 check: true, //Set to false to avoid ...

来源: Laya_社区 发布时间: 20191011

149. 微信小游戏示例打包之后出现问题 [ 76%]

...例打包之后出现问题 (unknown) ReferenceError: ui is not defined at code.js:1 at require (WAGame.js:11) at WAGame.js:11 at game.js? [sm]:2 at require (WAGame.js:11) at gamePage.html:111 window.onerror WAGame.js:11 Uncaught ReferenceError: ui is not defined at code.js:1 at require (WAGame.js:1...

来源: Laya_社区 发布时间: 20180115

150. Google Play扩展包在小米手机上open zip失败,三星手机可以 [ 76%]

...bb/com.iyoulong.wokfb.test/main.57.com.iyoulong.wokfb.test.obb failed erro code 11 三星手机日志正常 打开zip成功:/storage/emulated/0/Android/obb/com.iyoulong.wokfb.test/main.57.com.iyoulong.wokfb.test.obb 2019-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

来源: Laya_社区 发布时间: 20190307