大约有 2,055 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0060 秒)
...{ mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineVine { private mAniPath:...
来源: Laya_示例 发布时间: 20241117
编译异常 Note that you need plugins to import files that are not JavaScript 在他人电脑运行没有问题,在自己的电脑编辑就报如下的错误,有大佬遇到吗? [17:24:32] Working directory changed to D:\LayaAirIDE2.3.0\resources\app [17:24:32] Using gulpfile ~\Desktop\Mine...
来源: Laya_社区 发布时间: 20200513
...Laya.stage.width / 2; rect.y = Laya.stage.height / 2; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_SHOW_ALL { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#23...
来源: Laya_示例 发布时间: 20241117
...Laya.stage.width / 2; rect.y = Laya.stage.height / 2; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_EXTRACT_FIT { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.stage.bgColor = ...
来源: Laya_示例 发布时间: 20241117
...{ mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineStretchyman { private mA...
来源: Laya_示例 发布时间: 20241117
...在这上面我帮你看一下 ayiui4566 • 2017-11-03 15:58 module laya{ import MovieClip = Laya.MovieClip; import Stage = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; import Stat = Laya.Stat; export class Animation_SWF{ private SWFPath:string = "h5/res/Map11.swf"...
来源: Laya_社区 发布时间: 20171103
...1.7.18,效果就是下图这样,感觉像是图集乱了 package { import laya.map.TiledMap; import laya.maths.Rectangle; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class LayaSample { private var tMap:TiledMap; public function LayaSample() { //初始...
来源: Laya_社区 发布时间: 20180428
...• 2017-03-21 10:52 //我用TS但是里面没有delta属性 module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; import Rectangle = laya.maths.Rectangle export class Interaction_Scale { constructor...
来源: Laya_社区 发布时间: 20170321
...e() { this.apesCon.rotation += 1; } } new Sprite_Container();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Container { // 该容器用于装载4张猩猩图片 private ape...
来源: Laya2.0_示例 发布时间: 20241117
...mate); } function animate(e) { apesCtn.rotation += 1; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Container { // 该容器用于装载4张猩猩图片 private ape...
来源: Laya_示例 发布时间: 20241117