new reactor boss: timeBoss - after taking some damage it speeds up the passage of time
reactor level has big doors

nonrefundable tech show up in the pause menu
time dilation field - move, jump, and fire 25% faster
JUNK tech: closed timelike curve - spawn 5 field power ups, but every 12 seconds teleport a second into your future
This commit is contained in:
landgreen
2022-05-25 19:15:34 -07:00
parent 25037cac0d
commit 779500ce21
10 changed files with 450 additions and 386 deletions

View File

@@ -89,18 +89,35 @@ const simulation = {
m.airControl()
}
m.move();
level.custom();
simulation.checks();
mobs.loop();
// m.draw();
m.walk_cycle += m.flipLegs * m.Vx;
m.hold();
level.customTopLayer();
b.fire();
b.bulletRemove();
b.bulletDo();
}
simulation.isTimeSkipping = false;
},
timePlayerSkip(cycles = 60) {
simulation.isTimeSkipping = true;
for (let i = 0; i < cycles; i++) {
simulation.cycle++;
simulation.gravity();
Engine.update(engine, simulation.delta);
// level.custom();
// level.customTopLayer();
if (!m.isBodiesAsleep) {
simulation.checks();
mobs.loop();
}
b.bulletRemove();
if (!m.isBodiesAsleep) b.bulletDo();
}
simulation.isTimeSkipping = false;
},
mouse: {
x: canvas.width / 2,
y: canvas.height / 2