大约有 341 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0050 秒)
...R: this.timeLine.resume(); break; } } } new Tween_TimeLine();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Keyboard = Laya.Keyboard; import TimeLine = Laya.TimeLine; import WebGL = Laya.WebGL; export class Tween_TimeLine { private target:Spri...
来源: Laya2.0_示例 发布时间: 20241117
...; break; case Keyboard.R: timeLine.resume(); break; } } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Keyboard = Laya.Keyboard; import TimeLine = Laya.TimeLine; import WebGL = Laya.WebGL; export class Tween_TimeLine { private target:Spri...
来源: Laya_示例 发布时间: 20241117
...• 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
...ce = Math.sqrt(dx * dx + dy * dy); } return distance; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Scale { //上次记录的两个触模点之间距离 privat...
来源: Laya_示例 发布时间: 20241117
...n onError(err) { console.log("加载失败: " + err); } })();module laya { import Event = Laya.Event; import Loader = Laya.Loader; import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_ProgressAndErrorHandle { constructor() { Laya.init(550, 400); // 无加载失败重试 ...
来源: Laya_示例 发布时间: 20241117
... { logger.text += "点击 - " + e.target.name + "\n"; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_FixInteractiveRegion { private log...
来源: Laya_示例 发布时间: 20241117
...vY - nowY; prevX = nowX; prevY = nowY; } } new Text_Scroll();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Scroll { private txt: Text; private prevX: number = 0; private prevY: ...
来源: Laya2.0_示例 发布时间: 20241117
...0.5 this.button2.alpha -= 0.5; } } new Timer_DelayExcute();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_DelayExcute { private button1: Sprite; private button2: Sprite; con...
来源: Laya2.0_示例 发布时间: 20241117
...设备,麻烦帮忙看下,谢谢啦,贴上代码。 package { import flash.display.Loader; import flash.display.LoaderInfo; import flash.display.MovieClip; import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMod...
来源: Laya_社区 发布时间: 20170317
...h.sin(scaleDelta); ape.scale(scaleValue, scaleValue); } })();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_RoateAndScale { private ape: Sprite; private scaleDelta: number ...
来源: Laya_示例 发布时间: 20241117