Dibujar más veces el fondo que sino sale blanco al final
This commit is contained in:
parent
51126de3bc
commit
25f17ac220
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue