new mods, bug fixes

mods: pocket universe, plasma field range, Hawking radiation

added trackpad mode
This commit is contained in:
landgreen
2020-03-01 19:05:45 -08:00
parent 0e0b2fd5a2
commit 1c843686f1
9 changed files with 200 additions and 87 deletions

View File

@@ -69,10 +69,11 @@ const game = {
onTitlePage: true,
paused: false,
isChoosing: false,
testing: false, //testing mode: shows wireframe and some variables
testing: false, //testing mode: shows wire frame and some variables
cycle: 0, //total cycles, 60 per second
fpsCap: null, //limits frames per second to 144/2=72, on most monitors the fps is capped at 60fps by the hardware
fpsCapDefault: 72, //use to change fpsCap back to normal after a hit from a mob
isEasyToAimMode: true, //removes power ups that don't work well with a track pad
cyclePaused: 0,
fallHeight: 3000, //below this y position the player dies
lastTimeStamp: 0, //tracks time stamps for measuring delta
@@ -571,7 +572,6 @@ const game = {
},
clearNow: false,
clearMap() {
if (b.isModMineAmmoBack) {
let count = 0;
for (i = 0, len = bullet.length; i < len; i++) { //count mines left on map