game kind of working with GameView

This commit is contained in:
Evan
2025-01-03 11:15:11 -08:00
parent 3e8517363f
commit 2441abd7c8
11 changed files with 76 additions and 65 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export class UILayer implements Layer {
const barHeight = 15;
const barBackgroundWidth = this.transformHandler.width();
const ratio = this.game.ticks() / this.game.config().numSpawnPhaseTurns(this.game.config().gameConfig().gameType)
const ratio = this.game.ticks() / this.game.config().numSpawnPhaseTurns()
// Draw bar background
context.fillStyle = 'rgba(0, 0, 0, 0.5)';