Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
S'inscrire
Connexion
cleason
/
paf-loiseau
bifurqué depuis
fabien.toune/paf-loiseau
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
0
Wiki
Activité
Parcourir la source
challenge-5-ok
chapitre-1-challenge-5
Cleason
il y a 3 ans
Parent
b5b3f3fbff
révision
12b0a602bc
1 fichiers modifiés
avec
2 ajouts
et
5 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+2
-5
birdie.py
+ 2
- 5
birdie.py
Voir le fichier
@@ -13,13 +13,10 @@ def draw():
screen.blit('background', (0, 0))
titi.draw()
def on_mouse_up():
print('Clic souris !')
titi.speed = 0
def update():
titi.x += titi.speed
if titi.left > WIDTH :
titi.right = 0
titi.speed = 3
Écrire
Aperçu
Chargement…
Annuler
Enregistrer