Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
Yardım
Üye Ol
Giriş Yap
Chris.VDB
/
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
premier challenge en cours
chapitre-1-challenge-1
Christophe Vandenabeele
3 yıl önce
ebeveyn
d0b23b4369
işleme
3427c26885
1 değiştirilmiş dosya
ile
20 ekleme
ve
1 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+20
-1
birdie.py
+ 20
- 1
birdie.py
Dosyayı Görüntüle
@@ -1 +1,20 @@
print('Hello world !')
import pgzrun
TITLE = "Paf l'oiseau"
WIDTH = 400
HEIGHT = 708
def on_mouse_down():
print('Clic souris !')
titi.x -= 50 # équivalent à titi.y = titi.y - 50
def update():
titi.x += 1
def draw():
screen.blit('background', (0, 0))
titi.draw()
titi = Actor('bird1', (75, 350))
pgzrun.go()
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet