文档详情

(毕业论文)连连看游戏设计与实现.docx

发布:2016-12-15约字共57页下载文档
文本预览下载声明
连连看游戏设计与实现摘 要“连连看”游戏是一款常见游戏。游戏速度节奏快,画面清晰可爱,适合大众玩家。本文主要介绍了游戏的设计过程,其中游戏主要分为4个模块,游戏界面模块、图片随机生成模块、图片消除路径判断、背景音乐模块。游戏核心模块中图片随机生成采用了数字和图片绑定,运用随机函数以及数组交换的算法,实现了游戏图片初始化状态,有效的解决了图片排布问题,方案简单易行;另一核心模块图片消除路径判断,主要采用了分类判断的算法,将连连看图片的位置一一归类,分类设计函数判断位置,实现游戏的基本消除功能。算法思路清晰,便于理解和编码。本游戏实现了连连看的基本功能,可以准确的消除图片、记录分数、提示时间,同时设计了人性化的提示,解决僵局的功能,创新实现了新的连连看规则——消除图片后给予时间奖励,激发了玩家的积极性。关键词: QT;连连看;算法;数组Link Game Design and ImplementationAbstractLinkgame is a common game. The game has fast-paced speed and the cute picture That is fit for public players . This paper describes the design process of the game , where the game is divided into four modules, the game interface module , the module of randomly generated pictures , eliminating path judgment , background music modules.Game Core module, the module of randomly generated pictures ,bind pictures and images, use the random function and a array exchange algorithm, and achieve game picture initialization state , effectively solve the problem of picture arrangement , the plan is simple ; another core module pictures ,eliminate path judgment , mainly uses classification algorithms to determine the location of linkgame picture and classify it , classification functions judge the location, and realize the basic function of the game cancellation . Algorithm is clear, easy to understand and encoding.The game realize the basic function of linkgame, it can eliminate the exact picture , recording scores , suggesting that time ,and design humane tips ,the function of solving the deadlock . It achieves new rules -- after elimination of the picture you can be given time bonus .That is stimulating the enthusiasm of the players .Keywords: QT; Link; algorithm; Array 目 录摘 要iAbstractii1. 绪 论11.1 游戏简介11.1.1 游戏背景11.1.2 游戏规则11.2 游戏功能11.2.1 美观大气的界面11.2.2 背景音乐的添加11.2.3 奖励时间的设置11.2.4 提示功能11.2.5 僵局的重置11.2.6 得分记录、难度21.2.7 开始、重新开始、退出21.3 游戏设计的主要工作21.3.1 游戏设计需要解决的问题21.3.2 游戏设计需要使用的算法21.3.3 游戏设计创新点22. 系统分析42.1 技术可行性分析42.1.1 算法分析42.1.2 开发语言分析142.1.3 开发平台分析152
显示全部
相似文档