Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Registrera dig
Logga in
Ophelie
/
paf-loiseau
forkad från
fabien.toune/paf-loiseau
Bevaka
1
Stjärnmärk
0
Förgrening
1
Kod
Ärenden
0
Pull-förfrågningar
0
Släpp
0
Wiki
Aktiviteter
Bläddra i källkod
chap1-challenge6
chapitre-1-challenge-6
ophelie
3 år sedan
förälder
4a1a638b41
incheckning
371010e150
1 ändrade filer
med
4 tillägg
och
2 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
birdie.py
+ 4
- 2
birdie.py
Visa fil
@@ -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
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara