forked from team-sg/hero-mark-2
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
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue