基于cocos2d-x手机游戏客户端的设计与实现

 2022-08-17 09:08

论文总字数:19112字

摘 要

71113115 罗帅

指导教师 吴含前

随着科学技术的进步,智能手机的普及,手机游戏也逐渐进入了人们的视线,渐渐成为人们最日常的娱乐方式。中国游戏市场的整体增速在未来三年将逐渐放缓,主要由于互联网和移动互联网已经接近饱和。从游戏结构上看,端游和页游的市场规模占比会下降,手游会成为最主要的游戏品种。

本文的研究课题来源于渡维科技的项目LOL战纪手游开发。一款手游在开发前,先需要了解足够的市场背景,做好充分的技术准备,才能开始设计,首先是确定题材,再确定各个功能模块,对各个功能做出详细设计,最后进入开发,开发完成还不是结束,还要不断的进行代码优化,根据用户反馈不断对游戏做出调整,满足人们的需求,才能开发出一款受人欢迎的好产品。

本文就这款游戏的开发背景,开发技术做出了介绍。项目中运用了Cocos2d-x引擎和Lua脚本语言,先就开发游戏前从用户体验出发应该注意些什么进行了分析,接着对项目的几个模块进行了介绍,最后是具体实现,详细阐述了开发中所用到的技术知识。目前项目已经开发完成,正式上线,处在不断优化改善阶段。

关键词: 手游 Lua Cocos2d-x

Abstract

71113115 Shuai Luo

Advisor Hanqian Wu

With the progress of science and technology and the popularity of smart phones, mobile games have gradually entered people's line of sight and gradually become the most common way of entertainment. The overall growth rate of China's game market will gradually slow down over the next three years, mainly due to the Internet and mobile Internet is nearing saturation. From the point of the game structure, PC games and page games market will decline, mobile games will become the most important game varieties.

In this paper, the source of research is the development of LOL ZHANJI project from DUWEI technology. A mobile games in the development, first need to understand enough market background, full preparation technology, in order to design, the first is to determine the subject, and then determine the function of each module, make a detailed design of each function, and finally into the development, development is not the end, but also continue to carry out the code optimization,.Based on user feedback to make adjustments to the game, to meet people's needs and develop a good product which is popular.

In this paper, the development background of this game, development techniques are introduced. The project uses the Cocos2d-x engine and the Lua scripting language. Before the development of the game , what should be pay attention to is analyzed from the user experience, then several modules of the project are introduced too. Finally is the concrete realization which expounds the technical knowledge used in the development of this game. At present, the project has been completed and formally launched. It is in the stage of continuous optimization and improvement.

Keyword:Mobile Games Lua Cocos2d-x

目录

第一章 绪论 1

1.1 手游背景及现状 1

1.2 研究意义 1

1.3 本文结构 2

第二章 相关技术 3

2.1 Lua语言 3

2.2 Cocos2d-x 3

第三章 手游客户端需求分析 5

3.1肌肉记忆的游戏影响 5

3.2 长期记忆的游戏影响 5

3.3 短期记忆的游戏影响 6

第四章 系统模块设计 7

4.1日志系统模块 7

4.2消息事件模块 8

4.3引擎封装模块 8

4.4应用配置模块 8

4.5音效控制模块 8

4.6数据管理模块 9

4.7调试模块 9

第五章 UI定义 10

第六章 项目实现 12

6.1 MVC框架 12

6.2 场景创建 12

6.3 设置控件 14

6.4 项目成果示意图 19

第七章 总结体会 20

致谢 20

参考文献 21

第一章 绪论

1.1 手游背景及现状

随着科学技术的进步,智能手机的普及,手机游戏也逐渐进入了人们的视线,渐渐成为人们最日常的娱乐方式。中国游戏市场的整体增速在未来三年将逐渐放缓,主要由于互联网和移动互联网已经接近饱和。从游戏结构上看,端游和页游的市场规模占比会下降,手游会成为最主要的游戏品种。

截至2016年底的十月,手机游戏的月活跃用户数达到5亿6400万,虽然在过去一年中,手机游戏用户整体变动有所波动,但仍呈上升趋势。

2016是手机游戏产业发生巨大变化的一年,也是手机游戏行业整体格局发生巨大变化的一年,历经高价值IP的版权不断被巨头收入囊中,渠道对手机游戏开发者的约束日益弱化,行业从业者对于手机游戏的设计、玩法乃至推广渠道方面皆展开了全面的思考。如何把握玩家的心态,让玩家自发地传播游戏,刺激玩家更长的停留时间,已经成为所有行业从业者所面临的问题。

剩余内容已隐藏,请支付后下载全文,论文总字数:19112字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;