Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
Ophelie
/
paf-loiseau
forkeado de
fabien.toune/paf-loiseau
Seguir
1
Destacar
0
Fork
1
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
chap1-challenge6
chapitre-1-challenge-6
ophelie
hace 3 años
padre
4a1a638b41
commit
371010e150
Se han
modificado 1 ficheros
con
4 adiciones
y
2 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+4
-2
birdie.py
+ 4
- 2
birdie.py
Ver fichero
@@ -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
Escribir
Vista previa
Cargando…
Cancelar
Guardar