Parcourir la source

challenge-5-ok

chapitre-1-challenge-5
Cleason il y a 3 ans
Parent
révision
12b0a602bc
1 fichiers modifiés avec 2 ajouts et 5 suppressions
  1. +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


Chargement…
Annuler
Enregistrer