2 Commits

Autor SHA1 Mensaje Fecha
  Cleason fc375203ba Mise à jour hace 3 años
  Cleason fc3bc487ce Challenge-1 ok hace 3 años
Se han modificado 1 ficheros con 2 adiciones y 8 borrados
Dividir vista
  1. +2
    -8
      birdie.py

+ 2
- 8
birdie.py Ver fichero

@@ -13,16 +13,10 @@ def draw():
screen.blit('background', (0, 0))
titi.draw()

def on_mouse_up():
print('Clic souris !')
titi.y -= 50 # équivalent à titi.y = titi.y - 50

def update():
titi.y += titi.speed
titi.x += titi.speed

if titi.y > 400 :
titi.y = 0

titi.speed = 1
titi.speed = 3

pgzrun.go()

Cargando…
Cancelar
Guardar