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

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

661. Laya 绑定显示内容到骨骼动画 [ 41%]

....offestX+position.y; } }  destroy(destroyChild?:boolean):void{ this.timer.clear(this,this.__updateBinds); this.__bindList.length=0; this.__bindList=null; super.destroy(destroyChild); } }   2. 可绑定到骨骼的内容 /** * 可绑定到骨骼的内容(实现者必须是Laya.Sprite的子类)...

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

662. CPU优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 41%]

... this, dispose); private function dispose():void  {     Laya.timer.clear(this, animateFrameRateBased); } ``` ​ 当一个对象的生命周期结束时,记得清除其内部的Timer: ### **三、获取显示对象边界的做法** 在相对布局中,很经常需要正确地获取显...

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

663. CPU优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 41%]

...d); Laya.stage.on("click", this, dispose); function dispose() { Laya.timer.clear(this, animateFrameRateBased); } ``` 当一个对象的生命周期结束时,记得清除其内部的Timer: ### **三、获取显示对象边界的做法** 在相对布局中,很经常需要正确地获取显示对...

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

664. laya.resource.NativeContext_API3.0 [ 41%]

...ffff add_iiifffffffff_ab_ab_ab add_iiiifff add_iiiifff_String_String alpha clear clipRect destroy drawCanvas drawCurves drawFilter drawMask drawMaskComposite drawMasked drawRect drawTarget drawTargetBlurFilter drawText drawTexture drawTextureWithSizeGrid drawTextureWithTransform drawTriangles fillBo...

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

665. 用javascript如何实现游戏登录游戏前的资源加载进度,如何将图片,音乐等素材加载到界面通过加载条显示加载进度 [ 40%]

...se)); } public createGameScene() { this.progressUI.onDisable(); Laya.timer.clear(this, this.updataPosition) let gameManager = new GameManager(this.token); gameManager.preInit(); } public progress(e) { this.progressUI.setPosition(Laya.stage.width / 2, Laya.stage.height / 2); this.progressUI.UIMenu.tw...

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

666. laya.display.Graphics [ 40%]

...s()Graphics  alpha(alpha:Number):AlphaCmd 设置透明度。 Graphics  clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy()...

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

667. 可能有个昵称叫做“syy”的一只掉进粪坑里的猪会在下面乱叫 [ 40%]

...下,两个相同颜色图片的边缘有可能会出现黑线 Laya.Timer.clear 的源码可能有个问题。 Byte 类中的报错信息的可能原因? app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 问题状态 最新活动: 2019-08-0...

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

668. laya.display.FrameAnimation_API3.0 [ 40%]

...dChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents ...

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

669. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 39%]

...f (!canmove){ console.log("move over");             Laya.timer.clear(this,funbg);             this.moveover=false; } } 这个是简单的一段代码 请注意如果初始化不设置 this.bgimg.width=scronw; this.bgimg.height=scronh;   这个是设置宽高的地方,只...

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

670. CPU优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 39%]

...Based); Laya.stage.on("click", this, this.dispose); dispose() { Laya.timer.clear(this, this.animateFrameRateBased); } ``` 当一个对象的生命周期结束时,记得清除其内部的Timer: ### **三、获取显示对象边界的做法** 在相对布局中,很经常需要正确地获取显...

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