added plasma field, removed electrostatic field, added throwing mod

This commit is contained in:
landgreen
2019-11-24 10:42:54 -08:00
parent b22d98e554
commit 9012b5a968
7 changed files with 278 additions and 229 deletions

View File

@@ -75,6 +75,7 @@ const game = {
lastTimeStamp: 0, //tracks time stamps for measuring delta
delta: 1000 / 60, //speed of game engine //looks like it has to be 16 to match player input
buttonCD: 0,
isBodyDamage: true,
isEasyMode: false,
difficulty: null,
// dropFPS(cap = 40, time = 15) {
@@ -418,6 +419,7 @@ const game = {
mech.addHealth(1);
mech.alive = true;
level.onLevel = 0;
level.levelsCleared = 0;
//resetting difficulty
game.dmgScale = 1;
@@ -434,7 +436,6 @@ const game = {
level.difficultyIncrease(game.difficulty)
}
game.clearNow = true;
document.getElementById("text-log").style.opacity = 0;
document.getElementById("fade-out").style.opacity = 0;