entanglement

entanglement - your death leaves a power up for next run
  renamed entanglement
  also stores your gun and field
  improved graphics for incompatible tech
This commit is contained in:
landgreen
2022-10-19 21:14:11 -07:00
parent 2e476b46fe
commit 3a9cc28b76
7 changed files with 53 additions and 87 deletions

View File

@@ -760,6 +760,10 @@ const simulation = {
b.setFireMethod()
b.setFireCD();
// simulation.updateTechHUD();
for (let i = 0; i < b.guns.length; i++) b.guns[i].isRecentlyShown = false //reset recently shown back to zero
for (let i = 0; i < m.fieldUpgrades.length; i++) m.fieldUpgrades[i].isRecentlyShown = false //reset recently shown back to zero
for (let i = 0; i < tech.tech.length; i++) tech.tech[i].isRecentlyShown = false //reset recently shown back to zero
powerUps.tech.choiceLog = [];
powerUps.gun.choiceLog = [];
powerUps.field.choiceLog = [];