When the player dies, a colorRect appears that says game over, or that's what's supposed to happen but nothing does. I touch the enemy and it doesn't happen.
func _on_enemy_area_entered(area):
dead = true
if dead:
get_node("GAME OVER").play("._game_over_.")
yield(get_node("GAME OVER"), "animation_finished")