Coder Social home page Coder Social logo

plane's Introduction

基于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)退出游戏。

plane's People

Contributors

zs511129 avatar happyte avatar

Watchers

Kevin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.