ljhs-games / week-75

Week 75 game repository
MIT License
1 stars 2 forks source link

Add arrow #8

Closed ApGoldberg closed 5 years ago

ApGoldberg commented 5 years ago

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.

creikey commented 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

creikey commented 5 years ago

Make the arrow queue_free once it leaves the screen as well