clear maps

This commit is contained in:
Baptiste 2023-12-07 20:01:44 +01:00
parent c5e4d1a6b9
commit b9509e1124
13 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 776 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 733 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 715 KiB

View file

Before

Width:  |  Height:  |  Size: 520 KiB

After

Width:  |  Height:  |  Size: 520 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View file

@ -9,7 +9,7 @@ function CookiePseudo() {
return null;
}
Renderer = new Render("canvas", "./assets/map/map7_recadr.png");
Renderer = new Render("canvas", "./assets/map/map7_principale.png", "./assets/map/map7_secondaire.png");
LB = new LeaderBoard("canvas");
let sound = new Sound("./assets/sounds/");
sound.loadSounds();
@ -174,6 +174,7 @@ function game() {
{
Net.died(player.id,-1);
player.x=-50;
player.deaths++;
player.health=10;
}
});

View file

@ -7,7 +7,7 @@ imgCar.src = "./assets/car.png";
class Render {
constructor(id, mapsrc) {
constructor(id, mapsrc, map2src) {
this.canvas = document.getElementById(id);
this.ctx = canvas.getContext("2d");
this.players = [];