survivors: add ability to dynamically position weapons

change size of weapon to be used for offset only, draw size is different
increasing speed of gun projectile
This commit is contained in:
Sheldan
2025-08-21 21:53:59 +02:00
parent 603bf3addc
commit 07b64154e1
4 changed files with 62 additions and 26 deletions

View File

@@ -118,8 +118,7 @@ docReady(function () {
}, 15_000)
player.addWeapon(Pistol.spawnPistol(world))
let secondPistol = Pistol.spawnPistol(world, new Vector(-5, -5));
player.addWeapon(secondPistol)
player.addWeapon(Pistol.spawnPistol(world))
hud = new HUD(world);