大约有 10 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0025 秒)
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Animation = Laya.Animation; var Stage = Laya.Stage; var Rectangle = Laya.Rectangle; var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var AniConfPath = "../../res/fighter/...
来源: Laya_示例 发布时间: 20241118
...OADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 40, 70); }); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025...
来源: Laya_示例 发布时间: 20241118
...OADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Qu...
来源: Laya_示例 发布时间: 20241118
...OADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 115, 150); }); var _quaternion = new Laya.Quaternion(); var _position = new Laya.Vector3(); Laya.timer.frameLoop(1, null, function () { Laya.Q...
来源: Laya_示例 发布时间: 20241118
...h")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, function () { //获取Animator动画组件 zombieAnimator = zombie.getChildAt(0).getComponentByType(Laya.Animator); loadUI(); }); function loadUI() { var clipName = ["walk","attack","left_fall","right_fall","back_fall"]; var curStateIndex = 0; Lay...
来源: Laya_示例 发布时间: 20241118
...高效。var leo; (function (leo) { var Sprite = laya.display.Sprite; var Animation = laya.display.Animation; var Text = laya.display.Text; var Stage = laya.display.Stage; var Browser = laya.utils.Browser; var Stat = laya.utils.Stat; var WebGL = laya.webgl.WebGL; var Event = laya.events.Event; /** *...
来源: Laya_示例 发布时间: 20241118
...ar Stat = Laya.Stat; var WebGL = Laya.WebGL; var Sprite = Laya.Sprite; var Animation = Laya.Animation; // Class Character function Character(images) { Character.super(this); Character.WIDTH = 110; Character.HEIGHT = 110; var bloodBar; var animation; var nameLabel; Character.prototype.createAnimation...
来源: Laya_示例 发布时间: 20241118
...")); this.layaMonkey.transform.localScale = new Laya.Vector3(5, 5, 5); var animator = (this.layaMonkey.getChildAt(0)).getComponentByType(Laya.Animator); var totalAnimationClip = animator.getClip("Take_001"); animator.addClip(totalAnimationClip, "walk", 40, 70); animator.play("walk", 2.5); //初始...
来源: Laya_示例 发布时间: 20241118
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Animation = Laya.Animation; var Stage = Laya.Stage; var Browser = Laya.Browser; var Handler = Laya.Handler; var Tween = Laya.Tween; var WebGL = Laya.WebGL; // 一只凤凰的分辨率是550 * 400 var phoenixWidth = 550; var pho...
来源: Laya_示例 发布时间: 20241118
...sets/Zombie/Model/z@back_fall-back_fall.lsani" ]; //遍历节点,添加SkinAnimation动画组件 function addSkinComponent(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D = spirit3D; var skinAni = meshSprite3D.addComponent(Laya.SkinAnimations); skinAni.templet = Laya.Animat...
来源: Laya_示例 发布时间: 20241118