欢迎来到天天文库
浏览记录
ID:5209611
大小:983.91 KB
页数:24页
时间:2017-12-06
《基于c++语言编程格斗游戏毕业设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要游戏自古至今都伴随并影响着人们的生活。截至2013年,中国游戏用户达3.45亿人,游戏产业链的发展给游戏开发带来了无限的商机,是未来信息产品的重要深化方向之一。格斗游戏是出现的比较早的游戏。其中涉及到人物动作、血量检测、模拟重力下落等效果。掌握格斗游戏的开发是从事更高层次游戏开发的基础。本论文就是学习和使用基于C++的编程和基于EasyX的图像处理操作,EasyX绘图库支持VisualC++6.0/2010/2013,基于Windows图形编程,是将Windows下的复杂图形编程过程进行封装,将Windows下的编程过程隐藏起来,给用户提供一个简单熟悉的接口。用户对于图形库中函数的调用
2、,最终都会由Windows的底层API实现。通过学习EasyX对进一步学习Windows编程是很有帮助的。本毕业设计中要学习和使用声音特效的加载和播放。包括:游戏运行是用report重复播放实现背景音乐的加载,用户操作时通过角色动作函数配合播放特效音乐,产生攻击音效的效果。人物技能的设计与实现,通过图形的加载和覆盖、音效的配合播放、对方角色的血量减少实现人物攻击技能的实现。以及实现人物的技能的加载和双人对打等效果。在实际的游戏开发中,一般不会用本毕业设计中所用的工具,但这确是培养编程兴趣很好的方法。除此之外,在讲授图形学时,老师也可以借助EasyX进行讲解。关键词:游戏;编程;EasyX-
3、20-ABSTRACTSinceancienttimesgamehaveaccompaniedandaffectedpeople'slives,Upto2013,Chinesegameusershavereached345millionpeople,thedevelopmentofthegameindustrychainhasbroughtunlimitedbusinessopportunities.Itisanimportantfuturedirectionofthedeepenedinformationproducts.Fightinggamesareoneofthefirstemer
4、ginggametypes.Whichinvolvesactionfigures,bloodtesting,simulategravityfallandsoon.Masterfightinggamedevelopmentisthebasisforthehigherlevel’sgamedevelopment.ThisthesisistostudyandusebasedonC++programmingandbasedEasyXimageprocessingoperations.EasyXgraphicslibrarysupportsVisualC++6.0/2010/2013,theWind
5、owsgraphicalprogrammingbasedonthecomplexproceduresofWindowsunderthepackage,theWindowsunderHidetheprogrammingprocess,toprovideuserswithasimple,familiarinterface.UsersForgraphicslibraryfunctioncall,willeventuallybetheunderlyingWindowsAPIimplementation.BylearningEasyXfurtherlearningWindowsprogramming
6、ishelpful.Thegraduationdesigntolearnandusesoundeffectstoloadandplay,includingthegamerunswithreportrepeat,backgroundmusicloadedbytheuseroperatesthecharactermotionfunctionwithplayingmusiceffects,soundeffectsgeneratedattack.Designandimplementationofcharacterskillsthroughpatternloadingandcoveredwithso
7、undplayback,theothertheroleofbloodvolumereductionAchievedcharacterattackskills.Andtherealizationofpeople'sskillsanddoublerallyloadingeffects.Intheactualgamedevelopmentingeneralwillnotusethisgraduationdesigntools,
此文档下载收益归作者所有