forked from team-sg/hero-mark-2
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
|
@ -35,4 +35,4 @@ func _physics_process(delta):
|
|||
bullet.direction = bullet.direction.rotated(rand_range(-bullet_spread, bullet_spread))
|
||||
bullet.speed = bullet_speed
|
||||
get_parent().call_deferred("add_child", bullet)
|
||||
Game.play_sound(Game.a_arrow, Game.ac_climb)
|
||||
Audio.play_sound(Audio.a_arrow, Audio.ac_climb)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue