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

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

1541. https://ask.layabox.com/question/13181官方Demo运行不起来 [ 46%]

...oto._changeCanvasSize (http://127.0.0.1:60853/game/su ... 8309:8)     at TimerHandler.__proto.run (http://127.0.0.1:60853/game/su ... 816:45)     at Timer.__proto._update (http://127.0.0.1:60853/game/su ... 573:13)     at Stage.__proto.render (http://127.0.0.1:60853/game/su ... 499:15)     a...

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

1542. 疑似clearRes内存泄漏问题 [ 46%]

...生回调问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 graphics alpha 问题 问题状态 最新活动: 2019-03-08 16:53 浏览: 4409 关注: 7 人 kayo • 2019-03-21 08:27 我用2.0的版本测试的,这个问题没有解决,我晕晕晕晕晕晕晕晕晕...

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

1543. 多摄像机窗口的使用(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 46%]

...对视口重新赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function ():void { //获取第一个摄影的视口 var viewport1:Laya.Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = view...

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

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

...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

1545. [LayaAir 2.0]laya2.0 CharacterController move 运动不平滑,会抖动 [ 46%]

...s.characterController.restitution = 0; //弹力     在onUpdate 或者用timer驱动运动  或者只执行一次 .move()      都会出现 不规律抖动, this.characterController.move(movePos);       有没有遇到的? 2019-06-26 添加评论 免费帖 --> 分享 微博 QZONE ...

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

1546. Tween缓动在移动端效果的问题 [ 46%]

...如何操作? 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 这样写的代码,Tween动画里面只有alpha有效果,scalex和scaley没有变化,怎么回事啊? 3D模型tween旋转 问题状态 最新活动: 2018-05-29 15:01 浏览: 2526 关注: 4 人 freed...

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

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

...;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

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

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

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

1549. 3D+2D场景截屏,在不同浏览器显示效果不一致 [ 46%]

...ture) { this.tempTexture = new Laya.Texture(this.tempTexture2D); } // Laya.timer.once(110, this, function(){ let cans = Laya.Browser.document.getElementById("layaCanvas"); var spi = new Laya.Sprite(); var spi1 = new Laya.Sprite(); var spi2 = new Laya.Sprite(); this.tempTexture2D.loadImageSource(cans...

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

1550. 怎么像canvas那样做到每次循环去清空一次画布,我发现每次画的时候他会把上一次的坐标也画出来,导致变形了,该如何让他每次累加的同时清空上次的路径 [ 46%]

...ew Laya.Sprite(); bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.move); // drawSomething(); } move() { sp = new Laya.Sprite(); Laya.stage.addChild(sp); //画曲线 if(x<100){ x++; } sp.graphics.clear(); sp.graphics.drawCurves(10, 58, [x, 0, 19, -100, 39, 0], ...

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