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

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

1. 其他引擎的Demo-Example_04 [ 100%]

...WALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.createText(); this.start(); } start() { const Sprite = Laya.Sprite; for (var i = 0; i w) { stars[i].x = stars[i].x - w; } else if (stars[i].x h) { stars[i].y = stars[i].y - h; } else if (stars[i].y = []; private w:number = Browser.width; privat...

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

2. 粒子-粒子演示1 [ 88%]

...ings); Laya.stage.addChild(partIns); // 开始发射粒子 partIns.emitter.start(); // 播放 partIns.play(); partIns.x = Laya.stage.width / 2; partIns.y = Laya.stage.height / 2; } } new Particle_T1();module laya { import Stage = Laya.Stage; import Loader = Laya.Loader; import Particle2D = Laya.Part...

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

3. 粒子-粒子演示2 [ 88%]

...ings); Laya.stage.addChild(partIns); // 开始发射粒子 partIns.emitter.start(); // 播放 partIns.play(); partIns.x = Laya.stage.width / 2; partIns.y = Laya.stage.height / 2; } } new Particle_T2();module laya { import Stage = Laya.Stage; import Loader = Laya.Loader; import Particle2D = Laya.Part...

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

4. 粒子-粒子演示3 [ 88%]

...ings); Laya.stage.addChild(partIns); // 开始发射粒子 partIns.emitter.start(); // 播放 partIns.play(); partIns.x = Laya.stage.width / 2; partIns.y = Laya.stage.height / 2; } } new Particle_T3();module laya { import Stage = Laya.Stage; import Loader = Laya.Loader; import Particle2D = Laya.Part...

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

5. 输入设备-摇一摇 [ 85%]

...age.bgColor = "#232628"; this.showShakePic(); this.showConsoleText(); this.startShake(); } showShakePic() { const Sprite = Laya.Sprite; let shakePic = new Sprite(); shakePic.loadImage("res/inputDevice/shake.png"); Laya.stage.addChild(shakePic); } showConsoleText() { const Text = Laya.Text; console =...

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