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

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

181. 分享:适配LayaAir版本的PureMVC框架 [ 49%]

...是怎么用 unnamedzc • 2016-10-11 21:54 Failed to load resource: net::ERR_FILE_NOT_FOUND (file:///Users/jeffchang/Documents/myLaya/bin/lib/puremvc.min.js) 我在index里面加了 <script type="text/javascript" src="lib/puremvc.min.js"></script> unnamedzc • 2016-...

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

182. 微信小游戏提审后,提示说代码侵权 [ 48%]

...文件路径读取文件,返回文件列表 fs.readdir(filePath,function(err,files){ if(err){ console.warn(err) }else{ //遍历读取到的文件列表 files.forEach(function(filename){ //获取当前文件的绝对路径 var filedir = path.join(filePath,filename); //根据文件路径获取文件...

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

183. fatal error: 'string' file not found [ 48%]

fatal error: 'string' file not found 导入头文件 #import <conchRuntime.h> 后编译会报错。望提供解决方案 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #a31515; background-color: #ffffff} span.s1 {color: #0000ff} 附件 : --> 2019-07-25 添加评论 免费...

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

184. 使用layaair-cmd管理资源版本报错 [ 48%]

...-o ./ -n 1000 返回是一堆报错: internal/child_process.js:323 throw errnoException(err, 'spawn'); ^ Error: spawn EACCES at _errnoException (util.js:1022:11) at ChildProcess.spawn (internal/child_process.js:323:11) at exports.spawn (child_process.js:502:9) at Object.<anonymous> (/usr/loc...

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

185. layaair2-cmd安装报错 [ 48%]

...\node_modules\layaair2-cmd internal/modules/cj s/loader.js:638     throw err;     ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\gulp-babel'     at Function.Module._load (internal/modules/cjs/loader.js:562:25)     at Module.requ...

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

186. 最新的ResourceVersion发布以后加载的url不正确 [ 48%]

...响游戏运行: [warn]Retry to load: version.json?0.9911664351059268 [error]Failed to load: version.json?0.9911664351059268 资源版本清单文件不存在,不使用资源版本管理。忽略ERR_FILE_NOT_FOUND错误。   附件 : --> 2018-01-15 添加评论 免费帖 --> 分享 微博 QZONE...

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

187. Layabox web 复制一段文字到剪贴板 [ 47%]

... { console.log("ok:") console.log(e) clipboard.destroy(); }) clipboard.on("error", function (e) { console.log("err:") console.log(e) clipboard.destroy(); })  //确认按钮 this.confirmBtn.onclick = function () { _this.CloseDivAndInfoMesg(this); } // 创建弹出层 遮罩层 等 if (!document.getE...

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

188. [LayaAir2]iOS设备,抖音app报错 requestAnimationFrame [ 47%]

... "at requestAnimationFrame ... message: "at requestAnimationFrame callback err1" name: "USER_RUNTIME_ERROR" stack: "construct@[native code] at f(helium.js:4:269) at ?(helium.js:4:865) at ?(helium.js:6:1578) " __proto__: Object __defineGetter__: function() __defineSetter__: function() __lookupGetter_...

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

189. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 47%]

... //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}}, include:/.*.ts/, }), glsl({ // By default, everything gets included include: /.*(.glsl|.vs|.fs)$/, sourceMap: false, compress:false }), /*terser({ output: { }, numWorkers:1,//A...

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

190. httpRequest send返回Request failed Status:0 [ 46%]

...Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // private completeHandler(data: Object, URL: string, id: number): void { //加载...

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