mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-05-05 03:07:14 -04:00
wip
This commit is contained in:
parent
4c66cc820c
commit
cee5c6bc60
28 changed files with 948 additions and 344 deletions
|
@ -108,8 +108,12 @@ export function render(gameState: GameState) {
|
|||
: "") +
|
||||
`<span class="score" data-tooltip="${t("play.score_tooltip")}">$${gameState.score}</span>`;
|
||||
|
||||
scoreDisplay.classList[gameState.startParams.computer_controlled ? 'add':'remove']('computer_controlled');
|
||||
scoreDisplay.classList[gameState.lastScoreIncrease > gameState.levelTime - 500 ? 'add':'remove']('active');
|
||||
scoreDisplay.classList[
|
||||
gameState.startParams.computer_controlled ? "add" : "remove"
|
||||
]("computer_controlled");
|
||||
scoreDisplay.classList[
|
||||
gameState.lastScoreIncrease > gameState.levelTime - 500 ? "add" : "remove"
|
||||
]("active");
|
||||
|
||||
// Clear
|
||||
if (!isOptionOn("basic") && level.svg && level.color === "#000000") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue