摘要当今社会,越来越多的人们开始接受电子游戏的存在。电子游戏凭借着成本较低,娱乐性强的特点,逐渐成为人们主要的休闲娱乐方式之一。其中休闲游戏受众最多,面积最广。而成语目前也很受学校的重视。因此开发一款成语版打地鼠游戏具有很高的可行性。58627
本游戏主要以Cocos2d-x游戏引擎为基础,在Microsoft Visual Studio 2013开发环境下,用C++进行开发。是一款Windows下的游戏。Cocos2d-x是一个开源的2D的用于手机或平板的游戏框架,体积小,开发便捷是其优点。
本文首先介绍了成语版打地鼠游戏的背景、目的和意义,接下来说明了打地鼠游戏的来源和现状,并介绍了此次游戏开发的相关技术和开发工具,然后对游戏进行了系统分析,详细设计,随后重点介绍了游戏的具体实现,接着是对游戏的简单的测试,最后对游戏的设计与开发过程进行了总结。
毕业论文关键词:成语;打地鼠;游戏开发
Abstract Nowadays, more and more people begin to accept the existence of video games. Video Games relying on the low cost and entertainment has become one of the major leisure and entertainment for people. Wherein the casual games have the most audience and the most extensive audience. The idioms are also valued by the school. Therefore, making the idioms of game of whack-a-mole has very high feasibility.
This game is mainly based on the Cocos2d-x game engine in Microsoft Visual Studio 2013 development environment. It is developed under C++. It is a game in the Windows System. Cocos2d-x is an open source two-dimensional mobile gaming frame, which has small volume, the development of convenient and so on.
The paper first introduces the background, the purpose and the meaning of the the idioms of game of whack-a-mole. Next, it explains the source of the game of whack-a-mole and its present situation. It also introduces the game development technology and development tools are. Then it carries out the systems analysis and the detailed design. It introduces the realization of the game and the game of simple test. Finally, the paper summarizes the work of design and development of the game.
Keywords: Idiom; Whac-A-Mole; Development of games
第一章 绪论 1
1.1 开发背景 1
1.2 开发的目的与意义 1
1.4 本文主要研究内容和章节安排 2
第二章 游戏开发的关键技术与开发工具 4
2.1 游戏开发的关键技术——Cocos2d-x 4
2.1.1 Cocos2d-x特点 4
2.1.2 Cocos2d-x引擎架构 4
2.1.3 Cocos2d-x中的核心类 5
2.1.4 坐标系简介 6
2.2 游戏开发用的数据库——SQLite 6
2.2.1 工作原理 7
2.2.2 功能特性 7
2.3 C++简介 8
2.4 游戏的开发工具 8
第三章 游戏的系统分析 9
3.1 功能需求分析 9
3.1.1 系统基本功能 9
3.1.2 游戏的操作方法 10
3.2 游戏的功能模块设计 10
3.2.1 打地鼠模块