网站导航免费论文 原创论文 论文搜索 原创论文 网学软件 学术大家 资料中心 会员中心 问题解答 原创论文 大学论文导航 设计下载 最新论文 下载排行 原创论文 设计图标 Ppt模板 Flash素材 PSD素材 JS代码
返回网学首页
网学联系
最新论文 推荐专题 热门论文 素材专题
当前位置: 网学 > 编程文档 > 其他类别 > 正文

“俄罗斯方块”游戏的设计与开发

来源:http://myeducs.cn 联系QQ:点击这里给我发消息 作者: 用户投稿 来源: 网络 发布时间: 16/02/12

文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学的各位小编整理了其他类别-“俄罗斯方块”游戏的设计与开发的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!

论文字数:17827,页数:45

摘要
 本文主要介绍了“俄罗斯方块”游戏的设计与开发过程。该游戏是能够让用户通过键盘中的方向键控制下坠物件的旋转和移动,并且在下坠物件到达一定的空间后判断是否销行,当达到一定的分数后进入下一关,或者下坠物件如果不能在下坠,则游戏结束。游戏主要是基于MFC类库中对话框类的框架上面,将所有功能都封装到了这个对话框上面,使得结构可以很清晰。游戏所用到的数据结构是动态的二维数组,所有规则算法的实施都是基于这个动态数组而展开的。在熟悉基本的消息机制并调用GDI中的一些函数,完成键盘的交互功能和几个快捷键的功能,丰富了游戏内容。并结合设备环境的重要属性位图的一些基本知识实现了游戏界面的绘制。
 
关键词: MFC,动态数组,VC游戏开发

ABSTRACT
This paper is on "Tetris" game design and development. This game is mainly through the keyboard that allows users to key in controlling the rotation and falling objects moving and falling objects in space after landing a Consumers will determine whether, when reached a certain enter scores after the next Commissioner, or if the falling object Not falling, the end of the game. The game is mainly based on the MFC class library in the framework of the dialog above category, will have all the features of the package to this dialog above, the structure can be made very clear. Games used by the data structure is a dynamic two-dimensional array, all the rules-based algorithm for the implementation of this dynamic arrays are initiated. In the news familiar with the basic mechanism called GDI and a number of functions, to complete the interactive features keyboard shortcuts, and several features, enriching the content of the game. With equipment and the importance of environmental attributes of the plan is to achieve some basic knowledge of the game interface mapping.

Keywords  MFC, Dynamic arrays, VC game development
 
 
目录
摘要 I
ABSTRACT II
第1章 引言 1
1.1 选题的目的 1
1.2 选题的背景和意义 1
1.3 研究的内容 2
1.3.1 主要内容 2
1.3.2 研究的范围 3
1.3.3 待解决的问题 3
第2章  游戏开发的基本介绍 4
2.1 开发工具与资料来源 4
2.2 MFC的基本介绍 4
2.3 GDI原理基础 6
2.3.1设备环境 6
2.3.2常用GDI绘图操作 8
2.4 本章小结 8
第3章“俄罗斯方块”游戏的开发与设计 9
3.1游戏功能描述 9
3.2框架的搭建 10
3.3游戏内部的实现 10
3.3.1算法设计 11
3.3.3正常流程的设计 20
3.3.4正常流程的实现(定时处理) 21
3.3.5中断操作流程的实现 25
3.4游戏区域绘图的实现 26
3.4.1位图资源的准备 26
3.4.2绘制机制设计 26
3.4.3绘制环境资源的初始化和释放 27
3.4.4游戏区域的绘制 27
3.5功能的完善 28
3.5.1 游戏背景音乐的实现 28
3.5.2工具栏快捷键的实现 29
3.6本章小节 29
第4章 结论 30
致谢 31
参考文献 32
附录1部分源代码 33 

“俄罗斯方块”游戏的设计与开发......
  • 上一篇资讯: [其他类别]
  • 版权所有 QQ:3710167 邮箱:3710167@qq.com 网学网 [Myeducs.cn] 您电脑的分辨率是 像素
    Copyright 2008-2015 myeducs.Cn www.myeducs.Cn All Rights Reserved 湘ICP备09003080号