- 1、本文档共55页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于VC的飞行模拟游戏的设计及实现
摘 要
电子游戏的出现代表了一种全新娱乐方式的诞生。目前,电子游戏正以其独特的魅力吸引着众多的玩家。随着游戏产业的蓬勃发展,越来越多的人加入到了游戏开发的行业。游戏开发涵盖了程序设计、文学、历史、音乐及美术等诸多方面的内容,除去市场价值的意义,电子游戏的发展的必要性还在于对我国文化产业的发展的重要性,游戏作为一种特殊的创意文化产品形态,是文化产业链中不可缺少的一环。设计在利用已有的开发包和已有的游戏框架的基础上,采用Microsoft Visual C++2005为开发平台,这些开发包和框架已经完美地解决了游戏图像和音效方面的问题,设计的主要工作就是向框架中添加自己所设计的类,用于实现设计所要实现的功能。在进行类的设计时,运用C++所具有的继承和派生功能,使很大一部分代码能够得到重用,从而实现多态,同时,还要在父类中很好地引入虚函数,为指针能够指向子类的同名成员提供方便,然后利用开发包里的方法来实现游戏背景的显示,最终得到一个在Microsoft Visual C++2005上运行的飞行模拟游戏,同时在运行时不会出现重大尤其是会令游戏崩溃的BUG。
关键词:飞行模拟;多态;代码重用
Design and realization of a flight simulation game based on VC
Abstract
The 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 re
您可能关注的文档
- 基于SolidWorks的齿轮参数化绘图CAD系统设计毕业设计说明书.doc
- 基于solidworks的齿轮油泵设计_机电系毕业设计.doc
- 基于SolidWorks的冲裁模三维标准件图库系统设计_学士学位论文.doc
- 基于Solidworks的减速器设计及仿真_毕业设计论文.doc
- 基于SolidWorks的凸轮轴三维实体设计_毕业论文.doc
- 基于SolidWorks的凸轮轴三维实体设计毕业论文.doc
- 基于SolidWorks的兆瓦级风机偏航系统三维建模设计.doc
- 基于Solidworks的组合夹具的参数化设计_毕业设计论文.doc
- 基于Solidworks的组合夹具的设计与应用_毕业设计论文.doc
- 基于SolidWorks机床夹具库的设计与管理_毕业设计论文.doc
最近下载
- Unit 7 reading Family money management 课件-2024-2025学年译林版七年级英语上册.pptx VIP
- 2023年可行性研究报告财务分析全套计算表格(共18个附表,带公式链接自动计算,操作简单)--银行贷款或债券用.docx
- 国开(浙江)2024年《个人理财》形考作业1-4答案.docx
- 生涯人物访谈(精选15篇) .pdf VIP
- 2024年部编版六年级上册语文期末专题复习——日积月累.pptx VIP
- 学堂在线生活英语听说(2024秋)期末复习题答案.docx
- 打造诗意教育文化 成就师生幸福人生.doc
- 应用弹塑性力学习题解答.pdf VIP
- 船舶应用甲醇乙醇燃料指南2022-CCS规范指南.pdf
- 食品微生物学(鲁东大学)智慧树知到期末考试答案2024年.docx
文档评论(0)