大约有 80 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0031 秒)
Laya_社区(58) Laya2.0_示例(7) Laya2.0_文档(4) Laya_示例(4) Laya3.0_api(3) laya_api(2) Laya2.0_api(1) Laya3.0_文档(1)
...this.templet.on(Event.ERROR, this, this.onError); } parseComplete() { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2, Browser.height / 2 + 100); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Event.STOPPED, this, this.play); thi...
来源: Laya2.0_示例 发布时间: 20241118
...t mFactory, mArmature, mStartX = 200, mStartY = 500, mCurrIndex = 0; class Skeleton_SpineVine { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Brows...
来源: Laya2.0_示例 发布时间: 20241118
...t mFactory, mArmature, mStartX = 200, mStartY = 500, mCurrIndex = 0; class Skeleton_SpineStretchyman { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth...
来源: Laya2.0_示例 发布时间: 20241118
使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 引擎版本:1.7.19 描述: 使用对象池重复使用skeleton报错,但每次new Laya.Skeleton() 就没问题。 伪代码: const temp = new Laya.Templet(); temp.parseData(xxx, xxx, 0); // 从对象池...
来源: Laya_社区 发布时间: 20181120
...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_示例 发布时间: 20241118
...种开发语言、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 = 200; var mStartY = 500; var mFactory; var mActi...
来源: Laya_示例 发布时间: 20241118
...种开发语言、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 = 200; var mStartY = 500; var mFactory; var mActi...
来源: Laya_示例 发布时间: 20241118
...种开发语言、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_示例 发布时间: 20241118
...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_示例 发布时间: 20241118
...项目开发更高效。(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_示例 发布时间: 20241118