摘要
为了使飞机大战游戏具有更加丰富的功能,基于面向对象和面向过程的方法,使用Python编程语言提供资源结构,以Pygame模块实时对游戏进行研发,提出了飞机大战小游戏二次开发方案。通过各种优化调整,实现了飞机的飞行移动、击落,计分等功能,而且拓展了游戏的等级提升功能、界面打印功能、游戏奖励机制等等,实现了飞机大战的二次开发,丰富了游戏体验。
In order to make the airplane war game more functional, the Python programming language was used to provide resource structure, and the game was developed in real time with the pygame module based on object-oriented and process-oriented methods. The second development plan of the aircraft war game was proposed. The program was realized the flight movement, shooting down, scoring and other functions of the aircraft. And the functions were expanded of the game′s department level promotion function, printing function, game reward mechanism and so on. The design of air plane war is realized based on python and the game is pretty good.
作者
陆嘉诚
王楚虹
师文庆
黄江
LU Jiacheng;WANG Chuhong;SHI Wenqing;HUANG Jiang(College of Electronic and Information Engineering,Guangdong Ocean University,Zhanjiang,Guangdong 524088,China)
出处
《机电工程技术》
2020年第3期75-77,共3页
Mechanical & Electrical Engineering Technology