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

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

951. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 61%]

...ruto2.ani"); //添加到舞台 var apesCtn = new Laya.Sprite(); Laya.stage.addChild(apesCtn); var _this = this; this.tl.on(this.Event.COMPLETE,this,function(){ _this.tl.stop(); }) console.log(this.tl) this.tl.interval = 1000 / 60; // this.tl.play(); apesCtn.addChild(this.tl); apesCtn.height = 1500; ...

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

952. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 61%]

...    this.skeleton = this.templet.buildArmature();         Laya.stage.addChild(this.skeleton);         this.skeleton.pos(laya_width/2,laya_height/2);         this.skeleton.scale(0.5, 0.5);         this.skeleton.on(Event.STOPPED, this, this.play);         this.play();     }   ...

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

953. U3D导出两个相同的特效。有一个不显示 [ 61%]

...w LoginPanel(); // loginPanel.init(); var s = new Laya.Scene(); Laya.stage.addChild(s); s.addChild(Laya.Sprite3D.load("res/h5/LayaScene_camera/camera.lh")); Laya.Sprite3D.instantiate(Laya.loader.getRes("res/h5/LayaScene_Effect/Effect.lh"),s,true); Laya.Sprite3D.instantiate(Laya.loader.getRes("res/h5...

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

954. 为什么我的hello laya是这样的 [ 61%]

...new Laya.Text(); txt.text="Hello World"; txt.color = "#ffffff"; Laya.stage.addChild(txt); 就这么两行啊 附件 : --> 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Xq 赞同来自: 你把没...

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

955. List 组件做的手风琴Demo [ 61%]

...BOX类         list.vScrollBarSkin ="";         Laya.stage.addChild(list);         list.array =this.arr;         list.renderHandler =new Laya.Handler(this,this.updateItem);         this.listArr.push(list); //----------------------------------------------------...

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

956. 自定义shader-地形shader [ 61%]

....screenMode = Laya.Stage.SCREEN_NONE; initShader(); var scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/terrain/terrain.ls")); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-38, 180, 0), false, false); camera.transform.tr...

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

957. 添加了MouseJoint没有效果 [ 61%]

...a.physics.RigidBody); ropePart.addComponentIntance(mouseJoint); Laya.stage.addChild(ropePart); 2019-04-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请...

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

958. 物理引擎,我按照官方例子做的,不知道那里写错了,总是报这个错,大神帮我看下 [ 61%]

...nction initMatter():void { var gameWorld:Sprite = new Sprite(); Laya.stage.addChild(gameWorld); engine = Matter.Engine.create({enableSleeping:true}); Matter.Engine.run(engine); var render = LayaRender.create({engine:engine,container:gameWorld,width:stageWidth,height:stageHeight,options:{wireframes:t...

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

959. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 61%]

...omplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Laya.Event.STOPPED, this, this.play) this.play(); } private onError(): void{ c...

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

960. Image [ 61%]

...age()             image.source = img___             Laya.stage.addChild(image)         } 舞台上没有图   2017-01-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 佟掌柜 赞同来自: var ...

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