diff --git a/src/assets/Baldosa.png b/src/assets/Baldosa.png index c5b9d05..e0dbee7 100644 Binary files a/src/assets/Baldosa.png and b/src/assets/Baldosa.png differ diff --git a/src/jugando.ts b/src/jugando.ts index faa9339..e6a483b 100644 --- a/src/jugando.ts +++ b/src/jugando.ts @@ -484,6 +484,11 @@ export function draw(juego: Juego, timestamp: number) { juego.canvas.width / 2 - width / 2, juego.canvas.height * 0.1 ); + juego.sprites.baldosa.draw( + juego, + juego.canvas.width - juego.sprites.baldosa.getWidth(juego) - 30, + juego.canvas.height - juego.sprites.baldosa.getHeight(juego) - 30 + ); } else if (juego.state.has === "won") { const width = juego.sprites.placaFelicitaciones.getWidth(juego); juego.sprites.placaFelicitaciones.draw( diff --git a/src/main.ts b/src/main.ts index 0a8a98f..f415b80 100644 --- a/src/main.ts +++ b/src/main.ts @@ -178,7 +178,7 @@ async function initJuego() { height: (juego) => juego.canvas.height * 0.8, }), baldosa: loadSprite(assets.baldosa, { - height: (juego) => juego.canvas.height * 0.8, + height: (juego) => juego.canvas.height * 0.2, }), larreta: loadSprite( assets.larreta,