大约有 1,562 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0054 秒)
... function showApe(){ this.ani.loadAnimation("TimeLine.ani"); Laya.stage.addChild(this.ani); this.ani.play(); } 运行时报 TypeError:Cannot read property '_create' of null at Animation._proto.timerLoop(file:///f:/........./bin/libs/laya.core.js:9493:14) at Animation._proto.play(fi...
来源: Laya_社区 发布时间: 20171028
...10-11 0 2 分享 微博 QZONE 微信 158*****197 赞同来自: objectLayer.addChild(flower); objectLayer._showGridList.push(flower); 在正常添加元素之后,再在显示列表中也添加一下,框架现在添加了不会自动刷新,如上第二行代码 2018-08-11 0 0 分享 微博 QZ...
来源: Laya_社区 发布时间: 20171011
...ar terrain = Laya.Mesh.load("line/lineMesh.lm"); var terrainSprite = scene.addChild(Laya.MeshTerrainSprite3D.createFromMesh(terrain, 129, 129)); var terMaterial = new Laya.TerrainMaterial(); terMaterial.diffuseTexture1=new Laya.Texture2D.load("map2.png"); terMaterial.diffuseTexture2=new Laya.Texture...
来源: Laya_社区 发布时间: 20170620
...nable = true; this.herolist.itemRender = HeroStartHeadItem; this.heropanel.addChild(this.herolist); //UI中直接添加的panel 已经实例化 this.heropanel.hScrollBarSkin = ""; let hasHeroArr:Array<any> MsgFactory.inst.heroMessasge.getTypeHeroList(HeroMessage.HERO_TYPE_ALL,2); thi...
来源: Laya_社区 发布时间: 20171227
...样断断续续的。 138*****826 • 2018-01-30 11:43 是不是 在box里addchild 的效率很低? 138*****826 • 2018-01-30 12:36 我发现了,用renderHandle 每次滑动到顶,都会执行3次(也就是第一行)onlistRender~!!!!!
来源: Laya_社区 发布时间: 20180130
...使用 var sp = new Sprite(); sp.width = 720; sp.height = 1280 Laya.stage.addChild(sp) sp.on(laya.events.Event.KEY_DOWN, this, this.onkeyDown); 就不能监听到键盘事件呢,这是怎么回事呢? 2018-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180112
...g = new Laya.Image("http://www.xxxxxxx.com/gold.png&quot;); Laya.stage.addChild(img); } 请问下,这样写有声明不对么 ? 2018-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来...
来源: Laya_社区 发布时间: 20180418
...prite(); sp.loadImage("res/smallWalkRight.png"); sp.pos(gs.x, gs.y); layer.addChild(sp); } } new GameMain();sprite显示出了整张图片: 附件 : --> 2019-02-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20190214
... skeleton0 = _templet.buildArmature(); addChild(skeleton0); skeleton0.play("walk_left",true); } private function onError():void { console.log("parse error"); ...
来源: Laya_社区 发布时间: 20170204
...: 场景切换需要自己去做,就是界面的移除remove和添加addChild,当用到哪个场景,便对哪个场景进行添加,切换场景时,移除旧的场景,添加新的场景即可。 2018-01-10 0 2 分享 微博 QZONE 微信 LM20081991 赞同来自: 图一是UI场景 图二...
来源: Laya_社区 发布时间: 20180110