Compare commits

...

2 commits

Author SHA1 Message Date
Baptiste
47ac036995 Merge branch 'dev' of https://git.etud.insa-toulouse.fr/rebillar/GrandTabernacleAutoVI into dev 2023-12-05 15:32:17 +01:00
Baptiste
d5b3ca0c69 ajout des pseudos 2023-12-05 15:32:07 +01:00

View file

@ -32,6 +32,9 @@ class Render {
this.ctx.rotate(player.angle);
this.ctx.drawImage(img, -playerSize / 2, -playerSize / 2, playerSize, playerSize);
this.ctx.restore();
this.ctx.fillStyle="#FF0000";
this.ctx.font="10pt arial";
this.ctx.fillText(player.name,player.x-player.name.length*10/3,player.y-playerSize/1.8);
}
ReloadAff() {