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

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

61. 分享 修复webaudiosound 循环播放的声音 俩个失声问题 [ 72%]

...uffer) { // console.log("audioBuffer is null",this.url) return; } if (this.startTime >= this.duration) { if (this.loops == 1) { return this.stop(); } this.startTime = 0; }  2.修复 当播放未加载好的声音时 声音状态为暂停时 声音不播放的问题修复   webAudioSound 方法...

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

62. Laya.Script的派生类的_update函数不工作? [ 72%]

...了一个自己的class,贴在一个物体上,运行的时候脚本的_start函数中的log正常打印出来了,但是_update函数中的log没有打印 _update(state:Laya.RenderState) { console.log("state:", state.elapsedTime); } 请问,是我的打开方式有问题吗?   谢谢! 2...

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

63. LayaAPP打包后laya.webgl.j错误,浏览器测试没问题 [ 72%]

...错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. iphone自带浏览器页面怎么锁定 Laya mac版的IDE 是没测试就上线了吗? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 1.8.4...

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

64. laya.resource.RenderTexture2D_API3.0 [ 72%]

...Format hasListener isCreateFromURL off offAll offAllCaller on once restore start destroyUnusedResources popRT pushRT Constructors constructor new RenderTexture2D(width: number, height: number, format?: RenderTargetFormat, depthStencilFormat?: RenderTargetFormat): RenderTexture2D Overrides BaseTextur...

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

65. 出现一个不是必现,但很容易出现的报错,不知道可能是什么原因导致的? [ 71%]

...说明 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译...

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

66. js进度,进度,js场景进度效果 [ 71%]

...度场景 alert('进度加载完毕'); this.Progress.visible = false; this.Start = new Start(); this.Start.zOrder = 2;//由于UI[b]编辑不能这只层级·需要用代码打..[/b] }) } return Class; })(); } var game = new Game();   附件 : --> 2017-08-03 添加评论 免费帖 --> 分享 微博 ...

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

67. 1.7.19.1 beta 背景音乐在舞台失焦和静音状态下可能导致的无法播放的异常问题! [ 71%]

...复此bug!SoundManager.playSound=function(url,loops,complete,soundClass,startTime){ (loops===void 0)&& (loops=1); (startTime===void 0)&& (startTime=0); // if (!SoundManager._isActive || !url)return null; if (!url)return null; if (SoundManager._muted)return null; SoundManager._recov...

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

68. 发光滤镜二次渲染bug [ 71%]

...这里区域计算与第一次渲染不一致,以下是修改后的; //start                  //发光滤镜第一次渲染的计算方式和第二次不一致,                 //导致触发重新渲染时计算的位置和大小有差异,文字变模糊;           ...

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

69. 引用游戏的JS变得很卡 [ 71%]

...03.240 19155-19277/com.mygame.laya I/MediaPlayer﹕ Pid:19155 MediaPlayer::start 03-21 20:29:03.286 19155-19190/com.mygame.laya I/LayaBox﹕ freeRes(0):Total:10,left:5,clearedMem:60817408 03-21 20:29:03.636 19155-19190/com.mygame.laya I/LayaBox﹕ found the file in the package:cache/192.168.167.103....

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

70. 发布QQ小游戏,引擎插件和分包加载功能出现问题. [ 71%]

...问题 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 摄像机跟随刚体移动,刚体出现抖动。 关于场景编辑器的,用的最新版引擎 请问 《学习开发HTML5游戏《打地鼠》(LayaAir引擎)TS》的视频教程是否有配到代码下载? L...

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