n_gon level

NEW COMMUNITY LEVEL  n_gon   by Oranger

experimenting with some code the automatically positions blocks into the center of buttons
  let me know if anything acts oddly as a result

small adjustments to maps around buttons around platforms
some bug fixes
This commit is contained in:
landgreen
2021-05-28 20:30:43 -07:00
parent 8ab86fea09
commit dc81f05947
6 changed files with 500 additions and 47 deletions

View File

@@ -524,11 +524,12 @@ const simulation = {
level.levels.push("basement");
level.levels.push("crossfire");
level.levels.push("vats")
level.levels.push("n_gon")
level.levels.push("house");
level.levels.push("perplex");
level.levels.push("coliseum");
level.levels = shuffle(level.levels); //shuffles order of maps
level.levels.splice(0, 7); //remove some random levels to make up for adding the community levels
level.levels.splice(0, 8); //remove some random levels to make up for adding the community levels
lore.techCount = 0; //remove undefined tech for community maps
for (let i = 0, len = tech.tech.length; i < len; i++) {