elon musk
This commit is contained in:
parent
6bce2dbca8
commit
7f84496398
2 changed files with 1 additions and 1 deletions
BIN
assets/body3.png
Normal file
BIN
assets/body3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 MiB |
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue