From 63bcdc6bc47965e0a62b2521c3bdb37abbd40feb Mon Sep 17 00:00:00 2001 From: brigitte Date: Sun, 10 Dec 2023 11:56:12 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9solution=20bug=20bordure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JEUX_SERPENT/Jeux | Bin 17480 -> 17480 bytes JEUX_SERPENT/scene.c | 6 +++--- JEUX_SERPENT/timer.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/JEUX_SERPENT/Jeux b/JEUX_SERPENT/Jeux index 15e2b5b509487385f8a59e03e31ff8f53b59e527..c2debecdaaafcd61bfd89a3c6199df24b079e553 100755 GIT binary patch delta 100 zcmX@n!FZyBaYF~Q$RTC9cQ?iBb)K?6u(dw7Qfq6p5$EPP%#Q{1I#?JO>bbjFr|K{; yH2)B;=Q_?R2V{akH*13~Sg?+_o3#|kv|TZItw=iKip`>;Q#ctfY+fZdPZa>~a3K!> delta 100 zcmX@n!FZyBaYF~Qh;Y&bWj?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