Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
Maurice
/
paf-loiseau
forkeado de
fabien.toune/paf-loiseau
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
solution
Haut-Bas-souris-frein-accélération
Maurice
hace 3 años
padre
d0b23b4369
commit
75b6362d3c
Se han
modificado 2 ficheros
con
45 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+30
-1
birdie.py
+15
-0
birdie1.py
+ 30
- 1
birdie.py
Ver fichero
@@ -1 +1,30 @@
print('Hello world !')
import pgzrun
TITLE = "Paf l'oiseau"
WIDTH = 400
HEIGHT = 708
def on_mouse_down():
print('Clic souris !')
titi.y = titi.y - 50
print (titi.x)
def update():
titi.y += 1
def update():
titi.y += titi.speed
def draw():
screen.blit('background', (0, 0))
titi.draw()
titi = Actor ('bird1', (75,350))
pgzrun.go()
+ 15
- 0
birdie1.py
Ver fichero
@@ -0,0 +1,15 @@
import pgzrun
TITLE = "Paf l'oiseau"
WIDTH = 400
HEIGHT = 708
def draw():
screen.blit('cascade', (0, 0))
pgzrun.go()
Escribir
Vista previa
Cargando…
Cancelar
Guardar