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

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

1. 性能测试-卡通人物2 [ 100%]

....setName = function(value) { nameLabel.text = value; } Character.prototype.update = function() { this.x += this.speed; if (this.x >= Laya.stage.width + Character.WIDTH) this.x = -Character.WIDTH; } this.createAnimation(images); this.createBloodBar(); this.createNameLabel(); } Laya.class(Character, "...

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

2. 其他引擎的Demo-Example_23 [ 89%]

...ate() { if (tick > frequency) { tick = 0; // iterate through the dudes and update the positions var laser = new Sprite(); laser.loadImage("../../res/pixi/laser0" + ((type % 5) + 1) + ".png"); type++; laser.life = 0; var pos1; var pos2; if (type % 2) { pos1 = new Point(-20, Math.random() * viewHeight...

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