diff --git a/JEUX_SERPENT/Jeux b/JEUX_SERPENT/Jeux index 15e2b5b..c2debec 100755 Binary files a/JEUX_SERPENT/Jeux and b/JEUX_SERPENT/Jeux differ diff --git a/JEUX_SERPENT/scene.c b/JEUX_SERPENT/scene.c index c81a7dc..25c1bc8 100644 --- a/JEUX_SERPENT/scene.c +++ b/JEUX_SERPENT/scene.c @@ -6,9 +6,9 @@ #include "fonction.h" void Terrain(){ - if (pos_x[0] >1140 || pos_x[0]<=20) + if (pos_x[0] >1160 || pos_x[0]<20) go_on=0; - if (pos_y[0]<40 || pos_y[0] >=680) + if (pos_y[0]<20 || pos_y[0] >680) go_on=0; } @@ -16,7 +16,7 @@ void Terrain(){ void DessinerScene(){ snprintf(timer,6,"%02d:%02d", minute, seconde); ChoisirCouleurDessin(CouleurParComposante(5,130,4)); - RemplirRectangle(20,20,1160,700); + RemplirRectangle(20,20,1160,680); ChoisirCouleurDessin(CouleurParComposante(255,255,255)); EcrireTexte(10,760,timer,2); serpent=ChargerSprite("IMG/serpent.png"); diff --git a/JEUX_SERPENT/timer.c b/JEUX_SERPENT/timer.c index 73e288a..a192f86 100644 --- a/JEUX_SERPENT/timer.c +++ b/JEUX_SERPENT/timer.c @@ -29,7 +29,7 @@ void Timer(){ void Update_Timer(){ snprintf(timer,6,"%02d:%02d", minute, seconde); ChoisirCouleurDessin(CouleurParComposante(0,0,0)); - RemplirRectangle(0,700,1200,800); + RemplirRectangle(0,720,1200,800); ChoisirCouleurDessin(CouleurParComposante(255,255,255)); EcrireTexte(10,760,timer,2); } \ No newline at end of file