Ver código fonte

mise a jour

chapitre-1-end
patient 3 anos atrás
pai
commit
cf4f3500e6
1 arquivos alterados com 6 adições e 1 exclusões
  1. +6
    -1
      birdie.py

+ 6
- 1
birdie.py Ver arquivo

@@ -4,7 +4,12 @@ TITLE = "paf l'oiseau"
WIDTH = 400
HEIGHT = 708


def draw():
screen.blit('bird2', (0, 0))
bird.draw()
titi= Actor('bird1', (75, 350))
bird = Actor('bird2', (75,350))


def draw():
@@ -14,7 +19,7 @@ def draw():

def on_mouse_down():
print('Clic souris !')
titi.y -= 50 #
titi.y -= 80 #
def on_mouse_up():
print('mouse up')
titi.y -= 20


Carregando…
Cancelar
Salvar