WIMPs
ice-IX does 15% more damage tech: WIMPs - an indestructible harmful particle slowly chases you spawn 2-3 research at the end of each level experimental mode : WIMPS chase you beating the final boss looks a bit less like death and a bit more like winning also there are some text directions on how to enter endless mode (press T after you win) tech removed: 1-body problem
This commit is contained in:
10
js/index.js
10
js/index.js
@@ -59,8 +59,10 @@ function getUrlVars() {
|
||||
return vars;
|
||||
}
|
||||
window.addEventListener('load', () => {
|
||||
|
||||
const set = getUrlVars()
|
||||
if (Object.keys(set).length !== 0) {
|
||||
build.populateGrid() //trying to solve a bug with this, but maybe it doesn't help
|
||||
openExperimentMenu();
|
||||
//add experimental selections based on url
|
||||
for (const property in set) {
|
||||
@@ -103,12 +105,8 @@ window.addEventListener('load', () => {
|
||||
simulation.difficultyMode = Number(set[property])
|
||||
document.getElementById("difficulty-select-experiment").value = Number(set[property])
|
||||
}
|
||||
if (property === "level") {
|
||||
document.getElementById("starting-level").value = Number(set[property])
|
||||
}
|
||||
if (property === "noPower") {
|
||||
document.getElementById("no-power-ups").checked = Number(set[property])
|
||||
}
|
||||
if (property === "level") document.getElementById("starting-level").value = Number(set[property])
|
||||
if (property === "noPower") document.getElementById("no-power-ups").checked = Number(set[property])
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user