Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
Yardım
Üye Ol
Giriş Yap
Ophelie
/
paf-loiseau
şundan çatallanmış
fabien.toune/paf-loiseau
İzle
1
Yıldızla
0
Çatalla
1
Kod
Konular
0
Değişiklik İstekleri
0
Sürümler
0
Wiki
Aktivite
Kaynağa Gözat
chap1-challenge6
chapitre-1-challenge-6
ophelie
3 yıl önce
ebeveyn
4a1a638b41
işleme
371010e150
1 değiştirilmiş dosya
ile
4 ekleme
ve
2 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+4
-2
birdie.py
+ 4
- 2
birdie.py
Dosyayı Görüntüle
@@ -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
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet