Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
Ophelie
/
paf-loiseau
derivado de
fabien.toune/paf-loiseau
Vigiar
1
Marcar como favorito
0
Derivar
1
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
chap1-challenge6
chapitre-1-challenge-6
ophelie
há 3 anos
ascendente
4a1a638b41
cometimento
371010e150
1 ficheiros alterados
com
4 adições
e
2 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+4
-2
birdie.py
+ 4
- 2
birdie.py
Ver ficheiro
@@ -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é-visualizar
Carregando…
Cancelar
Guardar