All audio stuff moved to audio autoload and removed game.tscn in favor of just game.gd
This commit is contained in:
parent
30cfad6e7e
commit
e1a30188a6
21 changed files with 134 additions and 97 deletions
|
@ -7,5 +7,5 @@ func _on_Area2D_area_entered(area):
|
|||
if area.is_in_group("player"):
|
||||
Game.arrows += value
|
||||
Game.score += 25
|
||||
Game.play_sound(Game.a_arrow,Game.ac_collectible)
|
||||
Audio.play_sound(Audio.a_arrow,Audio.ac_collectible)
|
||||
queue_free()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue