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

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

11141. 如何实现鼠标左键点中按钮,然后按钮随鼠标拖动 [ 55%]

如何实现鼠标左键点中按钮,然后按钮随鼠标拖动 2016-09-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: jason18380447822 实现鼠标拖拽可以通过多种方式实...

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

11142. webaudio 在iframe中使用, android chrome中没声音 [ 55%]

...e中使用, android chrome中没声音 在android chrome上,直接在192.168.188.253:8080/index.html访问是可以播放webaudio的,但是通过iframe src="192.168.188.253:8080/index.html"却不行。经过搜索,是chrome禁止iframe中的跨域webaudio自动播放。参考Block Web Audio ...

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

11143. 关于DrawCall和Shader数量的疑问 [ 55%]

...cacheAs也无效。具体对比图如下: 1、有名称时:        2、无名称时 具体的城池名称制作流程如下图   实现的伪代码如下:_container = new Sprite(); Laya.stage.addChild(_container); _container.cacheAs = "normal"; private function createCity(worldMapData:Obj...

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

11144. 2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null [ 55%]

2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null Cannot read property 'LESS' of null TypeError: Cannot read property 'LESS' of null     at Function.value (http://127.0.0.1:43542/game/li ... :19438)     at Object.value [as init] (http://127.0.0.1:43542/game/li ....

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

11145. [LayaAir3]我修改了这个启动场景,从Loading——>register之后,就导致报这个错误,即使后面修改回去,也不行。怎么解决? [ 55%]

...n"  [Ln 96, Col 49] at /D:/Laya3IDE/LayaAirIDE/resources/app.asar/game.js:2编译失败 at /D:/Laya3IDE/LayaAirIDE/resources/app.asar/game.js:2 附件 : --> 2025-10-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

11146. Sound类如何中断加载声音? [ 55%]

....buffer more than once is deprecated and will no longer work in Chrome 43. 2016-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: AIQR2013 @HummerMan   第一个问题:音效未加...

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

11147. 2.13 2d物理系统 physics 碰撞体信息的owner为null [ 55%]

2.13 2d物理系统 physics 碰撞体信息的owner为null     demo  思路是这样的 1. 没有用 力和速度 作为移动 2.用 tween 缓动到像素点 3.用script 脚本 每帧刷新 _sysPosToPhysic 4.碰撞时 会出现 碰撞体信息消失的情况 上面截图 5.劳烦官方大大看...

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

11148. 新版1.7.17beta,玩一玩打包问题 [ 55%]

...像用不到layaforqq.js了?是引擎有新改动吗,有没有demo? 2018-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: sogetsu 新版这个不用了,后面直接发布直接...

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

11149. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 55%]

...a.Animation(); //加载动画文件 this.tl.loadAnimation("imgdebris/naruto2.ani"); //添加到舞台 var apesCtn = new Laya.Sprite(); Laya.stage.addChild(apesCtn); var _this = this; this.tl.on(this.Event.COMPLETE,this,function(){ _this.tl.stop(); }) console.log(this.tl) this.tl.interval = 1000 / 60...

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

11150. 麻烦大神看一下 Cannot read property 'managers' of undefined [ 55%]

...神看一下 Cannot read property 'managers' of undefined   附件 : --> 2019-10-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 这个是做什么东西到哪一步出的问题?能...

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