TAILLE DES BALLES
This commit is contained in:
parent
712a3596fa
commit
e843dda5f8
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class Render {
|
|||
RenderBullet(bullet) {
|
||||
this.ctx.save();
|
||||
this.ctx.translate(bullet.x, bullet.y);
|
||||
this.ctx.drawImage(imgBullet, -playerSize / 2, -playerSize / 2, playerSize, playerSize);
|
||||
this.ctx.drawImage(imgBullet, -20 / 2, -20 / 2, 20, 20);
|
||||
this.ctx.restore();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue