Un petit jeu réalisé avec pgzero
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
261 B

  1. import pgzrun
  2. TITLE = "Paf l'oiseau"
  3. WIDTH = 400
  4. HEIGTH = 708
  5. birdie = actor('bird2', midtop=(, ))
  6. birdie.x_direction = 1 # rigth
  7. birdie.y_direction = 1 # down
  8. birdie.speed = 1
  9. def draw():
  10. screen.blit('cascade',(0, 0))
  11. birdie.draw()
  12. pgzrun.go()