Dibujar más veces el fondo que sino sale blanco al final

This commit is contained in:
Nulo 2021-07-05 16:01:35 +00:00
parent 51126de3bc
commit 25f17ac220
1 changed files with 1 additions and 1 deletions

View File

@ -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,