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

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

1. UI-Tree [ 100%]

...on对象: // {"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...

来源: Laya_示例 发布时间: 20241118

2. 文本-下划线 [ 81%]

...lor = "#232628"; createTexts(); })(); function createTexts() { createText('left', 1, null, 100, 10); createText('center', 2, "#00BFFF", 155, 150); createText('right', 3, "#FF7F50", 210, 290); } function createText(align, underlineWidth, underlineColor, x, y) { var txt = new Text(); txt.text = "Layab...

来源: Laya_示例 发布时间: 20241118

3. 动画-旧版骨骼动画 [ 79%]

...k.lsani", "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@left_fall-left_fall.lsani", "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@right_fall-right_fall.lsani", "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@back_fall-back_fall.lsani" ]; //遍...

来源: Laya_示例 发布时间: 20241118

4. 缓动-时间线 [ 72%]

...,{x:450, y:300, scaleX:0.2, scaleY:1, alpha:1},2000,null,0) .addLabel("turnLeft",0).to(target,{x:100, y:300, scaleX:1, scaleY:0.2, alpha:0.1},2000,null,0) .addLabel("turnUp",0).to(target,{x:100, y:100, scaleX:1, scaleY:1, alpha:1},2000,null,0); timeLine.play(0,true); timeLine.on(Event.COMPLETE,this,...

来源: Laya_示例 发布时间: 20241118

5. 动画-新版骨骼动画 [ 69%]

...mator); loadUI(); }); function loadUI() { var clipName = ["walk","attack","left_fall","right_fall","back_fall"]; var curStateIndex = 0; Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(null, function () { changeActionButton = Laya.stage.addChild(new Laya.Button("../../res...

来源: Laya_示例 发布时间: 20241118

6. 输入设备-地图 [ 65%]

...bsolute"; style.top = Laya.stage.height / Browser.pixelRatio + "px"; style.left = "0px"; style.width = Browser.width / Browser.pixelRatio + "px"; style.height = (Browser.height - Laya.stage.height) / Browser.pixelRatio + "px"; Browser.document.body.appendChild(mapDiv); } function initMap() { // 初...

来源: Laya_示例 发布时间: 20241118

7. 射线检测-碰撞器混合 [ 59%]

...transform.translate(this._tempUnitX2); else if (e.keyCode == Laya.Keyboard.LEFT) this.layaMonkey.transform.translate(this._tempUnitX3); else if (e.keyCode == Laya.Keyboard.RIGHT) this.layaMonkey.transform.translate(this._tempUnitX4); } function drawCollider() { if (!this.debug) { this.collider.activ...

来源: Laya_示例 发布时间: 20241118