fix probleme zone de jeu
This commit is contained in:
9
main.c
9
main.c
@@ -7,7 +7,7 @@
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
#define SIZE_PLAY 26
|
||||
#define SIZE_PLAY 5
|
||||
#define SIZE_MENU 200;
|
||||
|
||||
int main ()
|
||||
@@ -27,8 +27,11 @@ int main ()
|
||||
playerScore.before = time (NULL);
|
||||
|
||||
targets
|
||||
= fileToTab2D ("test.txt", tab2d, SIZE_PLAY, playerPos, &nbr_targets);
|
||||
screenDisplaySDL (tab2d, &display_user);
|
||||
= fileToTab2D ("test3.txt", tab2d, SIZE_PLAY, playerPos, &nbr_targets);
|
||||
screenDisplayGameSDL (tab2d, &display_user);
|
||||
vect size = {100, 100};
|
||||
vect pos = {900, 0};
|
||||
displayTextSDL(&display_user, "213", pos, size, 24);
|
||||
screenDisplay (tab2d, SIZE_PLAY);
|
||||
inGameLoop (tab2d, SIZE_PLAY, playerPos, targets, nbr_targets,
|
||||
&display_user);
|
||||
|
||||
Reference in New Issue
Block a user