登录
首页 » Python » Python飞机大战主模块程序

Python飞机大战主模块程序

于 2022-03-16 发布 文件大小:1.51 MB
0 120
下载积分: 2 下载次数: 1

代码说明:

用python和pygame模块编写的飞机大战的游戏,里面有很多编写的小技巧,有检测碰撞,播放音乐,敌机又分为大中小三种战机。编写代码的思路(从简单开始写起)1 背景和游戏音效                        (完成后能出现游戏界面)2 我方飞机,并使其能上下左右移动(完成后能出现一辆我方飞机)在myplane函数里飞机上下左右移动需要写4个方法在main函数里实例化出我方飞机并绘制出来且有突突突的飞行效果,并通过键盘响应调用不同方法难点一:如何使飞机有突突突的视觉感受思路: 加载两张飞机图片,然后不断切换,并延迟图片切换(5帧切换一次)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • movieRecommendation-master
    推荐推荐实现,基于TensorFlow的推荐(based TensorFlow Recommend systerm)
    2020-06-23 18:00:02下载
    积分:1
  • 泰迪杯挑战数据
    说明:  随机生成字符串,中文说明不能少于20字大于20大于20 大于20大于20 大于20大于20 大于20大于20(Tight layout not applied. The left and right margins cannot be made large enough to accommodate all axes decorations.)
    2020-03-25 14:08:13下载
    积分:1
  • flowshop-master(GA)
    说明:  利用遗传算法求解柔性车间调度问题,采用Python编程实现(Using Genetic Algorithm to Solve Flexible Workshop Scheduling Problem)
    2020-07-01 20:20:01下载
    积分:1
  • ga_tsp
    利用遗传算法来解决经典的旅行商TSP问题,python 编码(Using genetic algorithm to solve the classic TSP traveling salesman problem, the programming language is Python)
    2020-06-28 19:40:01下载
    积分:1
  • training
    说明:  kaggle竞赛题————存活预测(xgboost方法)的训练集,891条数据(The training data of Titanic Accident Survival Prediction in Kaggle Initial Competition (xgboost method))
    2019-03-13 15:37:54下载
    积分:1
  • 物流路径规划
    根据原来的路径,重新进行物流路径规划,并将所得结果输出。(According to the original path, the logistics path is re-planned and the results are output.)
    2020-06-17 11:20:01下载
    积分:1
  • 基于神经网络的滑坡预测及其控制研究
    说明:  本文针对滑坡预测预报这一复杂性问题提出一种基于前向反馈传播(BP)神经网络的预测模型,描述了滑坡系统输入输出之间的非线性关系。为克服 BP 网络后期收敛速度慢、易陷入局部极小点等缺点,以遗传算法(GA)和模拟退火算法(SA)相结合的方式即遗传-模拟退火(GSA)算法对网络权值进行优化。用该方法预测滑坡位移获得了较好的效果(In this paper, a prediction model based on forward feedback propagation (BP) neural network is proposed for the complex problem of landslide prediction. The nonlinear relationship between input and output of landslide system is described. In order to overcome the shortcomings of BP network, such as slow convergence speed and easy to fall into local minima, genetic algorithm (GA) and simulated annealing algorithm (SA) are combined to optimize the network weight. The method can be used to predict the displacement of landslides)
    2020-04-11 21:07:59下载
    积分:1
  • sklearn-tree-BN-knn
    分类器的性能比较与调优: 使用scikit-learn 包中的tree,贝叶斯,knn,对数据进行模型训练,尽量了解其原理及运用。 使用不同分析三种分类器在实验中的性能比较,分析它们的特点。 本实验采用的数据集为house与segment。(Performance comparison and optimization of classifiers: We use tree, Bayesian and KNN in scikit-learnpackage to train the data model and try to understand its principle and application. The performances of three classifiers are compared and their characteristics are analyzed. The data set used in this experiment is house and segment.)
    2021-04-16 15:08:53下载
    积分:1
  • cifar-vgg-master图像识别
    说明:  cifar-vgg-master图像识别,基于python平台,很好用(cifar-vgg-master image recognition)
    2021-04-14 19:58:55下载
    积分:1
  • DevilYuan-master
    说明:  DevilYuan股票量化系统由python编写,支持python3.4及以上版本,有如下功能: 可视化(基于PyQT的界面) 多线程事件引擎 四大功能 股票数据 选股 策略回测(同时也支持向(Devilyuan stock quantification system is written by python, and supports Python 3.4 and above. It has the following functions: visualization (pyqt based interface) multi thread event engine, four major functions: stock data stock selection strategy back testing (also support to)
    2021-04-09 18:18:59下载
    积分:1
  • 696516资源总数
  • 106769会员总数
  • 14今日下载