resonance

tech: resonance - when a block gets vibrated by phonon, it has a chance to spin towards mobs
cross disciplinary gives 4% duplication
boson composite lets you move through elevators again

JUNK tech: microtransactions - buy in-game skins for 1 research anytime you choose a tech

bug fixes
This commit is contained in:
landgreen
2022-06-30 07:35:36 -07:00
parent 5f098c3d1e
commit de99a27a29
8 changed files with 255 additions and 192 deletions

View File

@@ -1391,8 +1391,11 @@ const mobs = {
mob.splice(i, 1);
if (tech.isMobBlockFling) {
const who = body[body.length - 1]
b.targetedBlock(who)
Matter.Body.setAngularVelocity(who, (0.5 + 0.2 * Math.random()) * (Math.random() < 0.5 ? -1 : 1));
if (!who.isNotHoldable) {
b.targetedBlock(who)
Matter.Body.setAngularVelocity(who, (0.5 + 0.2 * Math.random()) * (Math.random() < 0.5 ? -1 : 1));
// who.torque += who.inertia * 0.002 * (Math.random() - 0.5)
}
}
} else {
Matter.Composite.remove(engine.world, this);