您所在位置: &
 &  & 
基于Qt的连连看游戏的设计与实现.doc62页
本文档一共被下载:
次 ,您可免费全文在线阅读后下载本文档
文档加载中...广告还剩秒
需要金币:200 &&
你可能关注的文档:
??????????
??????????
在现今电子信息高速发展的时代,电子游戏已然成为大众最受欢迎的娱乐消遣方式,经典的连连看是个老少皆宜的小游戏,它实现由各式各样的成对图片组成,然后存储在一个二维的数组中,计算机随机产生各种不同类型的图片,根据计算机时钟控制它在一定的时间内随机产生,用户可根据鼠标和回车键点击图片、若两次点击的图片一样,则消掉图片。本文用QT来设计与实现简单的连连看游戏的基本功能,玩家可以在游戏区域中通过键盘控制来选取相同的两个物件,采用特定的消除规则对它们进行消除的操作,当游戏区域中的所有方块对都被消除后玩家即可胜利。文章对该游戏的算法以及游戏图案的绘制进行详细的介绍。实现起来较简单,同时也比较实用。
关键词:Qt;游戏设计;算法;数组;信号与槽
In the current era of rapid development of electronic information, electronic game has become 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 the computer 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 the network 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 myst
正在加载中,请稍后...资源页文档
gsghfg上传于
一个用java写的小游戏
0分|下载47次|15KB
一个java写的小游戏,是男人就坚持30秒的一个小游戏,可以玩玩,看看原代,比较简单,可能能给你一些思路吧。
收藏评论分享
新浪微博QQ好友QQ空间