diff --git a/JEUX_SERPENT/IMG/menu1.png b/JEUX_SERPENT/IMG/menu1.png index d56444d..4dc1359 100644 Binary files a/JEUX_SERPENT/IMG/menu1.png and b/JEUX_SERPENT/IMG/menu1.png differ diff --git a/JEUX_SERPENT/IMG/menu2.png b/JEUX_SERPENT/IMG/menu2.png new file mode 100644 index 0000000..eec943f Binary files /dev/null and b/JEUX_SERPENT/IMG/menu2.png differ diff --git a/JEUX_SERPENT/Jeux b/JEUX_SERPENT/Jeux index 535aff1..e26e94c 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 bddbf85..e4c3485 100644 --- a/JEUX_SERPENT/scene.c +++ b/JEUX_SERPENT/scene.c @@ -61,9 +61,10 @@ void DessinerScene(int segment, int serpent, int pomme){ void MenuDebut(){ imageMenu=ChargerSprite("IMG/menu1.png"); AfficherSprite(imageMenu,0,0); - EcrireTexte(450,100,"JEU DU SERPENT",2); - EcrireTexte(410,500,"Appuyer sur Q pour quitter",2); - EcrireTexte(290,400,"Appuyer sur Fleche de Droite pour lancer le jeu",2); + ChoisirCouleurDessin(CouleurParComposante(255,255,255)); + /*EcrireTexte(450,100,"JEU DU SERPENT",2);*/ + EcrireTexte(410,650,"Appuyer sur Q pour quitter",2); + EcrireTexte(290,750,"Appuyer sur Fleche de Droite pour lancer le jeu",2); } /*Apparition aléatoire des pommes*/ diff --git a/JEUX_SERPENT/timer.c b/JEUX_SERPENT/timer.c index ad6c730..31e3cbf 100644 --- a/JEUX_SERPENT/timer.c +++ b/JEUX_SERPENT/timer.c @@ -46,13 +46,12 @@ void Attendre(long int microsecondes){ /*création du Menu de Fin*/ void MenuDeFin(int Nbr){ EffacerEcran(CouleurParComposante(0,0,0)); - imageMenuFin=ChargerSprite("IMG/menu1.png"); + imageMenuFin=ChargerSprite("IMG/menu2.png"); AfficherSprite(imageMenuFin,0,0); - ChoisirCouleurDessin(CouleurParComposante(0,0,0)); - EcrireTexte(500,100,"Game Over", 2); + ChoisirCouleurDessin(CouleurParComposante(255,255,255)); snprintf(score,15,"Score : %04d", Nbr); - EcrireTexte(500,200,score,2); + EcrireTexte(500,650,score,2); snprintf(timer,14,"Temps : %02d:%02d", minute, seconde); - EcrireTexte(490,300,timer,2); - EcrireTexte(410,500,"Appuyer sur Q pour quitter",2); + EcrireTexte(490,700,timer,2); + EcrireTexte(410,750,"Appuyer sur Q pour quitter",2); } \ No newline at end of file