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

大约有 161 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)

51. layaair2-cmd 编译功能BUG [ 72%]

... layaair2-cmd 编译功能BUG 想问一下官方,这个命令行工具的compile功能,到底和IDE的编译功能差别在哪? 当在IDE里的scene中,对组件操作,设置组件的name(为了在runtime实例中通过getChildByName获取子节点),通常设置完name,如果不用IDE...

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

52. 能不能让LayaFlash支持原生的条件编译 [ 72%]

...我是这样做的: 1.使用flashDevelop,在项目属性->编译选项(Compiler Options)->编译常量(Compiler Constats),写入 CONFIG::cn,false CONFIG::en,true 如图: 2.在代码中写入 CONFIG::cn{     [Embed(source="ui_cn.swf", mimeType="application/octet-stream")]     private ...

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

53. MovieClip元件是含有帧代码,在提取帧上代码的示例存在BUG。 [ 72%]

...&id=23   如果在主应用类包里添加发布标志的代码: /*[COMPILER OPTIONS:release]*/   那编译运行时,就跟去掉帧代码的结果是一样的,不会执行到提取出来帧代码对应的AS类。   2015-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

54. LayaFlash如何使用chrome调试问题? [ 72%]

...语句“import”代码段间的任意位置加上此宏编译标记“/*[COMPILER OPTIONS:debug]*/”即可开启debug模式:456789101112 package { /*[COMPILER OPTIONS:debug]*/ import flash.display.Sprite; import flash.events.Event; public class Main extends Sprite { …… } …… }   开启...

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

55. LayaAir 如何做自动构建? [ 72%]

... layacmd 2 cd 进入项目路径  layacmd publish 就是发布   layacmd compile 就是编译 3 layacmd publish 项目路径(默认是cwd路径)   layacmd compile 项目路径(默认是cwd路径)   2017-01-12 0 3 分享 微博 QZONE 微信 devilsome 赞同来自: 非常感谢 2017-01-16 0 0 分...

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

56. Hello Layabox示例中没有gulpfile.js这个文件 [ 71%]

...交 3 个回复 183*****678 赞同来自: 我自己已经找到了,哎在compile.js里面。位置移动了和官网文档对不上会误导人。 2019-03-22 0 2 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 有compile.js 和 publish.js就可以 2019-03-22 0 0 分享 微博 QZONE 微信 183*...

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

57. 微信小游戏发布问题 [ 71%]

...:468:33) at Object.fs.readFileSync (ELECTRON_ASAR.js:506:29) at LayaProjectCompiler.compressJsFiles (E:\Laya\LayaAirIDE_beta\resources\app\node_modules\layacmd\layacmd-publish.js:141:21) at emitNone (events.js:86:13) at LayaProjectCompiler.emit (events.js:185:7) at LayaProjectCompiler.compile (E:\La...

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

58. 新建Laya2D空项目(TS),编译出错! [ 70%]

..._beta\resources\app [15:32:44] Using gulpfile D:\workshop\Laya\Test5\.laya\compile.js [15:32:44] Starting 'compile'... 出错了: TypeScript error: ../node_modules/@types/node/index.d.ts(37,22): Error TS6053: File '../node_modules/@types/node/inspector.d.ts' not found.   ----我是分割线--------...

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

59. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 70%]

...:18] Using gulpfile D:\Users\Administrator\Personal\myLaya2.2\Client\.laya\compile.js [16:39:18] Starting 'tsc'... [16:39:18] Starting 'CopyNoneTSFile'... [16:39:18] Finished 'CopyNoneTSFile' after 169 ms error { Error: Command failed: D:\laya\2.2.0\resources\app\node_modules\.bin\tsc.cmd -b "D:\Use...

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

60. laya2.3微信开放域点发布后编译就会报错 [ 69%]

...作步骤: 1.layaIDE2.3.0创建开放域项目 2.直接点发布按钮(compile.js中代码会发生改变。) 3.然后编译就会如下报错。 Incompatible tsconfig option. Module resolves to 'CommonJS'. This is incompatible with rollup, please use 'module: "ES2015"' or 'module: "ESNext"'. ...

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