

die(){
this.isDie= true;
game.game_state = 4 ;//游戏结束
game.isBgMove = false;
var anim = this.getComponent(cc.Animation);
anim.play("hero_die_animation_clip");
anim.over = function () {
//game.on_enemy_killed(this.node, 1);
this.node.active = false;
game.game_over();
}.bind(this);
}
game_over(){
this.game_over_node.active = true;
},

站长微信:xiaomao0055
站长QQ:14496453