大约有 75 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0046 秒)
...图片都报错 var img:Laya.Image = new Laya.Image("res/logo.png"); this.addChild(img); 附件 : --> 2017-07-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 moketao 赞同来自: cuixueying 最好搭建 apac...
来源: Laya_社区 发布时间: 20170721
...我代码导致还是就是有这问题呢 this.yzsAni.play(); Laya.stage.addChild(this.yzsAni); 连续调用不同动画的play,经常会出现动画不动的问题是我代码导致还是就是有这问题呢 2017-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20171103
... = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(...
来源: Laya_社区 发布时间: 20170818
...加入到一个ui上面吗? 如何将原生iframe嵌入某个节点,像addChild那样嵌入 关闭iframe iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 iOS + iframe,输入框需要点两下才能唤醒软键盘 Laya内嵌iframe预览时不显示...
来源: Laya_社区 发布时间: 20180830
....roleMan.transform.localPosition = new Laya.Vector3(0,-0.5,-3); this.scene.addChild(this.roleMan); //给男角色添加贴图动画 var manAni:Laya.SkinAnimations = this.roleMan.addComponent(Laya.SkinAnimations) as Laya.SkinAnimations; manAni.url="man/hero.ani"; manAni.player.play(); // play函数...
来源: Laya_社区 发布时间: 20180725
...Texture平铺出现缝隙 this.darwSprite = new Sprite(); this.addChild(this.darwSprite); var t: Texture = Laya.loader.getRes("load/0.png"); this.darwSprite.graphics.drawTexture(t,0,0); this.darwSprite.graphics.drawTexture(t,176,0); this.da...
来源: Laya_社区 发布时间: 20160718
...k); sp= new Sprite(); sp.name='base'; sp.loadImage("logo.png"); Laya.stage.addChild(sp); } private function onClick():void { var htmlsss:String=(Laya.stage.getChildAt(0) as Sprite).drawToCanvas(100,100,0,0).getCanvas().toDataURL(); var sp2:Sprite = new Sprite(); sp2.name='drawCanvas'; sp2.x = 300; s...
来源: Laya_社区 发布时间: 20170523
...还是可以点击的。看了下代码,现在gameContainer和button是addChild在同一个对象上面的。。 Guide.zip 2017-06-17 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yurong3000 相关问题 发起问题须知,必看...
来源: Laya_社区 发布时间: 20170616
...光: //添加方向光 this.m_light = this.m_scene3D.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; this.m_light.color = new Laya.Vector3(0.8, 0.8, 0.8); this.m_light.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, ...
来源: Laya_社区 发布时间: 20200323
..._FULL; Laya.stage.bgColor="#444"; var sprite=new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.loadImage("img/bg.jpg"); } start(); 附件 : --> test-low-frame.zip 2020-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20200507