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

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

351. 如何过滤拥有相同name的节点对象? [ 52%]

...池的使用方法是不是先new一个类然后在存到对象池 tween complete 报错 以及如何判断对象正在缓动中 创建对象时使用wx报错 Laya3D项目,LayaPlayer环境下如何通过精灵创建贴图对象,从而赋给材质? 获取sprite对象的 width和height为0 问...

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

352. spine动画放大后,遮罩显示不正常 [ 52%]

...     let mFactory = new Templet();         mFactory.on(Event.COMPLETE, this, this.parseComplete,[parent,mFactory]);         mFactory.on(Event.ERROR, this, this.onError);         mFactory.loadAni(path);     }      onError() {         trace("error");   ...

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

353. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 52%]

...PROGRESS, this, onHttpRequestProgress);             hr.once(Event.COMPLETE, this, onHttpRequestComplete);             hr.once(Event.ERROR, this, onHttpRequestError);             hr.send(NameJosn, null, 'get', 'xml');               function method():void       ...

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

354. android native环境,ttfloader加载的字体,设置无效果! [ 52%]

...失败ubuntu-bold.ttf");             });             ttfloader.complete = Laya.Handler.create(this, () => {                                 let txt = new Laya.Text();                 txt.text = "hello world!";                 txt.font = "ubuntu";     ...

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

355. 【2.0】3d骨骼绑定问题。多次绑定移除会导致动画停止。demo上传了 [ 52%]

...?因为同是加载多个相同的模型对象 第一个显示不出来,complete执行了,奇了怪了 2019-01-27 0 0 分享 微博 QZONE 微信  赞同来自: 你的代码写的有点乱  我就单独给你改了一个动画挂点去挂点的例子    检验过是好的  你还用了内...

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

356. laya.display.Graphics [ 52%]

...l:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void 加载并显示一个图片。 Graphics  restore():void 返回之前保存过的路径状态和属性。 Graphics  rotate(angle:Number, pivotX:Number = 0, pivotY:Number = 0):void 旋转当...

来源: laya_api 发布时间: 20170929

357. 我二进制资源load之后,为什么通过getRes获取不到。 [ 52%]

...戏有个loading页面 我通过load方法把资源全部load之后,在complete方法中通过getRes方法获取不到。部分代码如下: var resources = [ { url: "res/atlas/images/guide.atlas", type: Laya.Loader.ATLAS }, { url: "config/data.txt", type: Laya.Loader.BUFFER }]; Laya.loader.load...

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

358. 解析sk资源报错 [ 52%]

...      _templet = new Templet();             _templet.on(Event.COMPLETE,this,parseComplete);             _templet.on(Event.ERROR,this,onError);             _templet.loadAni("res/role/1/left/left.sk");         }                  private function parseCo...

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

359. Clip组件Bug:Play方法无法结束循环 [ 52%]

...erval = interval;         }          this.on(Laya.Event.COMPLETE, this, () => {             this.destroy();         });         this.frameIndex = 0;         isLoop ? this.toFrameIndex = -1 : this.toFrameIndex = (cols * rows -...

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

360. web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined [ 52%]

...的链接 提交 2 个回复 金风 赞同来自: this.xhr.once(Laya.Event.COMPLETE, this, this.CompleteHandler); this.xhr.once(Laya.Event.ERROR, this, this.ErrorHandler); this.xhr.on(Laya.Event.PROGRESS, this, this.ProgressHandler); this.xhr.send(Global.WebHost+this.currentRequest.url, this.current...

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