大约有 1,873 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0050 秒)
Laya_社区(1137) Laya3.0_api(242) Laya2.0_文档(103) Laya2.0_示例(94) Laya_示例(91) Laya2.0_api(82) laya_api(76) Laya3.0_文档(48)
...参数,改为如下代码 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height, _config); 然后就Ok了 修改好的项目,已上传到附件里了,你也可以对照附件来看一下。 xiangmu2.rar 2020-10-22 0 0 分享 微博 QZONE 微信 程程 赞同来自: 图片...
来源: Laya_社区 发布时间: 20201022
... this.label.pos(500, 400); this.label.width = 300; this.label.align = "center"; // this.label.stroke = 1; this.label.strokeColor = "#000000"; this.label.zOrder=9980 Laya.stage.addChild(this.label); ...
来源: Laya_社区 发布时间: 20190514
... var img:Image = new Image("../res/test.png"); img.height = 100; img.width = 100; Laya.stage.addChild(img); } 附件 : --> 2019-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 早...
来源: Laya_社区 发布时间: 20190529
...dMap(); this.map.createMap(this.MAP_URL, new Laya.Rectangle(0,0,Laya.stage.width, Laya.stage.height), new Laya.Handler(this, this.onMap)) } private onMap(){ var idx = this.map.getLayerByIndex(0).getTileDataByScreenPos(20,20); var pass = this.map.getTileProperties(0,idx - 1,'pass'); console.log('...
来源: Laya_社区 发布时间: 20190218
...法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 IOS运行游戏界面发生偏移,请问是什么问题? 问题状态 最新活动: 2020-04-08 18:07 浏览: 3163 关注: 3 人 圣诞老人的麋鹿 • 2020-08-19 15...
来源: Laya_社区 发布时间: 20191227
...lbl=new Laya.Label(val); this.lbl.name="val"; this.lbl.size(Item.width,Item.height); this.lbl.align="center"; this.lbl.valign="bottom"; this.lbl.padding="0,0,1,0"; this.btn.addChild(this.lbl); } this.btn.name=index.toString(); this.uiCtrl=uiCtrl; this.btn.on(&...
来源: Laya_社区 发布时间: 20241014
...X, numY) { var box = this._content; var cell = this._getOneCell(); var cellWidth = cell.width + this._spaceX; var cellHeight = cell.height + this._spaceY; if (this.cacheContent) { var cacheBox = new Box(); cacheBox.cacheAsBitmap = true; cacheBox.pos((this._isVertical ? 0 : startY) * cellWidth, (this...
来源: Laya_社区 发布时间: 20180418
...ot; +"<g fill=\"none\" stroke=\"black\" stroke-width=\"4\">" + " <path stroke-dasharray=\"5,5\" d=\"M5 20 l215 0\" />" + "<path stroke-dasharray=\"10,10\" d=\"M5 40 l215 0\" />" + &q...
来源: Laya_社区 发布时间: 20170423
... Laya.WebGL); //屏幕适配 Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL; //-----------上面和下面的代码在两个不同的页面------------- _...
来源: Laya_社区 发布时间: 20180823
... bm2:Bitmap = new Bitmap(bmd2); this.addChild(bm2); bm2.x = 50; trace(rect.width); trace(rect.height); 输出正常,不知道你那边是如何写的?
来源: Laya_社区 发布时间: 20151105