Skip to content

happyte/plane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

基于python的pygame写的微信飞机大战

  • 1.效果图如下: image image image
  • 2.安装pygame模块,利用pip install pygame安装
  • 3.进入终端执行python plane.py,不同环境运行情况可能不同(例如windows和mac),我是在mac环境下运行的,可以修改plane.py文件中279、 284、289行的GameInit.createEnemy(5)的参数5和Bullet类中的draw函数中的self.y=8参数8。
  • 4.运行成功后,来到开始游戏界面,按回车键(enter)进入游戏,按空格键(space)退出游戏。

About

✈️python微信飞机大战

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages