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

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

1. 提示LAYA核心库中找不到 Laya.__awaiter函数 [ 100%]

...可以参照下这个方法。 function __awaiter(thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](val...

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

2. linux执行cmd报错 [ 99%]

...: 0 newCmd: "/usr/lib/node_modules/layaair-cmd/ProjectExportTools/TP/atlas-generator" "/home/coding/LayaAirIDE/packParam.json" Waiting for pics packing execute: "/usr/lib/node_modules/layaair-cmd/ProjectExportTools/TP/atlas-generator" "/home/coding/LayaAirIDE/packParam.json" Error Occured: Error: Co...

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

3. layacmd在centOS 6.5上运行出错 [ 98%]

...node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/TP/atlas-generator" "/home/sgf_ebuild/LayaAirIDE/packParam.json" Waiting for pics packing execute: "/data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/TP/atlas-generator" "/home/sgf_ebuild/LayaAirIDE/packPar...

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

4. 分享:自动编译&刷新工具(新增了项目模板创建,调试,发布一条龙) [ 90%]

...的同学也没法使用 于是我用yo的生成器又重做了一个项目generator-layaair,现在创建项目模板更加简单自动化了 初次使用先安装生成器: npm install -g yo npm install -g generator-layaair   之后每次创建项目 直接yo layaair就行了,指令会...

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

5. png导出图集报错 [ 88%]

png导出图集报错 应该是这个bug;下atlas-generator 依赖的libpng,更新下。 有些png格式,无法成功打出图集! 经过ps转存,可以成功!https://sourceforge.net/p/libpng/bugs/270/   测试图片:s_btn3.png   ps:我是没有看到atlas-generator的源码,我...

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

6. 本地双击html如何打开laya项目? [ 86%]

... { server = new ServerSocket(PORT); } catch (IOException e) { // TODO Auto-generated catch block Log. i(TAG, "异常信息:" + e.getMessage()); } new Thread(this).start(); Log. i(TAG, "server is start......"); } public void run() { // 服务器端连续监听客户端 while (true ) { Socket client...

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

7. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 83%]

...module": "commonjs",                     /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */     // "lib": [],                             /* Specify library files to be included in the compilation. */     // "allowJs...

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

8. LAYABOX游戏实时语音之APP版本 [ 78%]

...ublic void onJoinChatRoom(Integer errorcode, String roomID) { // TODO Auto-generated method stub } @Override public void onLeaveChatRoom(Integer errorcode, String roomId) { // TODO Auto-generated method stub } @Override public void onUserJoinChatRoom(String roomID, String userID) { } @Override publi...

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

9. 断点不断,请问是什么原因? [ 72%]

断点不断,请问是什么原因? Breakpoint ignored because generated code not found (source map problem?). 2018-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 IXgSoul 赞同来自: 你不是在js里...

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

10. AtlasGenerator.exe指令出错 [ 71%]

AtlasGenerator.exe指令出错 D:\h5\LayaAirIDE\resources\app\out\vs\layaEditor\libs\TP>atlas-generator.exe --config atlasConfig Unknown option 'config'.    求帮忙看看,本地是有这个配置的 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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