diff --git a/src/jugando.ts b/src/jugando.ts index e6a483b..1261b51 100644 --- a/src/jugando.ts +++ b/src/jugando.ts @@ -109,8 +109,8 @@ function shareButton(juego: Juego): { const height = sprite.getHeight(juego); return { box: { - x: juego.canvas.width / 2 - width / 2, - y: juego.canvas.height * 0.9 - height, + x: juego.canvas.width - width - 5, + y: juego.canvas.height * 0.85 - height, width, height, }, @@ -477,6 +477,11 @@ export function draw(juego: Juego, timestamp: number) { } if (juego.state.has) { + juego.sprites.logoFPGFDTBlanco.draw( + juego, + 0, + juego.canvas.height - juego.sprites.logoFPGFDTBlanco.getHeight(juego) - 10 + ); if (juego.state.has === "lost") { const width = juego.sprites.placaPerdiste.getWidth(juego); juego.sprites.placaPerdiste.draw(