S JavaScriptem funguje tato webová stránka lépe.
Domů
Procházet
Nápověda
Registrovat se
Přihlásit se
Melo
/
paf-loiseau
rozštěpen z
fabien.toune/paf-loiseau
Sledovat
1
Oblíbit
0
Rozštěpit
0
Zdrojový kód
Úkoly
0
Požadavky na natažení
0
Vydání
0
Wiki
Aktivita
Procházet zdrojové kódy
nouveau commit, je sais pas ou je suis
Challengebird_birddead
Melo
před 3 roky
rodič
df1cf839fb
revize
9e0ea625fc
1 změnil soubory
, kde provedl
13 přidání
a
13 odebrání
Rozdělené zobrazení
Diff Options
Zobrazit statistiky
Stáhněte soubor opravy
Stáhněte rozdílový soubor
+13
-13
birdie.py
+ 13
- 13
birdie.py
Zobrazit soubor
@@ -12,19 +12,19 @@ def draw():
titi.draw()
#ghost.draw()
def on_mouse_down():
print("plus vite)")
titi.speed +=1
#
print('stop !')
#
titi.y -= 20
#
ghost.x -= 10
#
titi.speed = 0
#
ghost.speed = 0
#
def on_mouse_up():
#
print('go')
#
titi.speed = 5
#
ghost.speed = 4
def on_mouse_down():
print("plus vite)")
#
titi.speed +=1
#
print('stop !')
#
titi.y -= 20
ghost.x -= 10
titi.speed = 0
ghost.speed = 0
def on_mouse_up():
print('go')
titi.speed = 5
ghost.speed = 4
def update():
Zapsat
Náhled
Načítá se…
Zrušit
Uložit