//============================== // * create HP Number //============================== Sprite_BossHP.prototype.createHPNumber = function() { this._hp_number = []; this._hp_number_data = [] this._hp_number_img = ImageManager.loadBossHp("Boss_HP_C"); for (var i = 0; i < 10; i++) { this._hp_number[i] = new Sprite(this._hp_number_img); this._hp_number[i].visible = false; this._hp_number[i].opacity = 0; this._hp_number[i].x = this._layout.x + Moghunter.bosshp_number_x; this._hp_number[i].y = this._layout.y + Moghunter.bosshp_number_y; this._hp_number_data[i] = 0; this.addChild(this._hp_number[i]); }; };
360截图20170728140458644.jpg (14.94 KB, 下载次数: 0)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |