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

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

131. GITHUB上的引擎代码, 应该怎么编译 [ 79%]

...g 赞同来自: 在publish目录里面有编译工具,可以自己编译 LayaAir.d.ts目前是内部工具,暂时不对外提供 2018-04-26 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cidea 相关问题 看了其他引擎才发现...

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

132. IDE报错,不知道什么鬼问题 [ 79%]

...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: https://stackoverflow.com/questions/38420846/typescript-cannot-find-name-iterableiterator   tsc 找不到tsconfig.json 检查一下项目文件把他补上 2019-07-23 0 1 分享 微博 QZONE 微信 ...

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

133. 求一个三角旋转的算法代码。 [ 79%]

...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: sheen 硬算代码: vector3d为旋转轴ac轴,  point3d为B点, 返回结果为D点  PointRoundVector( vector3d: Vector3, point3d: Vector3 ,  Aplha: number ): Vector3{                ...

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

134. 怎么集成导入mqtt.js到laya[ 79%]

怎么集成导入mqtt.js到laya中 用的mqant的paho-mqtt.js,通过d.ts调用,导包一直有问题,不知道该如何正确导入到laya中。 2018-09-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 La...

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

135. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 79%]

...nt(LoveControl);  //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame();  //点击重置按钮,重新开始 this.button_reset.on(Laya.Event.CLICK, this, this.onClickReset);  let partPath = "res/aixin_bao.part"; Laya.loa...

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

136. 编译异常 Note that you need plugins to import files that are not JavaScript [ 79%]

...错误,有大佬遇到吗? [17:24:32] Working directory changed to D:\LayaAirIDE2.3.0\resources\app [17:24:32] Using gulpfile ~\Desktop\MineKart(2)\.laya\compile.js [17:24:32] Starting 'compile'... [17:24:33] 'compile' errored after 668 ms [17:24:33] Error: Unexpected token (Note that you need p...

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

137. 【分享】matter物理引擎demo [ 79%]

..., 你的Matter.d.ts是怎么来的,  和那个版本的matter.js对应? Laya官方使用的是matter-js 0.10.0 2018-06-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 umi_ 相关问题 看了其他引擎才发现 LAYA 真的太太太...

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

138. Touch接口缺少stageX,stageY [ 78%]

...       touches[0].stageX - touches[1].stageX);                 Laya.stage.on(Event.MOUSE_MOVE, this, this.onMouseMove);             }         }   在微信调试时取出的touches是一个Touch数组,通过chrome看Touch类是包含stageX/stageY的,但lib.d.ts中声明的T...

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

139. layacmd compile 编译,自定义编译后输出JS文件的位置 [ 78%]

layacmd compile 编译,自定义编译后输出JS文件的位置 1、我现在使用layacmd compile 命令进行编译,编译之后生成的文件默认是在 D:\love\h5\bin\h5\js\*.js 2、因为项目需求想要把这些生成的文件放在其他位置,例如:D:\love\WEB\JS\,以供区...

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

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

...peError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing an...

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