enemy tweaks

This commit is contained in:
derek
2024-07-18 16:59:14 -05:00
parent acdfae4777
commit 0676e28e89
43 changed files with 1208 additions and 56 deletions

View File

@@ -152,7 +152,7 @@ func fire(delta):
instance_bullet.bullet_damage = bullet_damage
instance_bullet.random_spread_amt = random_spread_amt
instance_bullet.bullet_force_mod = bullet_force_mod
instance_bullet.player = player
instance_bullet.player_position = player.global_position
instance_bullet.instance_bullethole = bullethole.instantiate()
get_tree().get_root().add_child(instance_bullet)
player.weapon_recoil(delta)