首页下载资源游戏开发Python小游戏:FlappyBird

ZIPPython小游戏:FlappyBird

Zyr556677552.76KB需要积分:1

资源文件列表:

FlappyBird-master.zip 大约有39个文件
  1. FlappyBird-master/
  2. FlappyBird-master/Flappy Bird v1.0.2.py 7.74KB
  3. FlappyBird-master/README.md 1.32KB
  4. FlappyBird-master/assets/
  5. FlappyBird-master/assets/audio/
  6. FlappyBird-master/assets/audio/die.wav 190.33KB
  7. FlappyBird-master/assets/audio/flap.wav 29.2KB
  8. FlappyBird-master/assets/audio/hit.wav 94.33KB
  9. FlappyBird-master/assets/audio/score.wav 173.33KB
  10. FlappyBird-master/assets/audio/start.wav 346.33KB
  11. FlappyBird-master/assets/sprites/
  12. FlappyBird-master/assets/sprites/0.png 339B
  13. FlappyBird-master/assets/sprites/1.png 336B
  14. FlappyBird-master/assets/sprites/2.png 345B
  15. FlappyBird-master/assets/sprites/3.png 339B
  16. FlappyBird-master/assets/sprites/4.png 346B
  17. FlappyBird-master/assets/sprites/5.png 345B
  18. FlappyBird-master/assets/sprites/6.png 344B
  19. FlappyBird-master/assets/sprites/7.png 345B
  20. FlappyBird-master/assets/sprites/8.png 338B
  21. FlappyBird-master/assets/sprites/9.png 343B
  22. FlappyBird-master/assets/sprites/blue-down.png 431B
  23. FlappyBird-master/assets/sprites/blue-mid.png 430B
  24. FlappyBird-master/assets/sprites/blue-up.png 431B
  25. FlappyBird-master/assets/sprites/day.png 6.86KB
  26. FlappyBird-master/assets/sprites/floor.png 470B
  27. FlappyBird-master/assets/sprites/gameover.png 758B
  28. FlappyBird-master/assets/sprites/green-pipe.png 2.47KB
  29. FlappyBird-master/assets/sprites/guide.png 1.45KB
  30. FlappyBird-master/assets/sprites/night.png 1.08KB
  31. FlappyBird-master/assets/sprites/red-down.png 425B
  32. FlappyBird-master/assets/sprites/red-mid.png 426B
  33. FlappyBird-master/assets/sprites/red-pipe.png 2.38KB
  34. FlappyBird-master/assets/sprites/red-up.png 425B
  35. FlappyBird-master/assets/sprites/setting.png 60.35KB
  36. FlappyBird-master/assets/sprites/start.png 32.36KB
  37. FlappyBird-master/assets/sprites/yellow-down.png 426B
  38. FlappyBird-master/assets/sprites/yellow-mid.png 425B
  39. FlappyBird-master/assets/sprites/yellow-up.png 427B

资源介绍:

使用前先下载pygame,完整使用方式见 github:https://github.com/zhuangjihong/FlappyBird,[doge]。下载完pygame,运行py文件就可以了。很简单的一个小游戏,有 3 种皮肤,多种音效,两个时间(指白天和晚上)。
# FlappyBird ## Download Click on "code", click on "Download ZIP", download the compressed package, unzip it to any location, open "Flappy Bird. py" inside, and you can run the program. Since this is done by Pygame, you need to download Pygame first. If you have Python installed on your computer, simply run '**pip install pygame**' on cmd, and then use the following command to check the Pygame version. ``` python -m pygame --version ``` ## How to play - Space jumping. - R Return to the main interface. ## Custom skin ### background The default skin for the game background is random. To customize it, change the code on line 31 of "Flappy Bird. py" to the following one, with 'xxx' being 'day' or 'night'. ``` IMAGES['bgpic']=IMAGES['xxx'] ``` ### Bird The default skin of the game is random for the bird. To customize it, change the code on line 32 of "Flappy Bird. py" to the following code, with 'xxx' being any of "red", "blue", or "yellow". ``` color='xxx' ``` ### Column The default skin of the game's pillars is random. To customize it, change the code on line 32 of "Flappy Bird. py" to the following code, with 'xxx' being either "green-pipe" or "red-pipe". ``` pipe = IMAGES['xxx'] ``` ## Version ### v1.0.2 Added start button. ### v1.0.1 Added the function of returning to the main interface. ### v1.0.0 Ordinary gaming features.
100+评论
captcha