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

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

1011. atlas目录下.json文件与.atlas的区别 [ 54%]

...下.json文件与.atlas的区别 在编辑模式下按F12导出时,bin/res/atlas下会生成comp.png和comp.atlas文件,但看教学视频中,没有生成.atlas文件,而是生成了.json文件,这两个文件有什么区别,两个文件的内容除了格式外是一样的,生成文件...

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

1012. 设置相机的skyboxMaterial无效 [ 54%]

...rFlag = Laya.BaseCamera.CLEARFLAG_SKY; //天空盒 Laya.BaseMaterial.load("res/skyBox/skyBox.lmat", Laya.Handler.create(null, function (mat) { camera.skyboxMaterial = mat; // Laya.timer.frameLoop(1, this, function () { // mat.rotation += 0.1; // }); })); skyBox.zip 2018-10-17 0 0 分享 微博 QZONE...

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

1013. 黑屏报这个错,是什么原因? [ 54%]

... ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. VM72  2017-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 是不是纹理冲...

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

1014. 从fbx转成lh文件后,加载报错 [ 54%]

...上传附件; scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/test/food05/food05.lh")));   附件 : --> food05.zip 2017-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 edward 赞同来自: ...

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

1015. 关于spine资源加载以及创建Laya.Templet问题 [ 54%]

...过来使用?   var tm:Laya.Templet = new Laya.Templet(); tm.loadAni("res/imgs.sk"); tm.on(Laya.Event.COMPLETE, this,()=>{       //是不是只能在这里面创建动画,这里创建,那我如何全局使用????????       var skp = this.buildArmature(1);       skp...

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

1016. load 跨域请求 [ 54%]

load 跨域请求 Laya.loader.load(resUrl+'bin/res/atlas/dice.json', Laya.Handler .create(this, this.init), null, Laya.Loader.ATLAS); 这个json提示跨域了,怎么解决好 2017-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

1017. sprite添加texture后,sprite无法触发点击事件? [ 54%]

...e无法触发点击事件? this.item.graphics.drawTexture(Laya.loader.getRes(IMG_RES[this.name])); Laya.stage.addChild(this.item);  this.item.on(Laya.Event.CLICK, this, () => { this.item.destroy(); }); 2017-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

1018. 微信小游戏下Laya.Browser.window.protobuf可以用吗? [ 54%]

...=  Laya.Browser.window.protobuf; this.proto = await  protoBuf.load("res/protobuf/game.proto");   var HeartBeatReq = this.proto.lookup("HeartBeatReq");         var body = HeartBeatReq.create({             "time":1         }); 附件 : --> 2019-11-14 添加评论 免...

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

1019. 用u3d导出的粒子效果,不能移动粒子的位置 [ 54%]

...粒子的位置 var particleSprite3D:Laya.Sprite3D = Laya.Sprite3D.load("res/LayaScene_effect/effect.lh") as Laya.Sprite3D; particleSprite3D.transform.translate(new Laya.Vector3(0,20,0)) this.scene.addChild(particleSprite3D); 用u3d导出的粒子效果,不能移动粒子的位置 2018-05-16 添...

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

1020. 2.0播放声音时 Error: DOMException: Unable to decode audio data [ 54%]

...2.0打开时播放声音就会显示此错误 Laya.SoundManager.playSound("res/Sound/big_ta_dah.mp3", 1, null); 2018-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: IDE暂不支持mp3格...

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