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

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

791. Laya中Button等组件lose skin的问题 [ 58%]

...    };         var width=img.sourceWidth;         var height=img.sourceHeight / this._stateNum;         img.$_GID || (img.$_GID=Utils.getGID());         var key=img.$_GID+"-"+this._stateNum;         var clips=WeakObject.I.get(key);         if (!Uti...

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

792. HTMLIframeElement报错 [ 57%]

...on: absolute;         margin:5px;         width: 300px;     height: 200px;     overflow:auto;     font-size:20px;     line-height:38px;     font-family:"微软雅黑";     color:#000;     text-align:justify;         text-justify:inter-ideograph;     -webkit-text...

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

793. TileMap有明显的bug [ 57%]

..."); } var viewRect = new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height); var tMap = new Laya.TiledMap(); tMap.createMap("res/isometric_grass_and_water.json", viewRect, Laya.Handler.create(this, this._OnMapCreate), null, new Laya.Point(2 * 64, 2 * 32)); 附件 : --> 2019-01-02 添加评论...

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

794. 输入文本问题 [ 57%]

...;     换成 Laya.stage.scaleMode = "showall";   testView.y = ___frame.height - testView.height  改成 testView.bottom =0;   用相对坐标,用那个计算会出错   2018-02-11 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 有测试地址吗 2018-02-11 0 3 分享 微博 QZONE ...

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

795. Main无法正常使用,找不到它的定义 [ 57%]

...,下面的才是实现你想要的效果的解决方案 private var _itemHeight:Number;         private var _oldY:Number;         private function onMuseHandler(type:Event,index:int):void         {             trace("type:" + type.type + "ddd--" + _list.scrollBar.value +...

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

796. 魅族小游戏,分辨率适配 [ 57%]

...一片黑色得部分。如果直接使用Laya.Browser.width/Laya.Browser.height,文字和图片显示又太小了。请问有没有什么方法可以处理这个问题呢。  附件 : --> Test.zip com.ccp_.test_.release_.zip Test.zip 2019-07-09 1 条评论 免费帖 --> 分享 微博 QZONE 微...

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

797. 使用官方文档中qrcode生成二维码的代码,打包APP后无效 [ 57%]

...nt("div"); this.qrcode = new Laya.Browser.window.QRCode(div, { width: 100, height: 100 }); var url: string = this.URL; this.qrcode.makeCode(url); Laya.stage.once("click", this, this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); } private clickHandler(): void {...

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

798. 不同分辨率,图片按钮点击事件无法响应 [ 57%]

...。进入游戏初始化阶段的时候 设置宽高为 laya.stage.width,height 就好了   2021-03-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 NnNi 相关问题 2.0一不小心删了bin目录下的某个场景json文件。。竟...

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

799. 动画无法添加到舞台问题 [ 57%]

...is.LeadBody.getBounds(); this.LeadBody.pos(-this.bound.width/2,-this.bound.height/2);//设置动画位置 Laya.stage.addChild(this.LeadBody);   上面是代码 2018-03-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

800. 字体切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...onAwake(): void { this.fontclp.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.fontclp.size(500, 60); //大小 this.fontclp.pivot(this.fontclp.width/2, this.fontclp.height/2); //轴心点 this.fontclp.skin = "atlas/comp/fontClip_num.png"; this.fontclp.sheet = "012345678...

来源: Laya3.0_文档 发布时间: 20251010