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

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

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

...舒服,自己封装的定时器,不想用可直接替换成Laya.timer.frameLoop来替代,请自行修改跟Timer相关代码。 module lie {     /**      * 定时器,可启动、停止及统计已运行时间(单位毫秒),默认启动      */     export class Timer {     ...

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

72. laya.spine.SpineSkeleton_API3.0 [ 40%]

...r destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getAniNameByIndex getAnimNum getBoneByName getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds getSkeleton g...

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

73. drawTexture 画出来的数据会有以前的数据 [ 39%]

... 3; yNum = Math.random()*7 - 3; Laya.timer.loop(20,this,onRun); Laya.timer.frameLoop(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(!t...

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

74. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 39%]

...画,一个图片,让这个sprite左右来回移动. 我的做法是启动frameLoop, 每帧移动3个像素. 结果是开始帧率在60,渲染时间保持在16, 过了大概15秒以后,渲染时间就会增加,帧率变慢,请问是什么原因导致的? /*********************************************...

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

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

...dx; this.bgimg.speedy=speedy; console.log("funmovebg"+movetox); Laya.timer.frameLoop(speed, this, funbg);     2017-10-25 0 2 分享 微博 QZONE 微信 yinglei999 赞同来自:     var Loader = Laya.Loader;     var loaderHandler = Laya.Handler; var scronw=640; var scronh=960;      //...

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

76. laya.media.SoundNode_API3.0 [ 38%]

...r destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY...

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

77. laya.ui.FrameClip [ 38%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170422

78. laya.device.media.Video [ 38%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

79. laya.display.FrameAnimation_API3.0 [ 37%]

...r destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY...

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

80. laya.device.media.Video [ 37%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

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