mirror of
https://github.com/Sheldan/canvas.git
synced 2026-04-20 13:26:49 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user