admin管理员组

文章数量:1532496

2024年4月7日发(作者:)

摘 要

游戏自古至今都伴随并影响着人们的生活。截至2013年,中国游戏用户达3.45

亿人,游戏产业链的发展给游戏开发带来了无限的商机,是未来信息产品的重要深化

方向之一。格斗游戏是出现的比较早的游戏。其中涉及到人物动作、血量检测、模拟

重力下落等效果。掌握格斗游戏的开发是从事更高层次游戏开发的基础。

本论文就是学习和使用基于C++的编程和基于EasyX的图像处理操作,EasyX绘

图库支持Visual C++ 6.0/2010/2013,基于Windows图形编程,是将Windows下的

复杂图形编程过程进行封装,将Windows下的编程过程隐藏起来,给用户提供一个简

单熟悉的接口。用户对于图形库中函数的调用,最终都会由Windows的底层API实现。

通过学习EasyX对进一步学习Windows编程是很有帮助的。本毕业设计中要学习和使

用声音特效的加载和播放。包括:游戏运行是用report重复播放实现背景音乐的加

载,用户操作时通过角色动作函数配合播放特效音乐,产生攻击音效的效果。人物技

能的设计与实现,通过图形的加载和覆盖、音效的配合播放、对方角色的血量减少实

现人物攻击技能的实现。以及实现人物的技能的加载和双人对打等效果。

在实际的游戏开发中,一般不会用本毕业设计中所用的工具,但这确是培养编程

兴趣很好的方法。除此之外,在讲授图形学时,老师也可以借助EasyX进行讲解。

关键词:游戏;编程;EasyX

- I -

ABSTRACT

Since ancient times game have accompanied and affected people's lives, Up to 2013,

Chinese game users have reached 345 million people, the development of the game

industry chain has brought unlimited business opportunities. It is an important future

direction of the deepened information products. Fighting games are one of the first

emerging game types. Which involves action figures, blood testing, simulate gravity fall

and so on. Master fighting game development is the basis for the higher level’s game

development.

This thesis is to study and use based on C ++ programming and based EasyX image

processing operations. EasyX graphics library supports Visual C++ 6.0/2010/2013, the

Windows graphical programming based on the complex procedures of Windows under the

package, the Windows under Hide the programming process, to provide users with a

simple, familiar interface. Users For graphics library function call, will eventually be the

underlying Windows API implementation. By learning EasyX further learning Windows

programming is helpful. The graduation design to learn and use sound effects to load and

play, including the game runs with report repeat, background music loaded by the user

operates the character motion function with playing music effects, sound effects generated

attack. Design and implementation of character skills through pattern loading and covered

with sound playback, the other the role of blood volume reduction Achieved character

attack skills. And the realization of people's skills and double rally loading effects.

In the actual game development in general will not use this graduation design tools, but it

is really a good way to cultivate interest programming. In addition, in the teaching of

computer graphics, the teacher can also use EasyX to explain.

Key words:game;program;EasyX

- II -

本文标签: 游戏编程开发播放格斗游戏