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

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

1. UI-Tree [ 100%]

...: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_tree_folder.png", "clip...

来源: Laya2.0_示例 发布时间: 20241001

2. 缓动-缓动函数演示 [ 80%]

...Label; this.size(100, 20); this.label = new Label(); this.label.fontSize = 12; this.label.color = "#FFFFFF"; this.addChild(this.label); } setLabel(value) { this.label.text = value; } } new Tween_EaseFunctionsDemo();module laya { import Input = Laya.Input; import Sprite = Laya.Sprite; import Stage = ...

来源: Laya2.0_示例 发布时间: 20241001

3. UI-RefreshList [ 60%]

...reshList/img_bg22.png"); this.addChild(this.msgBG); this.msgBG.sizeGrid = "12,10,8,12"; this.msgBG.pos(0, 7); this.msgBG.autoSize = true; this.msgBG.height = 80; this.msgBG.left = 7; this.msgBG.right = 7; // 选中效果 this.selectBox = new Image("res/ui/refreshList/img_bg21.png"); this.addChild(th...

来源: Laya2.0_示例 发布时间: 20241001

4. 2D物理-仿生机器人 [ 27%]

...ivot = [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = ...

来源: Laya2.0_示例 发布时间: 20241001