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

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

1. [LayaAirIDE 3.0]更新LayaAir 3.1.0-beta.1后编译不了 [ 100%]

...  at http://127.0.0.1:24647/game/li ... 14785     at async Promise.all (index 0)     at async Promise.all (index 0) warn @ laya.core.js:1 warnFailed @ laya.core.js:1 (anonymous) @ laya.core.js:1 Promise.catch (async) _load2 @ laya.core.js:1 _load1 @ laya.core.js:1 load @ laya.core.js:1 load2 @ ...

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

2. Cannot find odule'lib/_stream_transform [ 83%]

...报错 运行报错 Uncaught Can not find scene:GameView.scene undefined index.html没引用到的lib文件夹下的js可以全部删除吗? Error: "Can not find scene:script.LoginControl iOS真机测试 ReferenceError: Can't find variable: conchMarket 问题状态 最新活动: 2021-06-15 15:29 ...

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

3. 安装layaair2-cmd一直失败 [ 79%]

...g\npm\node_modules\layaair2-c md\node_modules\bin-wrapper\node_modules\got\index.js:182:22)     at Object.onceWrapper (events.js:300:26)     at ClientRequest.emit (events.js:210:5)     at TLSSocket.socketErrorListener (_http_client.js:406:9)     at TLSSocket.emit (events.js:210:5)     at e...

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

4. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 77%]

...ngine: game_plugin_set_option key=gameUrl value=http://stand.alone.version/index.html D/LayaGameEngine: game_plugin_init url =http://stand.alone.version/index.html D/LayaGameEngine: url=http://stand.alone.version/index.html D/RuntimeProxy: laya_get_value key=CacheDirInSdcard D/RuntimeProxy: laya_get...

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

5. 打包的apk无法正确运行(laya动画过后就黑屏) [ 74%]

...包成apk后就不行了 ts配置是 "module": "umd", "target": "es5",   index下的js就这样 <!--自定义的js(src文件夹下)文件自动添加到下面jsfile模块标签里面里-->     <script src="js/ui/layaUI.max.all.js"></script>     <!--启动类添加到这...

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

6. socket大型项目回调 [ 72%]

... this._callbacks[event]; return; } // remove specific handler var i = this.index(callbacks, fn._off || fn); if (~i){ callbacks.splice(i, 1); } return; } private index(arr, obj){ if ([].indexOf){ return arr.indexOf(obj); } for (var i = 0; i < arr.length; ++i) { if (arr[i] === obj) return i; } retu...

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

7. 在Laya中使用Matter.js的最简示例 (JS) [ 66%]

...,作为Matter.js的get start的Laya版本 在Laya中使用Matter需要在index.html的“<!--jsfile--startTag-->”标签前面添加下面的引用 (libs/matter.js 和libs/LayaRender.js)   然后创建一个Matter_getStart.js (代码如下)var Matter = window.Matter; // module alia...

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

8. 如何使用vscode编译laya项目 [ 60%]

...et ideModuleDir; let workSpaceDir; for(var argv of process.argv) { if(argv.indexOf("--cwd=") == 0) { ideModuleDir = argv.split("=")[1] + "\\node_modules\\"; } else if(argv.indexOf("--gulpfile=") == 0) { workSpaceDir = argv.split("=")[1].replace("/.laya/compile.js", ""); } }2、修改typescript编译...

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

9. lib/arm/liblayaair.so 总是崩溃 [ 34%]

...下IDE崩溃问题 为什么Tiledmap总是显示于stage的图片之上? index.html没引用到的lib文件夹下的js可以全部删除吗? iosapp获取到的soundChannel.position总是为0,导致不能继续播放 微信小游戏资源总是加载旧的资源 ide出现问题了,左侧总...

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

10. 构建apk后,java报错 [ 19%]

...e: game_plugin_set_option key=gameUrl value=http://106.15.95.203:20100/web/index.html 2018-11-26 18:31:47.346 4749-4770/com.layabox.dotJourney E/InterceptorFactory: NameNotFoundException     android.content.pm.PackageManager$NameNotFoundException: com.miui.contentcatcher         at android.app...

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