大约有 121 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0035 秒)
Laya_社区(96) Laya2.0_示例(7) Laya2.0_文档(7) Laya_示例(6) Laya3.0_api(2) laya_api(1) Laya2.0_api(1) Laya3.0_文档(1)
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActi...
来源: Laya_示例 发布时间: 20241124
...t mFactory, mArmature, mStartX = 400, mStartY = 500, mCurrIndex = 0; class Skeleton_MultiTexture { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, We...
来源: Laya2.0_示例 发布时间: 20241124
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActi...
来源: Laya_示例 发布时间: 20241124
...rIndex = 0, mSkinList = ["goblin","goblingirl"], mCurrSkinIndex = 0; class Skeleton_ChangeSkin { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Brow...
来源: Laya2.0_示例 发布时间: 20241124
...项目开发更高效。(function() { var EventData = Laya.EventData; var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Sprite = Laya.Sprite; var Event = Laya.Event; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var Tween = Laya.Tween; var WebGL = Laya.Web...
来源: Laya_示例 发布时间: 20241124
...rmature, mStartX = 400, mStartY = 500, mCurrIndex = 0, mLabelSprite; class Skeleton_SpineEvent { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Brow...
来源: Laya2.0_示例 发布时间: 20241124
...rivate parseComplete():void { //创建模式为1,可以启用换装 this.skeleton =this.templet.buildArmature(1); this.skeleton.x = this.mStartX; this.skeleton.y = this.mStartY; this.skeleton.scale(this.scaleper, this.scaleper); if (!this.emojiArr) { this.emojiArr={}; var emojinum = this.skeleton....
来源: Laya_社区 发布时间: 20180824
spine 播放错乱 templet: Laya.SpineTemplet; skeleton: Laya.SpineSkeleton; index = 0; private startFun(): void { //创建动画模板 this.templet = new Laya.SpineTemplet(); this.templet.loadAni("spine/10101001.json"); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.o...
来源: Laya_社区 发布时间: 20210813
...源,一样的代码,还是一样的错误信息 代码: import SpineSkeleton = Laya.SpineSkeleton; import Loader = Laya.Loader; import SpineTemplet = Laya.SpineTemplet; const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { private skeleton: SpineSkeleton; pri...
来源: Laya_社区 发布时间: 20230703
龙骨动画demo var skeleton = new Laya.Skeleton(); skeleton.pos(100, 500); skeleton.zOrder = 1; skeleton.load("dragonBones/chicken/chicken.sk", Laya.Handler.create(this, (e) => { console.log(e); let num = skeleton.getAnimNum() let name = skeleton.getAniNameByIndex(num - 1); skeleton.play(name)...
来源: Laya_社区 发布时间: 20190416