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

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

341. 使用滤镜报错 [ 59%]

...AYA/PFX12/H5_SHZ/bin/libs/laya.core.js:23986:23) at Function.SubmitTexture.create (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:23049:18) at WebGLContext2D.__proto._drawTextureM (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:21451:26) at WebGLContext2D.__...

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

342. ipad 声音管理无法暂停继续播放,只能从头开始,pc端正常,代码如下 [ 59%]

... this.soundMan = Laya.SoundManager.playMusic(this.leadSoundUrl, 1, Handler.create(this, this.soundEndFun1));             this._btnTimeOutPlay.visible = true;             this._btnPlaySound.visible = false;             this.playBoo = false;             return;         }  ...

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

343. LayaAir中怎么使用node.js 的 socket.io [ 59%]

...是这4部操作,不知道是否正确,现在出现 TypeError: Cannot create property 'path' on number '10000' at new r (file:///Users/bingbing/MahjongProject/MahjongLaya/bin/socket.io.js:1:15053) zhishaofei3 • 2017-09-22 23:31 @piaobo80:链接打不开了怎么办 还有链接吗 重发一下...

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

344. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 59%]

...载图集 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded ), null, Laya.Loader.ATLAS) } onLoaded(){ Laya.stage.addChild(new TopUI()) Laya.stage.addChild(new TabUI()) this.getGold.on(Laya.Event.MOUSE_DOWN,this,function(){ console.log("点击事件"...

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

345. 渲染完成的回调 [ 59%]

...之后切换为待机动画,会导致播放的动画异常 Laya.loader.create 进度回调函数执行两次 问题状态 最新活动: 2017-11-27 14:10 浏览: 1190 关注: 2 人 asdf131 • 2017-11-27 13:50 再详细一点吗?changeHandler不是滚动时调用的吗? asdf131 • 2017-11-27 1...

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

346. 同步龙骨插槽动画方案 [ 59%]

...} }     xx{     this.mSketon = new MSketon(this.type, Laya.Handler.create(this, this.onSkeLoaded), 2);     Laya.timer.frameLoop(1, this, this.update); ..........................................................................................................................................

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

347. drawTexture的matrix参数是怎么用的 [ 59%]

...点对象,获取子节点的索引位置。参数是什么 Laya.Handler.create 加载图片回调参数问题 Dispather.event参数传的是数组,为什么收到的参数却是个int类型? http 请求 once 的 回调参数,如何传递和接收? 点击按钮打开对话框的时候能往...

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

348. 微信3D小游戏 ,Laya2.2.0 在微信工具中运行,WebGLShader 崩溃,如截图,100%重现,在安卓/iOS真机上不出这个问题 [ 59%]

...ntext': parameter 1 is not of type 'WebGLShader'.    at ShaderInstance._createShader (laya.d3.js:1)     at ShaderInstance._create (laya.d3.js:1)     at new ShaderInstance (laya.d3.js:1)     at ShaderPass.withCompile (laya.d3.js:1)     at SubMeshRenderElement._render (laya.d3.js:1)  ...

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

349. 模型资源释放 [ 59%]

...源配置表 Laya.loader.load([{url:assetsUrl,type:Loader.JSON}], Handler.create(this,onAssetsOK,[assetsUrl])); } /**加载资源释放表完成后**/ private function onAssetsOK(assetsUrl:String):void { //获取加载的数据(Json数组转化成数组) var arr:Array=Laya.loader.getRes(assetsUr...

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

350. 图集动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 58%]

...#232628"; roleAni = new Animation(); Laya.loader.load(AniConfPath, Handler.create(this, onLoaded), null, Loader.ATLAS); } private function onLoaded(_e:*=null):void { Animation.createFrames(aniUrls("die",6),"dizziness"); roleAni.play(0,true,"dizziness"); Laya.stage.addChild(roleAni); } /** * 创建...

来源: Laya2.0_文档 发布时间: 20210715