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

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

111. 3D粒子现在支持Render Mesh吗? [ 73%]

...aya.core.js:999)     at Loader.event (laya.core.js:1038)     at Loader.complete (laya.core.js:18719)     at Loader.onLoaded (laya.core.js:18675)     at EventHandler.runWith (laya.core.js:997)     at HttpRequest.event (laya.core.js:1038)     at HttpRequest.complete (laya.core.js:18328)  ...

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

112. 骨骼动画-适配版Spine [ 73%]

...neVersion.v3_8); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError); } parseComplete() { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2,...

来源: Laya2.0_示例 发布时间: 20251130

113. Laya.HttpRequest 没有调用回调方法? [ 73%]

...Request(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); consol...

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

114. 骨骼动画-多纹理 [ 73%]

...es/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { // 创建模式为1,使用动画自己的缓冲区,可以启...

来源: Laya2.0_示例 发布时间: 20251130

115. 关于.sk文件加载问题 [ 72%]

...接 提交 2 个回复 cuixueying 赞同来自: 为其添加tem.on(Event.COMPLETE,this,onCom);事件即可! 2017-09-12 0 0 分享 微博 QZONE 微信 shimp 赞同来自: 能详细一点吗?tem是哪个对象,我需要所有的都加载完成,谢谢 我的代码是 private  loadSk{ this.sk_5...

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

116. laya.d3.resource.TextureCube [ 72%]

...p():void 通过基础数据生成mipMap。 BaseTexture  load(url:String, complete:Handler):void[static] 加载TextureCube。 TextureCube  setSixSideImageSources(source:Array, premultiplyAlpha:Boolean = false):void 通过六张图片源填充纹理。 TextureCube  setSixSidePixels(width:int, he...

来源: Laya2.0_api 发布时间: 20190513

117. iOS wkWebView [ 72%]

...Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.send('http://tdev.sanguoh5.com:8001/?r=h.a.a', null, 'get', 'text'); }  private onHttpRequestError(e: any): ...

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

118. 骨骼动画-藤蔓 [ 72%]

..."res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...

来源: Laya2.0_示例 发布时间: 20251130

119. 2.6.0在微信小游戏TTFLoader加载ttf字体失败 [ 72%]

...数永远不会执行到,不知道具体原因 然后loop注册的 _checkComplete 一直在执行 里面的逻辑条件一直无法达成所以也调不了this._complete();:private _checkComplete(): void { //该条件一直无法达成 if (ILaya.Browser.measureText(TTFLoader._testString, this._f...

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

120. 我想给所有能点击的按钮或图片,添加一个放大缩小的效果,要怎么实现 [ 72%]

...么做 Monica • 2017-11-17 15:45 @152*****215:直接监听动效动画的COMPLETE(播放完成)事件即可 152*****215 • 2017-11-17 16:26 @Monica:动画模板是直接拖到控件上的,怎么监听complete事件 Monica • 2017-11-17 16:31 @152*****215:右侧属性栏中有var变量,...

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