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

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

1. 骨骼动画-换装 [ 100%]

...ort Stat = Laya.Stat; import WebGL = Laya.WebGL; export class ChangeSkin { 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...

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

2. 骨骼动画-藤蔓 [ 99%]

... = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineVine { private mAniPath:string; private mStartX:number = 200; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skeleton; private mCurrSkinIndex...

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

3. 骨骼动画-橡胶人 [ 99%]

....Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineStretchyman { private mAniPath:string; private mStartX:number = 200; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skeleton; private mCurrSkinIndex...

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

4. 骨骼动画-Spine事件 [ 99%]

... Laya.Tween; import WebGL = Laya.WebGL; export 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...

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

5. 骨骼动画-多纹理 [ 99%]

...t Stat = Laya.Stat; import WebGL = Laya.WebGL; export class MultiTexture { 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...

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

6. 其他引擎的Demo-Example_21 [ 98%]

... = Laya.Browser; import WebGL = Laya.WebGL; export class PIXI_Example_21 { private colors:Array = ["#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; private colorCount:number = 0; private isDown:Boolean = false; private path:Array = []; private color:String = this.colors[0]; private liveGraphi...

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

7. 性能测试-虫子(慎入) [ 98%]

...ctangle; import WebGL = Laya.WebGL; export class PerformanceTest_Maggots { private texturePath:string = "res/tinyMaggot.png"; private padding:number = 100; private maggotAmount:number = 5000; private tick:number = 0; private maggots:Array = []; private wrapBounds:Rectangle; private maggotTexture:any...

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

8. 区块地图-滚动地图 [ 97%]

...= Laya.Stat; import WebGL = Laya.WebGL; export class TiledMap_SimpleDemo { private tiledMap: TiledMap; private mLastMouseX: number = 0; private mLastMouseY: number = 0; private mX: number = 0; private mY: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientW...

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

9. 混合模式-Lighter [ 97%]

...; export class BlendMode_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 }; construct...

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

10. UI-Clip [ 97%]

... Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "res/ui/button-7.png"; private clipSkin: string = "res/ui/num0-9.png"; private bgSkin: string = "res/ui/coutDown.png"; private counter: Clip; private currFrame: number; private controller: Button;...

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