From c94b332548aa54cb0aa6534efea1626a6aab4e78 Mon Sep 17 00:00:00 2001 From: brigitte Date: Fri, 24 Nov 2023 15:31:25 +0100 Subject: [PATCH] =?UTF-8?q?correction=20bug=20disparation=20serpent=20?= =?UTF-8?q?=C3=A0=2049s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JEUX_SERPENT/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JEUX_SERPENT/main.c b/JEUX_SERPENT/main.c index b2a1fe4..f28b345 100644 --- a/JEUX_SERPENT/main.c +++ b/JEUX_SERPENT/main.c @@ -41,8 +41,8 @@ void Update_Timer(){ void Update_Serpent(){ ChoisirCouleurDessin(CouleurParComposante(141,199,63)); RemplirRectangle(20,20,1160,700); - serpent=ChargerSprite("serpent.png"); AfficherSprite(serpent, x, y); + printf("%d %d\n", x, y); } /*Fonction pour calculer le temps*/