mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-05-05 03:07:14 -04:00
wip
This commit is contained in:
parent
cee5c6bc60
commit
45f9b516fc
23 changed files with 1069 additions and 797 deletions
|
@ -28,8 +28,10 @@ export async function openScorePanel(gameState: GameState) {
|
|||
pickedUpgradesHTMl(gameState),
|
||||
levelsListHTMl(gameState, gameState.currentLevel),
|
||||
getNearestUnlockHTML(gameState),
|
||||
gameState.extra_lives
|
||||
? t("score_panel.extra_lives_count", { count: gameState.extra_lives })
|
||||
gameState.upgrade_points
|
||||
? t("score_panel.upgrade_point_count", {
|
||||
count: gameState.upgrade_points,
|
||||
})
|
||||
: "",
|
||||
],
|
||||
allowClose: true,
|
||||
|
@ -90,7 +92,7 @@ export function getNearestUnlockHTML(gameState: GameState) {
|
|||
|
||||
return `
|
||||
<p>${t("score_panel.close_to_unlock")}</p>
|
||||
<div class="upgrade used">
|
||||
<div class="upgrade">
|
||||
${icons[firstUnlockable.l.name]}
|
||||
<p>
|
||||
<strong>${title}</strong>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue