Sfoglia il codice sorgente

challenge-5-ok

chapitre-1-challenge-5
Cleason 3 anni fa
parent
commit
12b0a602bc
1 ha cambiato i file con 2 aggiunte e 5 eliminazioni
  1. +2
    -5
      birdie.py

+ 2
- 5
birdie.py Vedi File

@@ -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


Caricamento…
Annulla
Salva