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

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

511. HTMLIframeElement 不支持很多标签,希望知道这东西支持哪些标签? [ 71%]

...layaair samples 2、切换到Text_HTML示例 3、进入该示例使用的res目录:samples\res\html\test.html 4、修改此html,添加 ul 、li、table、tr、td等等标签。发现均提示 undefined class。 如图: 5、test.html 如图:   6、最终呈现效果如图:     附件 : -...

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

512. 3D动画是如何进行控制播放的? [ 71%]

... var skinMesh = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/dude/dude-him.lm"))); skinMesh.transform.localRotationEuler = new Laya.Vector3(0, 3.14, 0); var skinAni = skinMesh.addComponent(Laya.SkinAnimations); skinAni.templet = Laya.AnimationTemplet.load("../....

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

513. 微信小游戏开放域不能使用Tab组件和Scorllbar? [ 71%]

...样的图片可以使用没问题,到了开放域,会提示 lose skin res/vscroll$bar.png lose skin res/tab.png 请问这怎么回事?? 同个目录下的其他图片也可以使用 2018-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

514. 背景音乐播放内存后续问题 [ 71%]

...候,这样子调用 SoundManager.stopAll(); SoundManager.destroySound("res/sound/blade in my heart Short JUNkaraoke_M.mp3"); SoundManager.playMusic("res/sound/BGM01.m4a"); 但是内存也降不下去,两个背景音乐来回切换的话,会内存不断上涨 示例中点击左上角那两个 ...

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

515. 图片资源引用 [ 71%]

....png │   ├── index.html │   ├── libs │   ├── res ├── happyfarm.laya ├── jsconfig.json ├── laya │   ├── assets │   ├── pages │   └── styles.xml ├── libs │   └── LayaAir.d.ts └── src ├── BangzhuVi...

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

516. 请问如何给ui下所有的button加一个点击监听事件? [ 71%]

...断是不是button来做。 Laya.stage.on(Laya.Event.CLICK, this, function(res:Laya.Event){ if (res.target instanceof Laya.Button){ // click button } }) 2018-12-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 183*****288 相关问题 ...

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

517. 播放声音出错,求指教 [ 71%]

...接 提交 6 个回复 Laya_Aaron 赞同来自: shaotianhk 放到 bin/h5/res目录下 2018-03-06 1 0 分享 微博 QZONE 微信 helianchu 赞同来自: shaotianhk 音乐特效是bin/h5/res/下面的 2018-03-06 1 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你mp3路径对吗 2018-03-06 0 0 ...

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

518. 2.3.0截屏问题 [ 71%]

... destWidth: 100, destHeight: 100, fileType: "png", quality: 1.0, success: (res) => { console.log(res.tempFilePath); } }) }   报的是 gameThirdScriptError ImageData is not defined ReferenceError: ImageData is not defined     at Function.RunDriver.drawToCanvas (http://127.0.0.1:27664/game/libs...

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

519. [LayaAir2]LayaAir2 打包微信小游戏,音频播放问题 [ 71%]

...lib]] statLocalAudio fail {"errMsg":"stat:fail no such file or directory \"res/sounds/Buttonsound.ogg\""},但是这个路径是存在于res目录的,我使用Laya.loader.load 重新加载,加载也成功了,但是使用Laya.SoundManager.playSound 播放的时候仍然提示statLocalAudio fai...

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

520. 资源分类问题,无法显示资源。 [ 71%]

...文件,以及编译后多了两个文件:   /项目名字 /bin/h5/res/atlas/test.atlas 和  /项目名字 /bin/h5/res/atlas/test.png。   我不知道laya到底是个什么原理 在存储资源,还不带认路的。认路也是偏的,谁知道,laya打包和非打包资源在项目...

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