input.down alt fire, not crouch

gun alt fire is determined by the down key not the player crouch state
  (so you can control alt fire when in the air or stuck in a tunnel)
  I did this with text replace, so it could produce some bugs

harpoon
  automatically uses power ups that return to player
  will aim at harder to hit targets, and possible miss
  returns extra fast if it is far from the player
  bullets last a bit longer so they don't despawn early
  cd on miss fire lowered to 1.5s (was 3s)

bugs fixes
This commit is contained in:
landgreen
2021-09-14 05:46:52 -07:00
parent a1b062e2a4
commit 8cf4197219
5 changed files with 110 additions and 81 deletions

View File

@@ -18,6 +18,9 @@ const level = {
// m.setField("time dilation")
// b.giveGuns("harpoon")
// tech.giveTech("filament")
// tech.giveTech("unaaq")
// tech.giveTech("reticulum")
// tech.giveTech("reticulum")
// tech.giveTech("reticulum")
// tech.giveTech("necrophage")
// for (let i = 0; i < 3; i++) tech.giveTech("super sized")