This commit is contained in:
Renan LE CARO 2025-04-23 17:25:37 +02:00
parent 401e9b4548
commit 62a1feb015
32 changed files with 1483 additions and 1435 deletions

View file

@ -366,7 +366,7 @@ export function render(gameState: GameState) {
startWork("render:extra_life");
if (gameState.perks.extra_life) {
ctx.globalAlpha = 1;
ctx.globalAlpha = gameState.balls.length>1 ? 0.2:1;
ctx.globalCompositeOperation = "source-over";
ctx.fillStyle = gameState.puckColor;
for (let i = 0; i < gameState.perks.extra_life; i++) {