Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Rekisteröidy
Kirjaudu sisään
Jen
/
paf-loiseau
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Toiminta
Selaa lähdekoodia
chapitre1-challenge1
chapitre1-challenge1
Jen
3 vuotta sitten
vanhempi
c467f320ff
commit
684f003e54
1 muutettua tiedostoa
jossa
3 lisäystä
ja
3 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
birdie.py
+ 3
- 3
birdie.py
Näytä tiedosto
@@ -1,6 +1,6 @@
import pgzrun
TITLE = "Paf l'oiseau"
WID
H
T = 400
WIDT
H
= 400
HEIGHT = 708
def draw():
@@ -9,10 +9,10 @@ def draw():
def on_mouse_down():
print('Clic souris !')
titi.
y
-= 50
titi.
x
-= 50
def update():
titi.
y
+= titi.speed
titi.
x
+= titi.speed
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna