added bow

This commit is contained in:
pennyrigate 2022-12-17 22:47:46 -05:00
parent 5d01f40535
commit 2d3fc72ebe
50 changed files with 610 additions and 151 deletions

View file

@ -0,0 +1,11 @@
extends Node2D
export var value = 1
func _on_Area2D_area_entered(area):
#Collect
if area.is_in_group("player"):
Game.arrows += value
Game.score += 25
Game.play_sound(Game.a_arrow,Game.ac_collectible)
queue_free()