Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
cleason
/
paf-loiseau
sforkowany z
fabien.toune/paf-loiseau
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
challenge-5-ok
chapitre-1-challenge-5
Cleason
3 lat temu
rodzic
b5b3f3fbff
commit
12b0a602bc
1 zmienionych plików
z
2 dodań
i
5 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+2
-5
birdie.py
+ 2
- 5
birdie.py
Wyświetl plik
@@ -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
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz