player.tscn: scholar of the first bullet casings
This commit is contained in:
parent
79cbd62a69
commit
bc57ba4171
45 changed files with 1429 additions and 113 deletions
|
@ -35,9 +35,9 @@ func _on_DelayTimer_timeout():
|
|||
|
||||
|
||||
func _on_DetectPlayer_area_entered(area):
|
||||
if area.is_in_group("player"):
|
||||
if area.is_in_group("player_hitbox"):
|
||||
body.collision_layer = 0
|
||||
|
||||
func _on_DetectPlayer_area_exited(area):
|
||||
if area.is_in_group("player"):
|
||||
if area.is_in_group("player_hitbox"):
|
||||
body.collision_layer = collision_layer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue