Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Cadastrar
Acessar
Gaetanv
/
paf-loiseau
feito fork de
fabien.toune/paf-loiseau
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
MAj
chapitre-1-start
gaetanv
3 anos atrás
pai
a70bd07f05
commit
6570da0bcb
2 arquivos alterados
com
24 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+24
-0
Birdies.py
+0
-1
essai.py
+ 24
- 0
Birdies.py
Ver arquivo
@@ -0,0 +1,24 @@
import pgzrun
# Le corps du programme devrait se trouver ici...
TITLE = "Paf l'oiseau"
WIDTH = 400
HEIGHT = 700
titi = Actor('bird1', (75, 350))
def draw():
screen.blit('background', (0, 0))
titi.draw()
def on_mouse_down():
titi.x = 0
def update():
titi.x += titi.speed
titi.speed = 1
pgzrun.go()
+ 0
- 1
essai.py
Ver arquivo
@@ -1 +0,0 @@
print("hello")
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar