player.tscn: scholar of the first bullet casings

This commit is contained in:
Haze Weathers 2023-05-08 01:00:38 -04:00
parent 79cbd62a69
commit bc57ba4171
45 changed files with 1429 additions and 113 deletions

View file

@ -16,7 +16,7 @@ func _physics_process(delta):
position.y -= speed * delta
func _on_area_entered(area):
if area.is_in_group("player") or area.is_in_group("arrow"):
if area.is_in_group("player_hitbox") or area.is_in_group("arrow"):
sprite.frame_coords.y = 1
speed = 0.0
get_tree().create_timer(0.5, false).connect("timeout", self, "queue_free")