大约有 2 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0011 秒)
....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_示例 发布时间: 20250220
...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_示例 发布时间: 20250220