Closed ApGoldberg closed 5 years ago
The arrow should also call a method on the player called hit(damage, knockback_direction, knockback_magnitude)
when it adds itself as a child. The arrow should have a tween as a child that slowly makes the arrow fade out, then when the tween is completed, causes the arrow to queue_free
Make the arrow queue_free
once it leaves the screen as well
Fired by ranged enemy. Should be a child of the parent of the ranged enemy. Node should be Area2D, once it hits the player, it should become a child of the player to appear lodged inside of him.