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

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

181. LayaAir下如何分包? [ 48%]

...来心好累啊 yinzhigang12 • 2017-05-26 16:35 操,少了这个吗 /*[COMPILER OPTIONS:ForcedCompile]*/ yinzhigang12 • 2017-05-27 09:37 坑爹啊,少了个 super(); sawitch • 2017-06-12 11:43 @yinzhigang12:哪里加super();呀?我的分包也遇到这个问题,测试demo包运行没...

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

182. 2.3.0beta 各种bug [ 46%]

...ostic checks on the code                 tsconfigOverride:{compilerOptions:{removeComments: true}}             }),如果有  async(){ await xxxx }会报这个错误 TS2354: [31mThis syntax requires an imported helper but module 'tslib' cannot be found.   一、万年...

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

183. layaMaxUI.js export ui bug (影响编译) [ 45%]

...E 微信 kylin 赞同来自: 开放域项目,使用这哥编译脚本吧 compile.zip 2019-08-14 0 1 分享 微博 QZONE 微信 骄阳 赞同来自: 你好,我重新下载了最新版本IDE,layaAirIDE 2.2.0beta3,还是同样问题, 我项目场景模式设置的是分离模式,在设计模式...

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

184. 自定义场景继承导出,会在自定义类中加入Laya.前缀导致layaMaxUI文件报错 [ 44%]

...哎。 2019-09-21 0 0 分享 微博 QZONE 微信 136*****740 赞同来自: compile.js 添加如下代码   // 如果是发布时调用编译功能,增加prevTasks let prevTasks = ""; if (global.publish) {     prevTasks = ["loadConfig","替换Laya前缀"]; }else{     prevTasks = ["替换La...

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

185. 借助AMD来解决HTML5游戏开发中的痛点 [ 43%]

...程(3)][js3]- [requirejs][lib]- [TypeScript Hero][autoimport]- [TypeScript Compiler Options][tsconfig] [js1]: http://www.ruanyifeng.com/blog ... .html [js2]: http://www.ruanyifeng.com/blog ... .html [js3]: http://www.ruanyifeng.com/blog ... .html [lib]: http://requirejs.org/docs/rele ... re.js [demo...

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

186. 引擎插件使用说明(TypeScript-小游戏适配文档-微信小游戏) [ 40%]

...用LayaAirIDE 2.4.0或更高版本打开之前的项目,再打开`.laya/compile.js` ,搜一下`asconfig.json;`在其后增加配置参数`outlaya=true;`如下图所示。 ![图](img/10.png) 编译配置信息保存好之后,再次编译,引擎与项目的JS就会分离了。 ### 3、如何...

来源: Laya2.0_文档 发布时间: 20210715

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

...<anonymous> (e:\laya\TypeScriptSample\bin\js\main.js:2:1) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Timeout.Module.runMain [as _on...

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

188. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 34%]

...,我又写了两个脚本,都放在工程目录下就好:   1> compile.sh(供idea使用,调用wine执行编译,并调用python脚本处理js文件,最后打开chrome浏览器)#!/bin/bash path=`pwd` cmd="/.actionScriptProperties;iflash=false;outlaya=true" index="/bin/h5/index.html" #...

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

189. 打CPK包在手机上运行会白屏,手机测试型号VIVO1419L。 [ 31%]

.../com.vivo.vs I/WebViewFactory: Loading com.android.webview version 37 (eng.compiler-arm64) (code 199992) 10-13 17:31:15.861 6514-6514/com.vivo.vs I/LibraryLoader: Loading: webviewchromium 10-13 17:31:15.871 6514-6514/com.vivo.vs I/LibraryLoader: Time to load native libraries: 3 ms (timestamps 6259-6...

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

190. 安装layaair2-cmd一直失败 [ 27%]

...stall.js   ‼ read ECONNRESET   ‼ gifsicle pre-build test failed   i compiling from source   × Error: Command failed: C:\Windows\system32\cmd.exe /s /c "autoreconf -ivf" 'autoreconf' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ��������...

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