Résolution bug bordure
This commit is contained in:
parent
9db9505997
commit
63bcdc6bc4
Binary file not shown.
@ -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");
|
||||
|
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user