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

大约有 315 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)

11. Sprite-新手引导 [ 94%]

...(tipContainer); } else { var step = guideSteps[guideStep++]; hitArea.unHit.clear(); hitArea.unHit.drawCircle(step.x, step.y, step.radius, "#000000"); interactionArea.graphics.clear(); interactionArea.graphics.drawCircle(step.x, step.y, step.radius, "#000000"); tipContainer.graphics.clear(); tipConta...

来源: Laya_示例 发布时间: 20240930

12. 显示对象的遮罩调用clear后还是能看到显示对象 [ 94%]

显示对象的遮罩调用clear后还是能看到显示对象 给某个显示对象img动态创建一个sprite遮罩imgmk,点击某个按钮1时对imgmk进行绘图从而能够显示出img对象,再点击按钮2时调用imgmk.graphics.clear(),结果还是能看到img对象   附件 : --> soundD...

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

13. 关于切换图片的问题 [ 93%]

...g.loadImage(this.plane1); Laya.stage.addChild(this.img); this.img.graphics.clear(); this.img.loadImage(this.plane2); Laya.stage.addChild(this.img) } } new Main(); 出来的结果是两张图合并到了一起, 于是我再尝试 constructor() { Laya.init(1000,800); this.img = new Laya.Sprite; this...

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

14. 关于环形进度条,进度不能重置问题 [ 93%]

...度不能重置问题 我无法把画面重新弄到进度为0的时候,clear方法没用 附件 : --> test2.zip 2017-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: gls_laybox var ...

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

15. Animation 先clear当前的动画, 然后从浏览器缓存 加载下一个动画会闪一下,这个怎么解决? [ 92%]

Animation 先clear当前的动画, 然后从浏览器缓存 加载下一个动画会闪一下,这个怎么解决? 2018-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: 闪一...

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

16. skin 大于512 的释放问题 [ 91%]

...showFight(num: number): void { if (this._sprFight) this._sprFight.graphics.clear(); this._sprFight = bigao.utils.TextrueUtils.getNumberByUrl(resourcesCenter.ResourcesPathStr.FIGHT_NUMBER_PATH_PNG, num.toString()); this._sprFight.x = 600; this._sprFight.y = 150; this.addChild(this._sprFight); } dispo...

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

17. webgl遮罩的BUG [ 90%]

...进度条的效果                   this.mMask.graphics.clear();                 Laya.timer.loop(10,this,this.showMask);         public showMask():void         {             this.mMask.graphics.clear();            this.mMask.graphic...

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

18. laya.utils.Tween_API3.0 [ 90%]

... Hierarchy Tween Index Properties repeat update Accessors progress Methods clear complete from pause recover restart resume setStartTime to clear clearAll from to Properties repeat repeat: number = 1 Defined in laya/utils/Tween.ts:38 重播次数,如果repeat=0,则表示无限循环播放 update...

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

19. drawTexture 画出来的数据会有以前的数据 [ 89%]

...oop(10,this,refresh); } private function refresh():void { IconSpr.graphics.clear(); iconSpr.graphics.clear(); if(htmlCanvas) htmlCanvas.clear(); htmlCanvas = iconSpr.drawToCanvas(iconSpr.width,iconSpr.height,0,0); if(!texture) texture = new Texture(htmlCanvas); else { texture.destroy(true); texture ...

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

20. 微信小游戏渲染开放域卡顿处理 [ 89%]

...;             var post = pfUtils.postMessage;             self.clear();             post('exit', { view: self.$viewName });             // post('pause');         }         /**          * 设置界面名称          */         public set viewName(value: s...

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