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

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

491. 分享:销毁龙骨动画! [ 61%]

...off(Event.STOPPED, this, completeHandler); } private function createButton(label:String):Sprite { var w:int = 110; var h:int = 40; var button:Sprite = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2 , 8, "25px SimHei", "#FFFFFF"...

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

492. 版本号:2.0.2 beta, 在sound文件夹下音乐播放不了,放入到res文件夹下可播放 [ 61%]

...icButton.on(Event.CLICK, this, this.onPlayMusic); }  private createButton(label: string): Sprite { var w: number = 110; var h: number = 40;  var button: Sprite = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2, 8, "25px SimHei...

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

493. List滚动条问题 [ 61%]

...; bg_image.size(312, 462); this.addChild(bg_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...

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

494. laya.ui.UIEvent [ 61%]

...tring = keyup[static] 定义 keyup 事件对象的 type 属性值。Event LABEL : String = label[static] 定义 label 事件对象的 type 属性值。Event LINK : String = link[static] 定义 link 事件对象的 type 属性值。Event LOADED : String = loaded[static] 定义 loaded 事件对象...

来源: Laya2.0_api 发布时间: 20190513

495. 动态加载代码后,总是出现 ProgressBar is not a constructor [ 61%]

...ar Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Label = Laya.Label; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var Browser = Laya.Browser; var Handler = Laya.Handler; var ProgressBar = Laya.ProgressBar; var Loader = Laya.Loader;还请大神不吝赐教。   2018-03-16 ...

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

496. 屏幕方向:自动横屏与自动竖屏的设置详解(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 60%]

...skin = "res/monkey2.png"; Laya.stage.addChild(img); //文字 var text:Laya.Label = new Laya.Label(); text.text = "游戏的水平方向"; text.color = "gray"; text.fontSize = 100; text.centerX = 0; text.centerY = 50; Laya.stage.addChild(text); } Laya.init(0, 0, Laya.WebGL); Laya.stage.scaleMode = "f...

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

497. Clip属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 60%]

...teController() { controller = new Button(buttonSkin, "暂停"); controller.labelBold = true; controller.labelColors = "#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF"; controller.size(84, 30); controller.on('click', this, onClipSwitchState); controller.x = (Laya.stage.width - controller.width) / 2; controller.y = ...

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

498. laya.ui.UIEvent [ 60%]

...tring = keyup[static] 定义 keyup 事件对象的 type 属性值。Event LABEL : String = label[static] 定义 label 事件对象的 type 属性值。Event LAYER_CHANGED : String = layerchanged[static] 定义 layerchanged 事件对象的 type 属性值。Event LINK : String = link[static] 定义...

来源: laya_api 发布时间: 20170929

499. 脚本组件的使用(ActionScript-2D进阶篇(AS3)-扩展模块) [ 60%]

... | Number和sNumber的最小值 | | max | Number和sNumber的最大值 | | label | Nodes的关联属性,展示的属性名( 可选) 如果有则根据labels确定长度 没有就显示长度输入框 | | types | Nodes的关联属性,每个元素的类型(可选) | | xCount | Nodes的关联属...

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

500. 脚本化(ActionScript-IDE篇(AS3)-组件化开发相关) [ 60%]

... | Number和sNumber的最小值 | | max | Number和sNumber的最大值 | | label | Nodes的关联属性,展示的属性名( 可选) 如果有则根据labels确定长度 没有就显示长度输入框 | | types | Nodes的关联属性,每个元素的类型(可选) | | xCount | Nodes的关联属...

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