Problème de temps
Résolu/Fermé
martinmpl
Messages postés
2
Date d'inscription
mardi 19 mai 2015
Statut
Membre
Dernière intervention
21 mai 2015
-
Modifié par martinmpl le 19/05/2015 à 08:16
martinmpl Messages postés 2 Date d'inscription mardi 19 mai 2015 Statut Membre Dernière intervention 21 mai 2015 - 21 mai 2015 à 15:43
martinmpl Messages postés 2 Date d'inscription mardi 19 mai 2015 Statut Membre Dernière intervention 21 mai 2015 - 21 mai 2015 à 15:43
1 réponse
martinmpl
Messages postés
2
Date d'inscription
mardi 19 mai 2015
Statut
Membre
Dernière intervention
21 mai 2015
21 mai 2015 à 15:43
21 mai 2015 à 15:43
j'ai trouvé un moyen d'y parvenir en utilisant:
pygame.time.set_timer(USEREVENT+1, 1000)
puis en utilisant USEREVENT+1 comme condition:
if USEREVENT+1:
(suite du programme)
pygame.time.set_timer(USEREVENT+1, 1000)
puis en utilisant USEREVENT+1 comme condition:
if USEREVENT+1:
(suite du programme)