slight gameplay changes
This commit is contained in:
parent
9a701d88dc
commit
d764b94f11
2 changed files with 9 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue