started work on gun switching, need to iron out kinks and set up weapon management script

This commit is contained in:
Derek
2024-07-14 23:52:46 -05:00
parent 6fedc3e3c5
commit d4bafbc0bf
10 changed files with 72 additions and 22 deletions

View File

@@ -94,6 +94,7 @@ func shoot(player,delta):
instance_bullet.bullet_speed = bullet_speed
instance_bullet.bullet_drop = bullet_drop
instance_bullet.random_spread_amt = random_spread_amt
instance_bullet.instance_bullethole = bullethole.instantiate()
instance_bullet.gun = self
get_tree().get_root().add_child(instance_bullet)