slight gameplay changes

This commit is contained in:
biglyderv 2024-11-25 14:14:21 -05:00
parent 9a701d88dc
commit d764b94f11
2 changed files with 9 additions and 3 deletions

View file

@ -134,6 +134,9 @@ class Game extends GameBasic {
textArgs = [`PT: ${Math.round(player.headCount)}`, 25, 75];
ctx.strokeText(...textArgs);
ctx.fillText(...textArgs);
textArgs = [`CH: ${Math.round(player.ticks * 100 / 300)}%`, 25, 125];
ctx.strokeText(...textArgs);
ctx.fillText(...textArgs);
if (player.health <= 0 || player.isMenu) {
this.doMenu();