优秀的毕业设计论文网
计算机 JAVA 电子信息 单片机 机械机电 模具 土木工程 建筑结构 论文
热门搜索词:网络 ASP.NET 汽车 电气 数控 PLC

基于VC的飞行模拟射击游戏的设计及实现

以下是资料介绍,如需要完整的请充值下载.
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用.
  
资料介绍:

基于VC的飞行模拟射击游戏的设计及实现摘 要电子游戏的出现代表了一种全新娱乐方式的诞生。目前,电子游戏正以其独特的魅力吸引着众多的玩家。随着游戏产业的蓬勃发展,越来越多的人加入到了游戏开发的行业。游戏开发涵盖了程序设计、文学、历史、音乐及美术等诸多方面的内容,除去市场价值的意义,电子游戏的发展的必要性还在于对我国文化产业的发展的重要性,游戏作为一种特殊的创意文化产品形态,是文化产业链中不可缺少的一环。设计在利用已有的开发包和已有的游戏框架的基础上,采用Microsoft Visual C++2005为开发平台,这些开发包和框架已经完美地解决了游戏图像和音效方面的问题,设计的主要工作就是向框架中添加自己所设计的类,用于实现设计所要实现的功能。在进行类的设计时,运用C++所具有的继承和派生功能,使很大一部分代码能够得到重用,从而实现多态,同时,还要在父类中很好地引入虚函数,为指针能够指向子类的同名成员提供方便,然后利用开发包里的方法来实现游戏背景的显示,最终得到一个在Microsoft Visual C++2005上运行的飞行模拟游戏,同时在运行时不会出现重大尤其是会令游戏崩溃的BUG。关键词:飞行模拟;多态;代码重用 think58好,好think58

[资料来源:THINK58.com]

Design and realization of a flight simulation game based on VCAbstractThe appearance of computer game has represented the naissance of a totally new sort way of entertainment. At present, the computer game has attracted a great deal of players by its unique charm. Along with the game industry flourishing, more and more people has joined the profession of game development. Game development has covered many contents including programming, literature, history, music, arts ,etc. Eliminate the significance of market value, game develop is quite important to the culture evolution of our nation to be a special kind of creativity culture production. Game is indispensable to the chain of culture industry. The design based on the develop package and the game frame which already exist uses Microsoft Visual C++2005 to be the platform. These develop package and game frame has raveled out the problem which relate to image and sound effect perfectly. The main task of the design is to add classes that planed by oneself to the game frame, to actualize the function which the design have to realize. When we carry through the classes design, use the inherit and derive function, we need to enable a majority of code can be reused, aim to actualize polymorphism, at the same time. It is necessary to use virtual function in the baseclass, to make pointer can point to the member which has the same name in the subclass more convenience, afterwards, utilize the develop package to realize the demonstration of game background, finally obtain a flight simulation game which can run on Microsoft Visual C++2005, and there’s no seriously bugs especially that can make the game crash when running.Key words: flight simulation polymorphism code reuse 目 录 1引言11.1课题背景11.2国内外研究背景11.3本课题研究的意义11.4本课题研究的方法12游戏软件的现状和VC的概况12.1中国游戏软件的现状12.2C++简介22.3MICROSOFT VISUAL C++简介32.4利用VISUAL C++开发游戏简介33开发环境介绍33.1开发环境33.2关于ALLEGRO44游戏程序的开发44.1游戏的思路和构想44.1.1 游戏想法的产生44.1.2 对游戏设计的初步认识44.1.3 模块成型阶段44.2程序的类结构54.3游戏的实现54.3.1 主类Level的实现54.3.2 Object类的实现114.3.3 Plane类的实现124.3.4 Player类的实现144.3.5 Enemy类的实现154.3.6 Bullet类的实现164.3.7 Prize类的实现175程序设计过程中遇到的一些重要问题185.1关于碰撞的问题185.2关于游戏画面的问题215.3关于玩家控制的问题23结 论24参考文献24致 谢25声 明26 [资料来源:http://THINK58.com]

预览图: think58好,好think58 [资料来源:www.THINK58.com]

think58好,好think58

[资料来源:www.THINK58.com]

[资料来源:www.THINK58.com]