Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
Jen
/
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
chapitre1-challenge1
chapitre1-challenge1
Jen
3 lat temu
rodzic
c467f320ff
commit
684f003e54
1 zmienionych plików
z
3 dodań
i
3 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+3
-3
birdie.py
+ 3
- 3
birdie.py
Wyświetl plik
@@ -1,6 +1,6 @@
import pgzrun
TITLE = "Paf l'oiseau"
WID
H
T = 400
WIDT
H
= 400
HEIGHT = 708
def draw():
@@ -9,10 +9,10 @@ def draw():
def on_mouse_down():
print('Clic souris !')
titi.
y
-= 50
titi.
x
-= 50
def update():
titi.
y
+= titi.speed
titi.
x
+= titi.speed
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz