Great Game. Had so much fun avoiding those bugs, it was in fact a bit stressful at first but then got fun. Also there seems to be some bug by which I just won’t die even if I get hit with 20 bugs.
Edit: Okay so I took a look at your code. and here’s where the problem should be. In the MainScene.js line 99 you checked weather the stress level is == 3. but there’s a chance that the player has stress of 2 and gets hit by 2 bugs in the same frame causing the stress level to be 4 for the next frame to check. so you should change that to >= 3 instead of == 3. Hope this fixes the issue.