Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
Jen
/
paf-loiseau
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
chapitre1-challenge1
chapitre1-challenge1
Jen
3 anni fa
parent
c467f320ff
commit
684f003e54
1 ha cambiato i file
con
3 aggiunte
e
3 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+3
-3
birdie.py
+ 3
- 3
birdie.py
Vedi File
@@ -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
Scrivi
Anteprima
Caricamento…
Annulla
Salva