Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Cadastrar
Acessar
Ophelie
/
paf-loiseau
feito fork de
fabien.toune/paf-loiseau
Observar
1
Favorito
0
Fork
1
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
chap1-challenge6
chapitre-1-challenge-6
ophelie
3 anos atrás
pai
4a1a638b41
commit
371010e150
1 arquivos alterados
com
4 adições
e
2 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+4
-2
birdie.py
+ 4
- 2
birdie.py
Ver arquivo
@@ -14,9 +14,11 @@ def on_mouse_down(): # fonction 'click avec souris'
def on_mouse_up(): # fonction 'quand la souris ne click plus'
print('relache souris')
titi.y += 6
titi.speed = 5
titi.speed = 3
titi.speed += 1
birdi.y += 10
birdi.speed = 8
birdi.speed = 2
birdi.speed += 1
def update():
titi.y += titi.speed # mise a jour (60x/sec) de titi
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar