Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Registrera dig
Logga in
Melo
/
paf-loiseau
forkad från
fabien.toune/paf-loiseau
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Pull-förfrågningar
0
Släpp
0
Wiki
Aktiviteter
Bläddra i källkod
nouveau commit, je sais pas ou je suis
Challengebird_birddead
Melo
3 år sedan
förälder
df1cf839fb
incheckning
9e0ea625fc
1 ändrade filer
med
13 tillägg
och
13 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-13
birdie.py
+ 13
- 13
birdie.py
Visa fil
@@ -12,19 +12,19 @@ def draw():
titi.draw()
#ghost.draw()
def on_mouse_down():
print("plus vite)")
titi.speed +=1
#
print('stop !')
#
titi.y -= 20
#
ghost.x -= 10
#
titi.speed = 0
#
ghost.speed = 0
#
def on_mouse_up():
#
print('go')
#
titi.speed = 5
#
ghost.speed = 4
def on_mouse_down():
print("plus vite)")
#
titi.speed +=1
#
print('stop !')
#
titi.y -= 20
ghost.x -= 10
titi.speed = 0
ghost.speed = 0
def on_mouse_up():
print('go')
titi.speed = 5
ghost.speed = 4
def update():
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara