1 / 63
文档名称:

毕业设计(论文)-基于Qt的连连看游戏的设计.doc

格式:doc   页数:63
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

毕业设计(论文)-基于Qt的连连看游戏的设计.doc

上传人:3346389411 2013/3/12 文件大小:0 KB

下载得到文件列表

毕业设计(论文)-基于Qt的连连看游戏的设计.doc

文档介绍

文档介绍:摘要
在现今电子信息高速发展的时代,电子游戏已然成为大众最受欢迎的娱乐消遣方式,经典的连连看是个老少皆宜的小游戏,它实现由各式各样的成对图片组成,然后存储在一个二维的数组中,计算机随机产生各种不同类型的图片,根据计算机时钟控制它在一定的时间内随机产生,用户可根据鼠标和回车键点击图片、若两次点击的图片一样,则消掉图片。本文用QT来设计与实现简单的连连看游戏的基本功能,玩家可以在游戏区域中通过键盘控制来选取相同的两个物件,采用特定的消除规则对它们进行消除的操作,当游戏区域中的所有方块对都被消除后玩家即可胜利。文章对该游戏的算法以及游戏图案的绘制进行详细的介绍。实现起来较简单,同时也比较实用。
关键词:Qt;游戏设计;算法;数组;信号与槽
ABSTRACT
In the current era of rapid development of electronic information, electronic game has e the most popular entertainment popular pastime, classic Russian square is a enjoyed by young and old little game, it achieved by four square of color piece, and then stored in a two dimensional array, computer random generation seven different types of square, according to puter clock control it in certain time keep produced, the user can according to the keyboard four the direction key control block turns, moves left, move to the right, move down operation and the program according to the seven square are stacked into a different model. And Laura square is based on square in Russia, give the Russian square new challenge pattern, its inspiration from work another kind of popular video games-tomb raider. Players to the identity of the adventurers into the game, players need only to a certain score, can challenge higher difficulty levels of the game, of course, if you are good, you will have the chance to open the mysterious ans, the more full of imagination and stimulation of play will wait for you take your challenge.
Key words:Qt; Game design; Algorithm; Array;Signals and slots.
目录
摘要 I
ABSTRACT II
第一章绪论 2
游戏背景 2
游戏概述 2
第二章方案论证 4
选择开发语言 4
第三章需求分析 11
11
11
第四章游戏总体设计 13
总体设计 13
游戏开始模块设计 14
游戏设置模块设计 14
游戏核心模块的设计 15
第五章具体实现 16
16
视图层设计 17
其它相关技术的实现 18
第六章游戏测试 19
按键事件的功能测试 20
图片消失测试 20
声音和显示测试 20
测试结果分析 20
总结 21
致谢 22
参考文献 23
附录源代码 24

第一章绪论
游戏背景
说到连连看,就不得不从经典小游戏说起,连连看是一款古老的风靡全球的经典游戏
,它最早出现在PC机上,我国的用户都是通过红白机了解、喜欢上它的,相信有很多人到现在还是对它念念不忘的。无可

最近更新