From 89ade77e14e74658520d5e955a34042b6cdcfc49 Mon Sep 17 00:00:00 2001 From: landgreen Date: Sun, 4 Jul 2021 06:40:57 -0700 Subject: [PATCH] lore conversations to prevent misclicks when you grab two power ups in a row there is a 1/2 second delay before power up selections can register I also added in a 0.25 fade in effect on the power up selection menu. Can you tell? tech: pseudoscience - adds 0-4 JUNK to the potential tech pool (was 1-5 JUNK) tech quenching - now increases max health and does harm for over healing from heal power ups (was for heals at max health) foam tech necrophoresis now makes less foam spawns if the total number of bullets is high to help with lag when killing packs of mobs preparation for more lore chapters reworked the lore conversation code to make it easier to write also lore conversations should now have better timing between the text and voice lore conversations can now recover from some speech errors and try again with safer settings this seems to allow speech on my firefox browser added a console command to make it easier to quickly unlock testing mode lore.unlockTesting() pressing "b" in testing mode now gives you 10000 research and the damage from research tech --- .DS_Store | Bin 6148 -> 6148 bytes index.html | 5 +- js/bullet.js | 5 +- js/index.js | 10 +- js/level.js | 138 +++++++++- js/lore.js | 622 +++++++++++++++++++++++++++++++++--------- js/player.js | 2 +- js/powerup.js | 92 +++++-- js/simulation.js | 8 +- js/tech.js | 30 +- lib/OLD_matter.min.js | 96 ------- style.css | 17 +- todo.txt | 59 +++- 13 files changed, 792 insertions(+), 292 deletions(-) delete mode 100644 lib/OLD_matter.min.js diff --git a/.DS_Store b/.DS_Store index 3848cd4e71cbabbda691641f8bd0320f83a24845..6765adeefe4bfbff6aea29e221e2ca5a54100fe7 100644 GIT binary patch delta 123 zcmZoMXffEJ$;>QK;4)c<*)P0+0SK5Gau_lhl5)}wgOl@f!9om7yS))Ix%nZqM791lAp%ch{qPQJ)2!Nl}n^G9YemWc&yo7p-3@&f=gC?LZC delta 123 zcmZoMXffEJ$;>SN>gZ%0X20+Y3_!rlki(G4kd%{d7@VA+TL2PbU~GPfkjc$=aY@R_ rPXdZ?*!}2P%6{XZBeHA?y6ohO%o0qD3pRgb7Gs%Mz_yv4<1aq|9CRa_ diff --git a/index.html b/index.html index dbe79a3..64b13d7 100644 --- a/index.html +++ b/index.html @@ -392,10 +392,11 @@ Q - E W - S + E + A + S D