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

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

3651. 在native中 HTMLDivElement中文堆叠在一起了 [ 50%]

...g.msg + `</span> <br/><span> </span><br/>`; this.chatBox.appendHTML(chat); 附件 : --> 2018-08-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 可以把...

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

3652. WX小游戏声音_audio报错问题 [ 50%]

...de.js:18522:8)   解决方案 :  找到音效停止的地方 , 注释 : this._audio= null; , 防止将audio回收即可.. 附件 : --> 2018-11-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同...

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

3653. 关于图片加载路径的问题 [ 50%]

...oadImage("laya/assets/res/image/fireIcon.png",0,0,200,200,new Laya.Handler(this,onloadImage)); function onloadImage(){ console.log('图片加载结束'); Laya.stage.addChild(fireIcon); }   资源的结构为: |-.laya |-bin |-laya   |-assets     |-res       |-image         |-fireIcon.png |...

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

3654. 使用多个时间轴动画 demo.ani(0,true,'name')失效 [ 50%]

...调方法 Laya.loader.load("res/atlas/ui/boos.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { // //创建一个Animation实例 // var tl = new Laya.Animation(); // //加载动画文件 // tl.loadAnimation("test.ani"); // //添加到舞台 // Laya.stage.addChild(tl); // //播放An...

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

3655. the server responded with a status of 404 (Not Found) [ 50%]

... node_modules/@types/node/base.d.ts' not found. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found Swift中接入其他都正常,但是在你们的conchConfig中,报错'string' file not found fatal error: 'string' file not found 2.0动效模板...

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

3656. 加载图片显示为黑屏(附代码),为什么? [ 50%]

...e_ct); rule_ct.loadImage("rule_txt.png", 0, 0, 460, 0, Handler.create(this, function(){ panel.addChild(rule_ct); })); } } }    现象截图(设备是 iPhone6sPlus):   长图路径:长图片 生产地址(PC端浏览沒问题/手机端浏览则黑屏):H5 手机浏览二维码: ...

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

3657. [LayaAir3][LayaAir3]3.3.4 同时添加2个sk,无法正常显示 [ 50%]

...sk = templet.buildArmature(0); sk.pos(100 * i, 100 * i); sk.play(0, true); this.owner.addChild(sk); } }); 附件 : --> demo.zip 2025-12-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞同来自: 17049...

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

3658. Spine动画烘焙插件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...动画 spine2dRender.animationName = "walk"; // 添加预制体到场景 this.owner.addChild(spineboy); }); } } Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:57 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

3659. 材质。相机显示异常问题 [ 50%]

... 微信 gameuser 赞同来自: 这个是拉伸前后的, 代码处理: this.mHeader.transform.scale = new Laya.Vector3(1,1,3);   而我想要的效果是:   2018-04-17 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gameuser 相...

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

3660. IDE创建3D示例项目(JavaScript-3D基础(JS)-快速开始一个LayaAir3D项目) [ 50%]

...。以下的代码节选自GameUI.js。 ```typescript //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya....

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