mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-16 03:05:03 -04:00
Build 29126616
This commit is contained in:
parent
810df5962a
commit
7f50b67c60
22 changed files with 209 additions and 30 deletions
|
@ -1,5 +1,5 @@
|
|||
import { gameCanvas } from "./render";
|
||||
import { isInWebView, max_levels } from "./game_utils";
|
||||
import { isInWebView, max_levels, renderMaxLevel } from "./game_utils";
|
||||
import { getAudioRecordingTrack } from "./sounds";
|
||||
import { t } from "./i18n/i18n";
|
||||
import { GameState } from "./types";
|
||||
|
@ -53,7 +53,7 @@ export function drawMainCanvasOnSmallCanvas(gameState: GameState) {
|
|||
|
||||
recordCanvasCtx.textAlign = "left";
|
||||
recordCanvasCtx.fillText(
|
||||
"Level " + (gameState.currentLevel + 1) + "/" + max_levels(gameState),
|
||||
"Level " + (gameState.currentLevel + 1) + "/" + renderMaxLevel(gameState),
|
||||
12,
|
||||
12,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue