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

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

831. matter.js mouseconstraint在微信小游戏中无效 [ 64%]

...中mouseConstraint无法拖拽刚体,ide里是正常的。添加Matter.Events.on(mouseConstraint, 'mousedown')测试,微信小游戏里有响应,但e.mouse里的参数无效 chrome调试输出mouse参数正常。  微信小游戏里参数NaN。 2018-05-20 0 0 分享 微博 QZONE 微信 为什...

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

832. 调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined [ 64%]

... new Test (Test.js:3)     at onAssetLoaded (LayaUISample.js:64)     at EventHandler.__proto.runWith (laya.core.js:681)     at ResInfo.__proto.event (laya.core.js:460)     at LoaderManager.__proto._endLoad (laya.core.js:11993)     at Loader.onLoaded (laya.core.js:11972)     at EventHandle...

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

833. 简单粒子效果,发布成单机版apk在移动端安装运行,结果显示不出来 [ 64%]

...proto.onAssetsLoaded (http://www.xxx.com/LayaUISample.max.js:440)     at EventHandler.__proto.run (http://www.xxx.com/LayaUISample.max.js:702)     at ResInfo.__proto.event (http://www.xxx.com/LayaUISample.max.js:495)     at LoaderManager.__proto._endLoad (http://www.xxx.com/LayaUISample.max.js...

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

834. 如何使用graphics.loadImage加载图片资源的时候,如何判断加载失败? [ 64%]

...代码来获取失败信息,但貌似没有效果的: this.avatar.on(Event.ERROR, this, function() { console.log('loaded fail'); }); 2017-09-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ybs1905com 赞同...

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

835. 2.0 beta UI Button无法获取 [ 64%]

...imationClip呢? 关于发布oppo、vivo快游戏,无法生成Rpk问题 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 怎样获取浏览器地址传过来的GET参数 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 如何获取图片每个像素点的RGB? [...

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

836. 如何设置一个定时器 API看不懂 [ 64%]

...提交 1 个回复 he853066732 赞同来自: typeScript:     box.on(Laya.Event,this,()=> { Laya.timer.once(6000,this,()=> { //提示信息 }) }) 2018-04-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cyk123 相关问题 两个...

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

837. laya.d3.core.light.PointLight_API3.0 [ 64%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

来源: Laya3.0_api 发布时间: 20231115

838. 用最新版本的IDE开发,用AS语言开发,用HttpRequest加载图片报错,用JS语言开发却可以加载 [ 64%]

...p:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuff...

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

839. layaAir 打包成apk后在真机上运行 使用粒子时报错 [ 64%]

... (http://192.168.1.240:8900/bin/ ... :11690)                at e.i.event (http://192.168.1.240:8900/bin/ ... 1:9149)                at e.n._endLoad (http://192.168.1.240:8900/bin/ ... :27979)                at e (http://192.168.1.240:8900/bin/ ... :27286)              ...

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

840. [LayaAir3]ShaderPass获取nodeCommonMap为空 [ 64%]

...元素的坐标 分享:LayaAir下如何获取图集下的小图资源? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 tree mouseHandler 怎么获取条目 问题状态 最新活动: 2025-06-26 14:45 浏览: 662 关注: 2 人 Heured • 2025-06-26 14:59 beta4 已经有图里这...

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