大约有 1,720 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0093 秒)
Laya_社区(1002) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48)
...; <html> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#000000"></body> <script type="text/javascript" language="javascript"> var arguments = window.location.search; var url = "http://119.29.138.145/bgame/in ... 3B%3B // http://119.29.138.145/bg...
来源: Laya_社区 发布时间: 20161221
...下代码 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height, _config); 然后就Ok了 修改好的项目,已上传到附件里了,你也可以对照附件来看一下。 xiangmu2.rar 2020-10-22 0 0 分享 微博 QZONE 微信 程程 赞同来自: 图片没发出来 2020-...
来源: Laya_社区 发布时间: 20201022
... var img:Image = new Image("../res/test.png"); img.height = 100; img.width = 100; Laya.stage.addChild(img); } 附件 : --> 2019-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20190529
...reateMap(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
...络消息。 ```typescript var msg:Object ={name:"xxx",age:18,weight:65.5,height:175}; var byte:Byte = new Byte();//实例化byte数组 byte.endian = Byte.LITTLE_ENDIAN;//设置大小端 byte.writeUTFString(msg.name);//写入数据 byte.writeByte(msg.age); byte.writeFloat32(msg.weight); byte.writeIn...
来源: Laya2.0_文档 发布时间: 20210715
...lse]; private init() { // 设置背景色为场景高度 this.box_color_bg.height = Laya.stage.height; } onEnable() { this.init(); // 判定是注册还是忘记密码 if (GameData.I.isReg) { this._regMode(); } else { this._forgetMode(); } // 添加取消事件 this.lb_cancel.on(Laya.Event.CLICK, th...
来源: Laya_社区 发布时间: 20200410
...a.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("change...
来源: Laya_社区 发布时间: 20241014
...l = 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._isVertical ? startY : 0) * cellHeight); t...
来源: Laya_社区 发布时间: 20180418
...itmap(bmd2); this.addChild(bm2); bm2.x = 50; trace(rect.width); trace(rect.height); 输出正常,不知道你那边是如何写的?
来源: Laya_社区 发布时间: 20151105
...Char=words[i]=new HTMLChar(txt.charAt(i),size.width || style.fontSize,size.height||style.fontSize,style); 附件 : --> 2021-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 我们宅技术 赞同来自: mark...
来源: Laya_社区 发布时间: 20210206