S JavaScriptem funguje tato webová stránka lépe.
Domů
Procházet
Nápověda
Registrovat se
Přihlásit se
Ophelie
/
paf-loiseau
rozštěpen z
fabien.toune/paf-loiseau
Sledovat
1
Oblíbit
0
Rozštěpit
1
Zdrojový kód
Úkoly
0
Požadavky na natažení
0
Vydání
0
Wiki
Aktivita
Procházet zdrojové kódy
chap1-challenge6
chapitre-1-challenge-6
ophelie
před 3 roky
rodič
4a1a638b41
revize
371010e150
1 změnil soubory
, kde provedl
4 přidání
a
2 odebrání
Rozdělené zobrazení
Diff Options
Zobrazit statistiky
Stáhněte soubor opravy
Stáhněte rozdílový soubor
+4
-2
birdie.py
+ 4
- 2
birdie.py
Zobrazit soubor
@@ -14,9 +14,11 @@ def on_mouse_down(): # fonction 'click avec souris'
def on_mouse_up(): # fonction 'quand la souris ne click plus'
print('relache souris')
titi.y += 6
titi.speed = 5
titi.speed = 3
titi.speed += 1
birdi.y += 10
birdi.speed = 8
birdi.speed = 2
birdi.speed += 1
def update():
titi.y += titi.speed # mise a jour (60x/sec) de titi
Zapsat
Náhled
Načítá se…
Zrušit
Uložit