elon musk

This commit is contained in:
Baptiste 2023-11-29 19:13:55 +01:00
parent 6bce2dbca8
commit 7f84496398
2 changed files with 1 additions and 1 deletions

BIN
assets/body3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

View file

@ -17,7 +17,7 @@ class Render {
RenderPlayer(player) {
const img = new Image();
img.src = "./assets/body2.png";
img.src = "./assets/body3.png";
this.ctx.save();
this.ctx.translate(player.x, player.y);
this.ctx.rotate(player.angle);