stable
This commit is contained in:
parent
8bd4405fe8
commit
d5c661bc22
53 changed files with 4264 additions and 950 deletions
|
|
@ -300,16 +300,6 @@
|
|||
drawDawnRimLight(ctx, dw, dh, lightState);
|
||||
if (faceRight) ctx.scale(-1, 1);
|
||||
|
||||
if ((this.world.performanceLevel ? this.world.performanceLevel() : 0) < 3 && (this.hunger > 90 || this.loneliness > 88 || this.energy < 16)) {
|
||||
ctx.save();
|
||||
ctx.globalAlpha = 0.80;
|
||||
ctx.font = `${Math.max(10, drawW * 0.14)}px ui-rounded, sans-serif`;
|
||||
ctx.textAlign = "center";
|
||||
ctx.fillStyle = "rgba(42,36,29,0.72)";
|
||||
const mark = this.hunger > 90 ? "..." : (this.energy < 16 ? "Z" : "?");
|
||||
ctx.fillText(mark, 0, -drawH * 0.72);
|
||||
ctx.restore();
|
||||
}
|
||||
|
||||
ctx.restore();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue