Šī lapa labāk darbojas, ja pārlūkam ir iespējots JavaScript.
Sākums
Izpētīt
Palīdzība
Reģistrēties
Pierakstīties
Jen
/
paf-loiseau
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Kods
Problēmas
0
Izmaiņu pieprasījumi
0
Laidieni
0
Vikivietne
Aktivitāte
Pārlūkot izejas kodu
chap1-challenge6
chap1-challenge6
Jen
pirms 3 gadiem
vecāks
ceac5cc864
revīzija
76c6a58f53
1 mainītis faili
ar
2 papildinājumiem
un
0 dzēšanām
Dalītais skats
Salīdzināšanas iespējas
Rādīt statistiku
Lejupielādēt ielāpa failu
Lejupielādēt izmaiņu failu
+2
-0
birdie.py
+ 2
- 0
birdie.py
Parādīt failu
@@ -18,6 +18,8 @@ def on_mouse_up(): # fonction 'quand la souris ne click plus'
titi.y += 100
titi.speed = 5
piou.speed = 3
titi.speed += 1
piou.speed += 1
def update():
titi.y += titi.speed # mise a jour (60x/sec) de titi
Rakstīt
Priekšskatītījums
Notiek ielāde…
Atcelt
Saglabāt