大约有 226 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0032 秒)
Laya3.0_api(138) Laya_社区(52) Laya2.0_api(9) Laya2.0_文档(9) Laya3.0_文档(8) laya_api(7) Laya2.0_示例(2) Laya_示例(1)
... bgRes:String; public function Main() { Laya.init(2048,1536); Laya.stage.bgColor = "#333333"; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; bgRes = "res/bg.jpg"; addPic("res/bg.jpg", 0, 0); var txt:Text = new Text(); txt.text = "Fishing Game"; txt.color = "#FFFFFF"; txt.fontSize = 60; txt.stroke = 5; ...
来源: Laya_社区 发布时间: 20170522
...g_image); // 金豆数 this._goldLabel = new Laya.Label(); this._goldLabel.color = "#FFBA00"; var font = GameUI.GetFont("$font.marketdlg.default"); this._goldLabel.font = font.family; this._goldLabel.bold = (parseInt(font.bold | 0) == 0 ? false : true); this._goldLabel.fontSize = parseInt(font.size)...
来源: Laya_社区 发布时间: 20170422
...跳帧。 怎样获取浏览器地址传过来的GET参数 2.0 drawTexture color参数无效 List滑动条会引起单元格上的按钮点击后多次触发点击事件 IDE中js压缩工具,能不能用类似命令行,或者编译参数等等方式调用? 爆循环依赖警告,怎办?warn...
来源: Laya_社区 发布时间: 20190802
...= new laya.ui.Label(); label.text = "fsadfsdfsdfsdfsdf"; label.color = "#ff0000"; label.fontSize = 40; label.y = 50; var label2 = new laya.ui.Label(); label2.text = "fsadfsdfsdfsdfsdf"; label2.color = "#0000ff"; label2.fontSize = 40; label2.y = 1...
来源: Laya_社区 发布时间: 20170401
...private var _tex:Texture; private var _htmlCanvas:HTMLCanvas; private var _colorSpr:Sprite; private var _colorTex:Texture; private var _initPixelCount:int; public function Main() { Laya.init(1024, 768, WebGL); Stat.show(0, 0); Laya.stage.bgColor = "#fff"; Laya.loader.load("assets/images/color1.png",...
来源: Laya_社区 发布时间: 20180302
....html.style.lineHeight = 55 this.html.style.align = "left" this.html.style.color = "#fff" this.html.innerHTML = "" this.hornBox.addChild(this.html) this.addChild(this.hornBox) } /** 滚动动画 */ private _animate(e: Event): void { const _w = this.html.width const _x = this.html.x if (_x < -_w) ...
来源: Laya_社区 发布时间: 20180314
...0; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px auto 0 auto; padding: 0; } ...
来源: Laya3.0_api 发布时间: 20230115
...0; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px auto 0 auto; padding: 0; } ...
来源: Laya3.0_api 发布时间: 20230115
...0; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px auto 0 auto; padding: 0; } ...
来源: Laya3.0_api 发布时间: 20230115
...0; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px auto 0 auto; padding: 0; } ...
来源: Laya3.0_api 发布时间: 20230115