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

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

241. laya.device.media.Video [ 48%]

...支持"lighter"。Sprite  buffered : *[read-only] buffered 属性返回 TimeRanges(JS)对象。TimeRanges 对象表示用户的音视频缓冲范围。缓冲范围指的是已缓冲音视频的时间范围。如果用户在音视频中跳跃播放,会得到多个缓冲范围。 buffered.length...

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

242. 微信小游戏,下拉手机的顶部菜单后,背景音乐停止播放,拉回去后,未触发onshow,按Home键回最小化,再回来后能触发onshow,可以继续播放背景音乐 [ 48%]

...戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? Laya.timer.loop()如何停止 骨骼动画播放完后的回调时间 2.1.1.1引擎微信小游戏掉帧严重 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 1.7.15 小游戏3d 发布后在手机预览显示异...

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

243. [LayaAir2] 在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 48%]

...LayaAir3.0引擎,那边实现videoTexture不用自己手动刷新 Laya.timer.frameLoop(1, this, this.updateVideo, [texture2D]); },true); } updateVideo(tempTexture:Laya.Texture2D){ if(this.htmlvideo.video.readyState === this.htmlvideo.video.HAVE_ENOUGH_DATA) { //更新视频纹理 tempTexture.loadI...

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

244. 【官网代码】加载dom音频报错,怎么回事? [ 48%]

...;audioBufferSourceNode.buffer = buffer;audioBufferSourceNode.start(0);Laya.timer.loop(1,this,this.drawHandler);}private function drawHandler():void{Laya.stage.graphics.clear();var dataArray:Uint8Array = new Uint8Array(analyser.frequencyBinCount);analyser.getByteFrequencyData(dataArray);var step:int ...

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

245. [3.0.6]运行时切出窗口,再回来后不能正常显示和停止运行 [ 47%]

...引导的抠图透明区域为黑色,其它机型都是正常的。 Laya.timer.loop()如何停止 循环依赖不能运行 Circular dependency: runtime运行报错! 打包安卓,代码正常运行,但是黑屏 3d物理不能触发onCollisionEnter事件 问题状态 最新活动: 2023-10-12 14:...

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

246. laya.media.SoundNode_API3.0 [ 47%]

...e scrollRect skewX skewY source stage staticCache stopEvent target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroy...

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

247. laya.display.Animation [ 47%]

...据;"url#aniName":表示相应名称的动画模版。 Animation clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node  createFrames(url:*, name:String):Ar...

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

248. drawTexture 画出来的数据会有以前的数据 [ 47%]

...ame1():void { xNum = Math.random()*7 - 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(ic...

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

249. 飞机大战js源码中判断语句问题 [ 46%]

...理函数,用于背景位置的更新,实现背景滚动效果。 Laya.timer.frameLoop(1, this, onLoop); })() /** * 在onLoop函数内,更新box容器的位置。 */ function onLoop() { //设置背景容器由上向下移动 1px box.y += 1; //当背景1向下移动出游戏的显示区域 480*...

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

250. 没有预加载的图片怎么获取width和height ? [ 46%]

...getGraphicBounds().width,older.getGraphicBounds().height);     // Laya.timer.loop(1,this,showlog); } 2017-09-01 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 通过getBounds获取图片的宽高 2017-01-18 0 10 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...

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