diff --git a/src/main.ts b/src/main.ts index 492230e..2b6a37a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -48,6 +48,8 @@ function update(juego: Juego, dt: number) { function draw(juego: Juego, timestamp: number) { const { width, height } = juego.canvas; + juego.ctx.imageSmoothingEnabled = false; + juego.ctx.fillStyle = "white"; juego.ctx.fillRect(0, 0, width, height); juego.ctx.fillStyle = "black";