From 25f17ac220e3531bb5522cfe47697b7b998e06e1 Mon Sep 17 00:00:00 2001 From: Nulo Date: Mon, 5 Jul 2021 16:01:35 +0000 Subject: [PATCH] =?UTF-8?q?Dibujar=20m=C3=A1s=20veces=20el=20fondo=20que?= =?UTF-8?q?=20sino=20sale=20blanco=20al=20final?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jugando.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jugando.ts b/src/jugando.ts index 9fafd2f..1dee490 100644 --- a/src/jugando.ts +++ b/src/jugando.ts @@ -293,7 +293,7 @@ export function drawBackground( if (opacity !== undefined) { juego.ctx.globalAlpha = opacity; } - for (let i = 0; i < 10; i++) { + for (let i = 0; i < 50; i++) { if (sourceBox) { juego.ctx.drawImage( img,