diff --git a/SAE_semestre1/img/fond.png b/SAE_semestre1/img/fond.png index 7b85b77..ac92646 100755 Binary files a/SAE_semestre1/img/fond.png and b/SAE_semestre1/img/fond.png differ diff --git a/SAE_semestre1/img/bombe.png b/SAE_semestre1/img/serpent2.png old mode 100755 new mode 100644 similarity index 61% rename from SAE_semestre1/img/bombe.png rename to SAE_semestre1/img/serpent2.png index a42b71b..8269008 Binary files a/SAE_semestre1/img/bombe.png and b/SAE_semestre1/img/serpent2.png differ diff --git a/SAE_semestre1/src/game.c b/SAE_semestre1/src/game.c index 217a602..d8edbf3 100755 --- a/SAE_semestre1/src/game.c +++ b/SAE_semestre1/src/game.c @@ -3,14 +3,14 @@ #include #include #include -#define CYCLE 10000L +#define CYCLE 100000L void DessinerScene(int murx[], int mury[], int minute, int seconde, char timer []){ int mur; int i; int fond; snprintf(timer,6,"%02d:%02d", minute ,seconde); - ChoisirCouleurDessin(CouleurParComposante(91,222,122)); + ChoisirCouleurDessin(CouleurParComposante(79,80,35)); RemplirRectangle(20,20,1160,700); ChoisirCouleurDessin(CouleurParComposante(255,255,255)); fond = ChargerSprite("../img/fond.png"); @@ -43,7 +43,7 @@ void Update_Timer(int minute, int seconde, char timer[]){ } void Update_Serpent(int pos_x[], int pos_y[], int segment, int old_x[], int old_y[], int* direction){ int i = 0; - int serpent=ChargerSprite("../img/serpent.png"); + int serpent=ChargerSprite("../img/serpent2.png"); int fond = ChargerSprite("../img/fond.png"); for (i=1 ; i