started work on gun switching, need to iron out kinks and set up weapon management script
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user