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

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

81. 项目资源,以及打包问题若干 [ 70%]

...c.layabox.com/doc/?nav=zh-as-6-1-4 你替换ICON,需要和配置脚本的config.js一起使用,config.js用于设置你是否使用laya默认的进度条以及背景色和tips信息等 打包的时候直接打进去即可   2017-08-01 1 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

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

82. XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. [ 69%]

...' does not exist on type 'Node & ChildNode'. 谁 遇到过?let local_config:XMLDocument = Laya.Utils.parseXMLFromString(source); local_config.firstChild.childNodes[0].attributes.getNamedItem("tracekey").value 明明lib.d.ts里有attributes啊 附件 : --> LayaXmlParse1.rar 2019-04-01 添加评...

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

83. 关于如何解析远程.xml文件的问题 [ 69%]

...远程接收一个.xml文件  hrRerust.send("http://192.168.1.21:90/Game_Config.xml", null, "get", "text",null);          trace(hrRerust.data); 该语句可以读取上面.xml文件的内容 但是 我用了一些方法 都无法像本地.xml被解析后存放到数组当中 请那位高手提...

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

84. 我二进制资源load之后,为什么通过getRes获取不到。 [ 69%]

... { url: "res/atlas/images/guide.atlas", type: Laya.Loader.ATLAS }, { url: "config/data.txt", type: Laya.Loader.BUFFER }]; Laya.loader.load(resources, Handler.create(this, this.onComplete), Handler.create(this, this.onProcess), null, 1, false); } onComplete(e,a,b) { console.log('资源加载完成!...

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

85. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 68%]

...extensions/bowlerhatllc.vscode-nextgenas/node_modules/flexjs/frameworks/js-config.xml' severity: '错误' message: '无法打开“/Applications/LayaAirIDE_beta.app/Contents/Resources/app/extensions/bowlerhatllc.vscode-nextgenas/node_modules/flexjs/js/libs/GCL.swc”。 /Applications/LayaAirIDE_beta...

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

86. ide 2.4 layaair2-cmd 编译报错 [ 68%]

...ents/GameTowertest/.laya/compile.js [14:22:35] Starting 'compile'... rpt2: config error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. [14:22:35] 'compile' errored after 286 ms [14:22:35] Error: Unexpected token ...

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

87. Android真机调试JavaScript · LayaAir3文档 · LAYABOX [ 68%]

...Studio打开构建后的工程。 打开android_studio/app/src/main/assets/config.ini,修改JSDebugMode的值,设置需要的调试模式。如图2-1所示, (图2-1) JSDebugMode的取值和含义如下: 取值 含义 0 关闭调试功能 1 Debug/Normal模式 2 Debug/Wait模式 当项目正...

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

88. Android真机调试JavaScript · LayaAir3.4 · 引擎文档 · LAYABOX [ 67%]

...Studio打开构建后的工程。 打开android_studio/app/src/main/assets/config.ini,修改JSDebugMode的值,设置需要的调试模式。如图2-1所示, (图2-1) JSDebugMode的取值和含义如下: 取值 含义 0 关闭调试功能 1 Debug/Normal模式 2 Debug/Wait模式 当项目正...

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

89. webstorm能编译ts代码到bundle.js 里面吗 [ 67%]

...加prevTasks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } console.log("jsroads------prevTasks:" + JSON.stringify(prevTasks)); //使用browserify,转换ts到js,并输出到bin/js目录 gulp.task("compile", "", function () { // 发布时调用编译功能,判断是否...

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

90. 发布时勾选压缩js后,gulp uglify生成的sourcemap在哪里 [ 67%]

...task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle: { keep_fnames:true } })) .pipe(sourcemaps.write(releaseDir + '/../sourcemaps')...

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