Parcourir la source

ajout Stop

chap1-challenge2-titistop
Melo il y a 3 ans
Parent
révision
e93cd03708
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. +3
    -2
      birdie.py

+ 3
- 2
birdie.py Voir le fichier

@@ -12,8 +12,9 @@ def draw():

def on_mouse_down():
print('Clic souris !')
titi.y -= 20
titi.x -= -10
#titi.y -= 20
#titi.x -= -10
titi.speed = 0

def update():
titi.x += titi.speed


Chargement…
Annuler
Enregistrer