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

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

981. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 66%]

...) return null; } var tSound:Sound; if (!Browser.onMiniGame) { tSound= Laya.loader.getRes(url); } if (!soundClass) soundClass = _soundClass; if (!tSound) { tSound = new soundClass(); tSound.load(url); if (!Browser.onMiniGame) { Loader.cacheRes(url, tSound); } } var channel:SoundChannel; channel = tSo...

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

982. [LayaAirIDE3]skel骨骼动画播放失败,编辑器预览没问题 [ 66%]

...el骨骼动画播放失败,编辑器预览没问题 复现代码: Laya.loader.load("https://hlsgs.sanguosha.com/re ... ot%3B, Laya.Loader.SPINE).then((templet: Laya.SpineTemplet) => { this.skeleton = new Laya.SpineSkeleton();     this.skeleton.templet = templet;     console.log("动画数...

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

983. Laya新增加worker加载 CurlMem比不用worker增加 [ 66%]

...吗? 关于Laya实现Matter.js官方案例凹多边形的问题 请问下loader如何强制加载一个文件,避免浏览器的缓存 Laya 鼠标Cursor怪异问题,有demo 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 小游戏项目 加载有中文的js...

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

984. Sprite3D添加组件或脚本(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 66%]

...source:Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //加载相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100))...

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

985. 循环添加一组按钮事件无法正常使用 [ 66%]

...[0]+eggLoc[i][1]);                 b.graphics.drawTexture(Laya.loader.getRes(Res),tx-45,ty-45);                 b.size(92,96);                 b.name = "egg"+i;                 Laya.stage.addChild(b);                 b.on(Event.MOUSE_DOWN, ...

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

986. 载入U3D导出的粒子特效报错 [ 66%]

...ya.core.js:726)     at ResInfo.__proto.event (laya.core.js:494)     at LoaderManager.__proto._endLoad (laya.core.js:13347) __proto._initBufferDatas @ laya.d3.js:26634 (anonymous) @ laya.d3.js:27190 __proto._parseCustomProps @ laya.d3.js:40855 Utils3D._createNodeByJson @ laya.d3.js:17945 Utils3D....

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

987. QQ小游戏开发者工具环境下,已经被本地缓存的图片的加载回调不触发的问题 [ 65%]

...的时候可以正常显示,但是刷新过后,问题出现了,Laya.loader.load("res/atlas/comp.json", Handler.create(this, onLoaded), null, Loader.ATLAS);这里的onLoaded函数不会被触发,导致后续界面不显示。如果点QQ小程序开发者工具里的清理缓存,界面又再...

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

988. 骨骼释放纹理 Templet.TEMPLET_DICTIONARY[this.url] url用错了导致Templet删不掉 [ 65%]

...ror - Out of range261, 有谁知道什么原因导致的吗? 怎样解决? Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 问题状态 最新活动: 2019-07-05 11:11 浏览: 2056 关注: 2 人 麟。 • 2019-07-11 15:37 很容易复现...

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

989. 微信小游戏 wxlocal怎么用 [ 65%]

...8-03-27 10:33 浏览: 1439 关注: 2 人 seacole • 2018-03-27 11:22 Laya.loader.load([{ url: 'wxlocal/load.json', type: Laya.Loader.ATLAS }], Laya.Handler.create(this, this.loadComplete)); 我就是这么调用的,但是load.json这个文件还是去远程拉了。该怎么解? Laya_Aaron • ...

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

990. 照相机-3D空间转2D空间 [ 65%]

...lse); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMon...

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