Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Cadastrar
Acessar
Melo
/
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
nouveau commit, je sais pas ou je suis
Challengebird_birddead
Melo
3 anos atrás
pai
df1cf839fb
commit
9e0ea625fc
1 arquivos alterados
com
13 adições
e
13 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+13
-13
birdie.py
+ 13
- 13
birdie.py
Ver arquivo
@@ -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():
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar