大约有 245 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
Laya_社区(204) Laya2.0_文档(10) Laya3.0_文档(6) Laya3.0_api(6) Laya2.0_示例(6) Laya_示例(5) Laya2.0_api(5) laya_api(3)
...种png图片 185*****853 • 2018-06-14 10:52 一个文件夹名字panel_bg里面都是面板背景,给这个文件夹设置不打包,就发布不出来
来源: Laya_社区 发布时间: 20180614
... (1 ,1 - sourceAlpha) , 有透明(a = 0.1)的黑色(0 * 1)与背景(bg * (1 - 0.1))混合,出来的结果是更接近背景色的。问题2,3 与 1类似,因为rt没有预乘,在2D中使用颜色计算会有些错误。例如:变亮是 rt 的颜色与底色混合后的值比预期...
来源: Laya_社区 发布时间: 20250423
...hildren():void { super.createChildren(); var index:Number = getChildIndex(_bg); addChildAt(_progress = new Image(),index + 1); } override protected function changeValue():void{ super.changeValue(); _proMask.scaleX = _value / _max; _proMask.repaint(); console.log("改变值: " + _proMask.scaleX); } /...
来源: Laya_社区 发布时间: 20170327
...s/atlas/common.atlas", type: Laya.Loader.ATLAS}, {url: "hall/1_login/login_bg.png", type: Laya.Loader.IMAGE}, {url: "hall/1_login/Bottom_article.png", type: Laya.Loader.IMAGE}, {url: "res/atlas/hall/login.atlas", type: Laya.Loader.ATLAS}, ] Laya.loader.load(resArray, Handler.create(null, function(){...
来源: Laya_社区 发布时间: 20180426
...o="compId=11">' + '<Label width="746" name="bg" height="44" bgColor="#e5ba8a" editorInfo="compId=72"/>' + '<Label y="0" x="0" width="32" visible="false" valign="middle" text=&quo...
来源: Laya_社区 发布时间: 20161201
...nction LayaAirDemo() { Laya.init(Browser.width,Browser.height); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { list=new List(); Laya.stage.addChild(list); list.itemRender=Item; list.repeatX=1...
来源: Laya_社区 发布时间: 20170626
...息 的问题 (function () { (() => { //初始化屏幕 宽高 使用WebGL渲染 Laya.init(640,960,Laya.WebGL); //屏幕缩放模式 stage 舞台 Laya.stage.scaleMode= Laya.Stage.SCALE_NOSCALE ; //水平对齐方式 Laya.stage.alignH = Laya.Stage.ALIGN_CENTER ; //垂直对齐方式 Laya.stage.ali...
来源: Laya_社区 发布时间: 20170228
...的图片,会报这个错:node._setParent is not a function this.imageBg = this.owner.getChildByName("image_bg"); console.log("this.imageBg==="+this.imageBg); for (let iColumns = 1; iColumns < this.intColumns; iColumns++) { this.arrLove[iColumns] = []; for (let iRows = 1; iRows < this.intR...
来源: Laya_社区 发布时间: 20190625
...Image", "searchKey":"Image", "props":{"y":98,"x":450,"skin":"assets/dialog/bg_01001.png","scaleY":1,"scaleX":1}, "nodeParent":2, "label":"Image", "isDirectory":false, "isAniNode":true, "hasChild":false, "compId":3, "child":[ ] }], "animations":[ { "nodes":[ ], "name":"ani1", "id":1, "frameRate":24, ...
来源: Laya_社区 发布时间: 20200417
...aya.Sprite(); Laya.stage.addChild(ape); ape.loadImage("../laya/assets/fish_bg.png"); //开启统计信息 Laya.Stat.show(); //添加3D场景 let scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; //添加照相机 let camera: Laya.Camera = (scene.addChild(new Laya.Camera(0, 0.1...
来源: Laya_社区 发布时间: 20180302