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

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

281. zip更新 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...改变的可能性。 支持断点续传的大文件下载函数downloadBigFile。 注意:不要用XMLHttpRequest下载大文件,因为这种方式下LayaNative会把结果先保存在内存中,所以大文件可能会导致内存爆掉,而这个函数是随时存盘的。 /** * @param url ...

来源: Laya3.0_文档 发布时间: 20251010

282. 我照的列子做,Protobuf,结果报错! [ 69%]

...===== TypeError: Cannot read property 'ProtoBuf' of undefined at new Game (file:///D:/Projects/game/bin/js/main.js:8:47) at file:///D:/Projects/game/bin/js/main.js:39:12   附件 : --> 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

283. 加载时间轴动画报错 [ 68%]

...Cannot read property '_create' of null     at Animation._proto.timerLoop(file:///f:/........./bin/libs/laya.core.js:9493:14)     at Animation._proto.play(file:///f:/....../bin/libs/laya.core.js:16351:10)   请问各位大神这是怎么回事呢? 附件 : --> happyFarm.rar 2017-10-28 添加...

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

284. 无法截屏1.714 [ 68%]

...idth,height,conch.getCachePath()+"/test.jpg" ); //存储后便可以通过 file:///的方式直接进行访问了 var image = window.document.createElement("img"); image.onload=function() { } image.src="file:///" + conch.getCachePath()+"/test.jpg";  截图之后还需要 取出来用,我们这个...

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

285. eError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 68%]

...译报错Cannot find global type 'Array' Failed to load resource: net::ERR_FILE_NOT_FOUND 求助大佬们!oppo游戏中3d资源贴图出现Failed to load 编译报错 出错了:FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 请教专家:curl_easy_perform faile...

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

286. 新手的伤,ReferenceError: CameraMoveScript is not defined [ 68%]

...ze:1937/7747 ReferenceError: CameraMoveScript is not defined at LayaAir3D (file:///E:/layaPro/Test3d/src/LayaAir3D.js:24:29) at file:///E:/layaPro/Test3d/src/LayaAir3D.js:38:1 loader callback cost a long time:179 url=Laya/terrain/terrain_splatalpha0_0_0.png   2018-04-26 0 0 分享 微博 QZONE 微...

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

287. 为什么新创建的AS项目,直接报错? [ 68%]

... QZONE 微信 oopenoo 赞同来自: /*[IF-FLASH]*/ flash.ui.Mouse.hide();file: 'file:///d%3A/dev/h5prj_ex/myLaya7_as/libs/laya/src/laya/utils/Mouse.as' severity: '错误' message: '所访问的属性 Mouse 可能未定义。' at: '47,4'   2017-11-08 0 0 分享 微博 QZONE 微信 wudi199553 赞同...

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

288. ts项目,我在程序主入口声明了公共静态类,下面new出了一个对象,把他添加到舞台中出错。 [ 68%]

...meStart=new GameStart(); Laya.stage.addChild(GameMain.GameStart); 报错:file: 'file:///e%3A/LAYABOX/CaiCi/src/GameMain.ts' severity: '错误' message: 'Argument of type 'GameStart' is not assignable to parameter of type 'Node'. Property '_childs' is missing in type 'GameStart'.' at: '56,29' sourc...

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

289. MovieClip 报错 [ 68%]

...:var data:*; data=Loader.getRes(_url); if (!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ t...

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

290. laya的ide如何import js并调用里面的类和方法?VS Code正常。 [ 68%]

...GameMain(); } http://requirejs.org/docs/errors.html#mismatch at makeError (file:///E:/laya/TestImport/bin/node_modules/requirejs/require.js:168:17) at intakeDefines (file:///E:/laya/TestImport/bin/node_modules/requirejs/require.js:1254:36) at file:///E:/laya/TestImport/bin/node_modules/requirejs/req...

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