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

大约有 712 项符合查询结果, 库内数据总量为 30,941 项。 (搜索耗时: 0.0070 秒)

671. ComboBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 50%]

...宽高 comboBox.autoSize = true; //设置位置 comboBox.pos((Laya.stage.width - comboBox.width) / 2, 150); //自动计算宽高关闭(在设置位置时,需获取列表宽度,获取后关闭) comboBox.autoSize = false; //创建选择提示信息框 createPromptText() } /***创建提示信...

来源: Laya2.0_文档 发布时间: 20210714

672. Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture [ 49%]

...      tex.once(Event.READY, this, this.drawImage, [texxywidth, height]);                 }   导致 tex 找不到 getIsReady 方法报错     报错堆栈 TypeError: tex.getIsReady is not a function at Graphics.loadImage (file:///D:/zxl/2.0_stable/lfGame2.0/bin/...

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

673. Dragonbones龙骨动画 播放不同动作出现闪烁 混乱 [ 49%]

...this.templet.loadAni(this.aniUrl); this.maskBox.graphics.drawRect(0,0,this.width,this.height,'#ffffff'); this.mask = this.maskBox; this.maskBox.alpha=0; // this.show(); } private parseComplete():void { //创建模式为1,可以启用换装 this.skeleton =this.templet.buildArmature(1); this.skeleto...

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

674. destination-out 叠加模式问题 [ 49%]

...制一下 guideContainer.scrollRect = new Rectangle(0, 0, Browser.clientWidth, Browser.clientHeight); 2017-12-15 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 li970704928 相关问题 发起问题须知,必看!!!不按提问规...

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

675. 简单粒子效果,发布成单机版apk在移动端安装运行,结果显示不出来 [ 48%]

....stage.addChild(sp);                      sp.x = Laya.stage.width / 2;             sp.y = Laya.stage.height / 2;         }   发布成单机版apk在移动端安装运行,移动端报错提示: http://www.xxx.com/LayaUISampl ... annot read property 'start' of null ...

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

676. list ,增加item ,我想在末尾增加,但是每次都给我翻倍的增加,如何解决 [ 48%]

... list.itemRender = Item; list.x = 15; list.y = 60; list.height = 470; list.width = 542; list.spaceY = 20; list.vScrollBarSkin = ""; list.repeatX = 1; list.repeatY = 10; list.selectEnable = false; list.renderHandler = new Handler(this, function(cell, index) { cell.setImg(cell.dataSource); }); this.ro...

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

677. 游戏引导 原来使用 blendMode = "destination-out"; 现在怎么用? [ 48%]

...48导致引发上面的问题 this.mask.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000");

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

678. tiledmap 可以在图块层的指定格子上添加Sprite吗 [ 48%]

...口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(0, 0, Conf.App_Width, Conf.App_Height); //创建TiledMap地图 this.tMap.createMap("map/"+mapname+".json",viewRect, laya.utils.Handler.create(this, this.test));//, null, new Laya.Point(1600, 816)); } private test(){ var testLayer:Laya.MapLay...

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

679. 超出文本区域的处理&滚动文本(JavaScript-LayaAir基础篇(JS)-文本) [ 48%]

...tion() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createText(); })(); function cre...

来源: Laya2.0_文档 发布时间: 20210714

680. 事件绑定不触发bug [ 48%]

...WebGL时自动切换至Canvas             Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL);             Laya.stage.alignV = Stage.ALIGN_MIDDLE;             Laya.stage.alignH = Stage.ALIGN_CENTER;             Laya.stage.scaleMode = "showall";          ...

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