大约有 1,122 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0049 秒)
Laya_社区(974) Laya3.0_api(66) Laya_示例(33) Laya2.0_示例(32) Laya2.0_文档(6) Laya2.0_api(4) laya_api(4) Laya3.0_文档(3)
...ge.ALIGN_MIDDLE; var sp; for(var i=0;i<5;i++){ sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,50,50,"red"); sp.y = i*60; sp.index=i; sp.size(50,50); sp.on(Laya.Event.CLICK,this, function (e) { alert(e.target.index); },[{target:sp}]) Laya.stage.addChild(sp); } 2017-02-21 1 0 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20170221
...问题 有元件支援视频流渲染吗? Image元件读不了资料流 graphics alpha 问题 问题状态 最新活动: 2019-07-23 15:20 浏览: 1170 关注: 1 人
来源: Laya_社区 发布时间: 20190723
...节点2 的,不需要=通过GetChildByName方法的。(因为节点2是Graphics组件,所以无法直接设置var属性来在UI脚本里获取。。。) 附件 : --> 2019-09-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20190907
...APK之后在手机上就连接不上socket mask在layaplayer中有问题 graphics alpha 问题 问题状态 最新活动: 2017-06-23 18:01 浏览: 1627 关注: 2 人 cuixueying • 2017-06-23 11:11 还有,layaAir的swc,你如果是发布js项目,只需要引入playerglobal.swc即可,另外...
来源: Laya_社区 发布时间: 20170622
... constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are.width, this.are.height, "#00ff00"); _fish.x = 300 _fish.y = 200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fis...
来源: Laya_社区 发布时间: 20180315
...显示的问题 关于主程序过大的问题 (此问题已经无效) graphics alpha 问题 问题状态 最新活动: 2017-04-10 13:46 浏览: 2562 关注: 3 人 cuixueying • 2017-04-11 14:16 可以把你能运行的例子直接附件上传下吗? a852388396 • 2017-04-12 20:03 公司代...
来源: Laya_社区 发布时间: 20170410
...于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 graphics alpha 问题 问题状态 最新活动: 2016-01-10 18:19 浏览: 3310 关注: 4 人 govenlive • 2016-01-10 17:19 我是按照AS3的TCP来写啊,我上面说了,转H5后再PC端是正常接收的,但如果是...
来源: Laya_社区 发布时间: 20160110
...下 我这样载入场景问题出现在哪呢?? ios原生回调问题 graphics alpha 问题 问题状态 最新活动: 2023-09-06 09:59 浏览: 3138 关注: 2 人 Laya_phhh • 2023-09-06 10:09 你上传的emo打印出来的也是material类型啊 终点其实是起点。 • 2023-09-06 08:51 ...
来源: Laya_社区 发布时间: 20230905
...s.prizeAlertLayer.size(W, H); let bg = new Sprite(); bg.alpha = 0.8; bg.graphics.drawRect(0,0,W,H,"#000000"); this.prizeAlertLayer.addChild(bg); this.prizeAlertLayer.addChild(Main.items["prizeinfo"]); Laya.stage.addChild(this.prizeAlertLayer); this.prizeAlertLayer.visible = false; 附件 : -->...
来源: Laya_社区 发布时间: 20180601
...is.loadedMap)); } loadedMap(){ this.sp=new Laya.Sprite(); this.sp.graphics.drawRect(0,0,100,100,"#FF0000"); var mapLayer = this.tiledMap.getLayerByIndex(1); console.info(mapLayer.layerName); this.sp.pos(0,0); mapLayer._childs[0].addChild(this.sp); } } new GameInfo(); ...
来源: Laya_社区 发布时间: 20171125