additive manufacturing

community map ace by Richard0820

field tech: additive manufacturing - crouch while activating your field to print a throwable block
  blocks 80% faster and 80% more dense/more damage
  molecular assembler, pilot wave

inflation: 85->90% defense, 300->200% larger blocks
buckling: can spawn boosts or coupling in addition to heals, ammo, and research
This commit is contained in:
landgreen
2023-08-02 13:25:44 -07:00
parent 4933ef596d
commit 77cafe3cf0
7 changed files with 1429 additions and 81 deletions

View File

@@ -8371,7 +8371,7 @@ const spawn = {
Composite.add(engine.world, who); //add to world
if (isRedrawMap) simulation.draw.setPaths()
},
mapVertexNow(x, y, vector, properties) { //adds shape to map array in the middle of a level
mapVertexNow(x, y, vector, properties, isRedrawMap = true) { //adds shape to map array in the middle of a level
map[map.length] = Matter.Bodies.fromVertices(x, y, Vertices.fromPath(vector), properties);
const who = map[map.length - 1]
who.collisionFilter.category = cat.map;