python版植物大战僵尸源码_基于python的植物大战僵尸游戏设计与实现.docx

湖南理工学院毕业设计(论文)

PAGE

PAGE 1

学 号

毕业设计(论文)

题目:基于python的植物大战僵尸游戏设计与实现

作 者 届 别 届

院 别 信息与通信工程学院 专 业 信息工程

指导教师 职 称 _

完成时间 20xx年5月9号

摘 要

植物大战僵尸是现在一款非常热门的网络游戏,网络游戏发展至今,市场竞争相当激烈,这就促使开发者必须快速、高效的响应玩家需求才能占得一席之地。传统的网络游戏开发应用C/C++实现游戏的逻辑功能,随着游戏内容越来越丰富以及快速变化的市场需求,C/C++已经不能满足开发者对于语音的灵活性、易用性动态编译的需求。为此文中提出了一种基于Python的游戏脚本系统,通过将游戏内容与游戏引擎相分离、避免硬编码,提高了游戏的开发效率和稳定性。

本文主要利用Python语言,Python语言能更好的来处理和解决这些问题,Python最大的特点是其独特而又简洁的语法,这样就让让游戏开发变得简单,使用PyGame模块,简单方便地控制游戏的图像、声效等。

关键词:Python;植物大战僵尸;PyGame

Abstract

Zombies is a very popular network game, the network game development so far, the market competition is fierce, which prompted developers to quickly and efficiently respond to the demand to occupy a space for one person game player. The traditional network game development and application of C/C++ to realize the logic function of the game, with the game more and more rich content and fast changing market demand, C/C++ has been unable to meet the developers for the voice of the flexibility and ease of use of dynamic compilation requirements. In this paper, a game script system based on Python is proposed, which improves the efficiency and stability of the game by separating the game content from the game engine and avoiding hard coding.

This paper mainly uses the Python language to deal with and solve these problems, Python language can better Python, the biggest feature is its unique and concise syntax, so let the game development easy, use PyGame module, simple and easy to control the game image, sound etc..

Keywords:Python; Plants vs Zombies; PyGame

目 录

TOC \o "1-3" \h \u 9854 摘 要 2

30814 Abstract 2

23657 1 引言 5

25975 2 游戏开发所需的工具 7

9260 2.1 Python 7

11802 2.1.1 Python是什么 7

794 2.1.2 python的优点 8

7403 2.1.3 python的搭建 8

29048 2.2 python开发工具 9

21

你可能感兴趣的:(python版植物大战僵尸源码)