• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 146 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0036 秒)

11. 混合模式-Lighter [ 88%]

...de_Lighter { // 一只凤凰的分辨率是550 * 400 private phoenixWidth: number = 550; private phoenixHeight: number = 400; private bgColorTweener: Tween = new Tween(); private gradientInterval: number = 2000; private bgColorChannels: any = { r: 99, g: 0, b: 0xFF }; constructor() { // 不支持Web...

来源: Laya_示例 发布时间: 20241117

12. 混合模式-Lighter [ 88%]

...de_Lighter { // 一只凤凰的分辨率是550 * 400 private phoenixWidth: number = 550; private phoenixHeight: number = 400; private bgColorTweener: Tween = new Tween(); private gradientInterval: number = 2000; private bgColorChannels: any = { r: 99, g: 0, b: 0xFF }; constructor() { // 不支持Web...

来源: Laya2.0_示例 发布时间: 20241117

13. 缓动 · LayaAir3.0文档 · LAYABOX [ 88%]

...urn 返回Tween对象。 */ static from(target: any, props: any, duration: number, ease: Function = null, complete: Handler = null, delay: number = 0, coverBefore: boolean = false, autoRecover: boolean = true): Tween { return Pool.getItemByClass("tween", Tween)._create(target, props, duration, ease,...

来源: Laya3.0_文档 发布时间: 20241014

14. laya.utils.TimeLine_API3.0 [ 87%]

...nce pause play removeLabel reset resume to from to Properties scale scale: number = 1 Defined in laya/utils/TimeLine.ts:45 缩放动画播放的速度。 Accessors total get total(): number Defined in laya/utils/TimeLine.ts:397 得到总帧数。 Returns number Methods addLabel addLabel(label: strin...

来源: Laya3.0_api 发布时间: 20231115

15. 骨骼动画-Spine事件 [ 86%]

...xport class Skeleton_SpineEvent { private mAniPath:string; private mStartX:number = 400; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skeleton; private mCurrSkinIndex:number = 0; private mFactory2:Templet; p...

来源: Laya_示例 发布时间: 20241117

16. 想修改Ease的参数 [ 86%]

...大。 * @return 指定时间的插补属性的值。 */ static backOut(t: number, b: number, c: number, d: number, s?: number): number; 看到可以修改参数值,可是不明白怎么在tween里调用 2017-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

来源: Laya_社区 发布时间: 20171026

17. 骨骼动画-Spine事件 [ 85%]

...xport class Skeleton_SpineEvent { private mAniPath:string; private mStartX:number = 400; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skeleton; private mCurrSkinIndex:number = 0; private mFactory2:Templet; p...

来源: Laya2.0_示例 发布时间: 20241117

18. 鼠标交互-滑动 [ 84%]

... export class Interaction_Swipe { //swipe滚动范围 private TrackLength: number = 200; //触发swipe的拖动距离 private TOGGLE_DIST: number = this.TrackLength / 2; private buttonPosition: number; private beginPosition: number; private endPosition: number; private button: Sprite; constructor() ...

来源: Laya_示例 发布时间: 20241117

19. 关于缓动实现曲线运动另类 [ 84%]

...实现铺满全屏,又不被拉伸? 刮刮卡效果实现 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 问题状态 最新活动: 2019-11-08 16:31 浏览: 778 关注: 1 人

来源: Laya_社区 发布时间: 20191108

20. 缓动-逐字缓动 [ 84%]

...ing = "LayaBox"; for (let i = 0, len = demoString.length; i > 1; var endY: number = Laya.stage.height / 2 - 50; var demoString: string = "LayaBox"; for (var i: number = 0, len: number = demoString.length; i > 1; var endY:int = Laya.stage.height / 2 - 50; var demoString:String = "LayaBox"; for (var i...

来源: Laya2.0_示例 发布时间: 20241117