Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
Yardım
Üye Ol
Giriş Yap
verkamerloic
/
paf-loiseau
şundan çatallanmış
fabien.toune/paf-loiseau
İzle
1
Yıldızla
0
Çatalla
0
Kod
Konular
0
Değişiklik İstekleri
0
Sürümler
0
Wiki
Aktivite
Kaynağa Gözat
maSolution
chap-1-speed
verkamerloic
3 yıl önce
ebeveyn
d0b23b4369
işleme
bce8a4c708
1 değiştirilmiş dosya
ile
19 ekleme
ve
1 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+19
-1
birdie.py
+ 19
- 1
birdie.py
Dosyayı Görüntüle
@@ -1 +1,19 @@
print('Hello world !')
import pgzrun
TITLE = "Paf l'oiseau"
WIDTH = 400
HEIGHT = 708
def on_mouse_down():
print("clic souris !")
titi.y -=50
def update ():
titi.y += titi.speed
def draw():
screen.blit('background', (0, 0))
titi.draw()
titi = Actor("bird1",(75,350))
titi.speed = 1
pgzrun.go()
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet