• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,720 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0093 秒)

1491. 关于 iframe跳转地址 [ 50%]

...; <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

1492. 3D场景中背景透明 [ 50%]

...下代码 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height, _config); 然后就Ok了   修改好的项目,已上传到附件里了,你也可以对照附件来看一下。 xiangmu2.rar 2020-10-22 0 0 分享 微博 QZONE 微信 程程 赞同来自:   图片没发出来 2020-...

来源: Laya_社区 发布时间: 20201022

1493. 微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined [ 50%]

...             var img:Image = new Image("../res/test.png"); img.height = 100; img.width = 100;             Laya.stage.addChild(img); } 附件 : --> 2019-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

来源: Laya_社区 发布时间: 20190529

1494. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 50%]

...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

1495. Byte二进制读写(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 50%]

...络消息。 ```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

1496. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 50%]

...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

1497. [LayaAir3]list.selectHandler [ 50%]

...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

1498. 源码List的一次代码错误 [ 50%]

...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

1499. bitmap渲染问题 [ 50%]

...itmap(bmd2); this.addChild(bm2); bm2.x = 50; trace(rect.width); trace(rect.height); 输出正常,不知道你那边是如何写的?

来源: Laya_社区 发布时间: 20151105

1500. native打包的安卓包,韩文字体显示异常,IOS上是正常的(已解决) [ 50%]

...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