diff --git a/index.html b/index.html index 5ead37c..7e4f908 100644 --- a/index.html +++ b/index.html @@ -53,9 +53,9 @@
settings
- +

diff --git a/js/index.js b/js/index.js index ff41677..19ee488 100644 --- a/js/index.js +++ b/js/index.js @@ -1830,9 +1830,9 @@ if (localSettings.isAllowed && !localSettings.isEmpty) { localSettings.loreCount = 0; //this sets what conversation is heard if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage } - // if (localSettings.isHideImages === undefined) localSettings.isHideImages = true //default to hide images - // document.getElementById("hide-images").checked = localSettings.isHideImages - localSettings.isHideImages = true //no images + if (localSettings.isHideImages === undefined) localSettings.isHideImages = true //default to hide images + document.getElementById("hide-images").checked = localSettings.isHideImages + // localSettings.isHideImages = true //no images if (localSettings.isHideHUD === undefined) localSettings.isHideHUD = true document.getElementById("hide-hud").checked = localSettings.isHideHUD @@ -1877,7 +1877,7 @@ if (localSettings.isAllowed && !localSettings.isEmpty) { if (localSettings.isAllowed) localStorage.setItem("localSettings", JSON.stringify(localSettings)); //update local storage document.getElementById("community-maps").checked = localSettings.isCommunityMaps simulation.isCommunityMaps = localSettings.isCommunityMaps - // document.getElementById("hide-images").checked = localSettings.isHideImages + document.getElementById("hide-images").checked = localSettings.isHideImages document.getElementById("fps-select").value = localSettings.fpsCapDefault document.getElementById("banned").value = localSettings.banList } diff --git a/js/level.js b/js/level.js index 8b58926..df02b0c 100644 --- a/js/level.js +++ b/js/level.js @@ -727,9 +727,9 @@ const level = { simulation.isChoosing = false; //stops p from un pausing on key down build.unPauseGrid() document.getElementById("choose-grid").style.opacity = "0" - setTimeout(() => { - document.getElementById("choose-grid").style.visibility = "hidden" - }, 1000); + document.getElementById("choose-grid").style.visibility = "hidden" + // setTimeout(() => { + // }, 1000); }, populateLevels() { //run a second time if URL is loaded if (document.getElementById("banned").value) { //remove levels from ban list in settings diff --git a/js/powerup.js b/js/powerup.js index 28ef695..64aa91c 100644 --- a/js/powerup.js +++ b/js/powerup.js @@ -381,6 +381,7 @@ const powerUps = { b.giveGuns("name") //nail gun shotgun super balls wave missiles grenades spores drones foam harpoon mine laser tech.damage *= 2 //2x damage m.immuneCycle = Infinity //immune to damage + m.coyoteCycles = Infinity //air jumps m.energy = 0 //set energy m.health = 1 //set health m.maxHealth = 1 //set max health diff --git a/js/tech.js b/js/tech.js index b4dae12..f98eae7 100644 --- a/js/tech.js +++ b/js/tech.js @@ -1287,13 +1287,14 @@ const tech = { }, refundAmount: 0, remove() { - if (this.count && m.alive) { - for (let i = 0; i < this.totalRate.length; i++) tech.fireRate *= this.totalRate[i] + if (this.count) { + // for (let i = 0; i < this.totalRate.length; i++) tech.fireRate *= this.totalRate[i] if (this.refundAmount > 0) { tech.removeJunkTechFromPool(this.refundAmount) this.refundAmount = 0 } } + tech.fireRate = 1 this.totalRate.length = 0 b.setFireCD(); } diff --git a/todo.txt b/todo.txt index 7658566..48c2cbf 100644 --- a/todo.txt +++ b/todo.txt @@ -1,17 +1,18 @@ ******************************************************** NEXT PATCH ************************************************** -images have been disabled - I think they don't fit stylistically +images are back as an option due to public outcry - new power up: level WARP - it shows up when you enter testing mode on the initial level -interferometer horizontal laser now moves with the elevator -LaunchSite community map updated +bug fixes + getting a power up quickly after warp, difficulty or instructions power ups was making the screen go blank + heuristics resets on death properly now -some minor bug fixes ******************************************************** BUGS ******************************************************** + + can't consistenly reproduce, but it happened several times this way + on initial level I press T and took the warp and exited it, then I too a field and the screen went blank + figure out why seeded random isn't making runs the same: shuffle is being used for a wide variety of things that don't need a seeded random make two shuffle functions?