Un petit jeu réalisé avec pgzero
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

22 行
285 B

  1. import pgzrun
  2. TITLE = "Paf l'oiseau"
  3. WIDTH = 400
  4. HEIGHT = 708
  5. def draw():
  6. screen.blit('cascade', (0, 0))
  7. titi = Actor('bird1', (75, 350))
  8. def draw():
  9. screen.blit('background', (0, 0))
  10. titi.draw()
  11. def update():
  12. titi.x += titi.speed
  13. titi.speed = 3
  14. pgzrun.go()