cocos2dx引擎的手机卡牌游戏开发
目 录
Abstract5
Key words5
引言5
1 研究背景6
1.1 国内外研究现状6
1.1.1 卡牌类游戏6
1.1.2 2D手机游戏引擎7
1.2 项目主要工作8
1.3 本文组织结构8
2 开发平台及应用技术8
2.1 Microsoft Visual Studio 2010平台8
2.2 C++9
2.3 cocos2dx引擎9
2.4 科大讯飞InterPhonic5.0工具9
2.5 光影魔术手工具9
3 cocos2dx引擎主要功能介绍10
3.1 基本语法10
3.2 触屏事件10
3.3 生命周期11
3.4 更新函数11
3.5 坐标系与锚点Z轴遮盖关系12
3.5.1 坐标系12
3.5.1 锚点12
3.5.1 遮挡关系(Z轴)13
3.6 消息机制13
3.7 动作14
4 项目设计15
4.1 可行性分析15
4.2 用户需求分析15
4.3 功能模块设计16
4.4 游戏玩法设计17
4.5 流程图22
4.6 基本操作玩法23 *51今日免费论文网|www.jxszl.com +Q: ^351916072^
5 项目相关资源与工程 18
5.1 资源18
5.1.1 图片资源18
5.1.2 音乐资源21
5.2 工程介绍21
6 项目实现24
6.1 菜单界面Menu24
6.2 英雄界面HWorld27
6.3 卡牌界面CWorld28
6.4 战斗界面FWorld31
6.5 结算界面38
7 项目测试40
7.1 测试的定义及其重要性41
7.1.1 测试的定义41
7.1.2 测试的重要性41
7.2 测试实例的研究与选择41
致谢42
参考文献42
基于cocos2dx引擎的手机卡牌游戏开发
计算机科学与技术专业学生 于雷
指导教师 徐焕良
Phonebased card game engine development cocos2dx
Student majoring in Computer Science and Technology Yu Lei
Tutor Xu Huanliang
Abstract: Hearthstone legend is a very easy to use card game, which features a bit like Texas Poker, the novice is very easy to learn, and master skills in another study space. Its game mode is 1 to 1, you need to touch the cards with a reasonable combination, then the best time to play, gradually cut the opponents health to zero. Describes the role of each card are controlled within a word, the very simple and easy to understand, even if you have absolutely no contact with such games, but also to immediately know that they can do what five minutes to get started, ten minutes a game! the Hearthstone legends in the current market conditions, the market has never extended to mobile terminals, and the curriculum is designed to do a background Hearthstone legend mobile games. The game is developed in a windows environment. Based on cocos2dx game engine, strong crossplatform for the future to prepare for transfer to a different platform.
Key words: cocos2dx Hearthstone legend card, ios,
1 研究背景
1.1 国内外研究现状
1.1.1 卡牌类游戏
随着智能手机的不断发展,手机已经成为人们生活中不可或缺的物品,传统的功能手机主要用于通讯,与当今的智能手机相比,智能手机更像是一台小型的移动电脑,丰富的功能可以满足用户各种不同的需求,而手机软件成为了承载不同功能的载体。
2008年3月6日,苹果对外发布了针对iPhone的应用开发包(SDK),供免费下载,以便第三方应用开发人员开发针对iPhone及Touch的应用软件。不到一周时间,3月12日,苹果宣布已获得超过100,000次的下载,三个月后,这一数字上升至250,000次。[1]苹果公司一直以来推出的产品在技术上都保持一定的封闭性,比如当年的Mac,此次推出SDK可以说是前所未有的开放之举。继SDK推出之后,同年7月11日,苹果APP Store正式上线。7月14日,App Store中可供下载的应用已达800个,下载量达到1千万次。[2]2009年1月16日,数字刷新为,逾1.5万个应用,超过5亿次下载。2011年1月6日,App Store扩展至mac平台。APPStore平台上大部分应用价格低于10美元,并且有约20%的应用是供免费下载的。用户购买应用所支付的费用由苹果与应用开发商3:7分成。
原文链接:http://www.jxszl.com/jsj/jsjkxyjs/42256.html
最新推荐
热门阅读