Parcourir la source

challenge-6-ok

chapitre-1-challenge-6
Cleason il y a 3 ans
Parent
révision
690b5a64db
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. +3
    -0
      birdie.py

+ 3
- 0
birdie.py Voir le fichier

@@ -13,6 +13,9 @@ def draw():
screen.blit('background', (0, 0))
titi.draw()

def on_mouse_down():
titi.speed += 1

def update():
titi.x += titi.speed
if titi.left > WIDTH :


Chargement…
Annuler
Enregistrer