文档+任务书+开题报告+文献综述+外文翻译及原文+项目源码及xlsx数据表
基于layabox的微信端魔塔小游戏开发
摘要:在社会发展的今天,人们对于物质上的追求已经基本满足,开始寻求更多精神上的追求。疫情当下,游戏这一娱乐模式逐渐成为人们习惯的一种行为方式。而相对于大型网络游戏与普通APP手游的需要长期积累升级,下载后才能进行游戏的模式,小游戏体验轻便,无需下载,寄托于客户端的方式无疑为玩家开辟了一条新的快捷的方式,自微信小游戏推出后,头条,VO快应用等各大厂商紧随其后,掀起了中国全新5G时代下游戏的新浪潮,也是H5取代Flash游戏的大势所趋。本文旨在借助微信平台环境下,利用laya引擎,开发一套改编后的传统游戏—魔塔。
目前国内主流的H5游戏引擎主要有Cocos2d-js,Egret与Layabox。其中,Cocos2d-js在语言上仅支持js,且不支持3D渲染与VR发布,对日后向3D转换带来不便,而Layabobx在性能渲染上的综合实力较强,且内部支持多渠道游戏的发布。本文就是采用Layabox引擎下支持的TypeScript来设计的小游戏,利用FairyGUI进行游戏内部界面的设计,利用xlsxConvert工具将写在xlsx表中的游戏数据转换成json格式,利用Web Storage(web端),setStorage、getStorage(微信端)进行在玩家客户端中进行读取、存储玩家的基础数据。通过监听与取消监听相结合的方式进行游戏中的摇杆设计来操作角色移动,游戏地图采用数组的方式来记录,在玩家数据中存入各个地图的道具,怪物等信息,移动时进行事件判断。核心玩法为玩家与各种怪物战斗,战斗胜利后获得经验与金币提升自身属性,最后击杀最终BOSS取得胜利营救公主。最终完成的功能有地图怪物设计绘制,摇杆操作系统,地图跳跃系统,金币商城经验商城系统,角色与各种不同的属性类的碰撞事件系统,背包系统,战斗系统,数据存储系统。
关键词:智力游戏;魔塔;微信小游戏;LayaBox
中图分类号:TP311.1
Development of magic tower game on wechat based on layabox
Abstract:In today’s social development, people’s pursuit of material has been basically satisfied, and began to seek more spiritual pursuit. At present, game as an entertainment mode has gradually become a way of behavior that people are used to. Compared with the large-scale online games and ordinary app mobile games, which need to be accumulated and upgraded for a long time, the game mode can only be carried out after downloading. The small game experience is light and does not need to be downloaded. The way entrusted to the client undoubtedly opens up a new and fast way for the players. Since the launch of wechat small game, the top news, VO fast application and other major manufacturers have followed closely, setting off a new 5g era in China The new wave of game is also the trend of H5 replacing flash game. This paper aims to develop a set of adapted traditional game magic tower by using the Laya engine under the wechat platform environment.
At present, the mainstream H5 game engines in China mainly include cocos2d JS, egret and layabox. Among them, cocos2d JS only supports JS in language, and does not support 3D rendering and VR publishing, which is inconvenient for future 3D conversion, while layabobx has strong comprehensive strength in performance rendering, and internal support for multi-channel game publishing. This paper is a small game designed by typescript supported by layabox engine. Fairygui is used to design the internal interface of the game. Xlsxconvert tool is used to convert the game data written in xlsx table into JSON format. Web storage (web side), setstorage and getstorage (wechat side) are used to read and store the basic data of the player in the player client. Through the combination of monitoring and canceling monitoring, the rocker design in the game is designed to operate the role movement. The game map is recorded in the way of array, and the props, monsters and other information of each map are stored in the player’s data, and the event judgment is carried out when moving. The core play method is that players fight with various monsters, gain experience and gold coins to improve their own attributes after winning the battle, and finally kill the boss to win and rescue the princess. Final functions include map Monster Design and drawing, rocker operating system, map jumping system, gold coin shopping mall experience shopping mall system, collision event system of roles and various attribute classes, backpack system, combat system and data storage system.
Keywords:Intellectual games;Magic tower;Wechat games;LayaBox
Classification: TP311.1
目 次
摘要 Ⅰ
目次 Ⅲ
1 绪 论 1
1.1 研究背景及意义 1
1.2 国内外研究现状 1
1.3 本文主要工作 2
1.4 本文组织结构 3
2 游戏的组成、玩家属性分析 4
2.1 游戏组成 4
2.1.1 机制(Mechanics) 4
2.1.2 故事(Story) 4
2.1.3 美学(Esthetics) 5
2.1.4 技术(Technology) 5
2.2 玩家属性分析 5
2.2.1 方块——成就型玩家 5
2.2.2 黑桃——探索型玩家 6
2.2.3 红桃——社交型玩家 6
2.2.4 梅花——杀手型玩家 7
2.2.5 总结 7
3 游戏分析与设计 8
3.1 需求分析 8
3.1.1 功能需求分析 8
3.1.2 非功能需求 9
3.2 可行性分析 9
3.2.1 技术可行性分析 9
3.2.2 经济可行性分析 9
3.3 游戏的总设计 9
3.4 功能模块设计 11
3.4.1 游戏存储模块 11
3.4.2 游戏分享模块 11
3.4.3 操作模块 11
3.4.4 界面模块 12
3.4.5 商城模块 12
3.4.6 碰撞模块 12
3.4.7 战斗模块 12
3.4.8 跳跃模块 12
3.4.9 音乐模块 12
3.4.10属性查看模块 12
3.4.11 背包模块 12
3.5 xlsx表设计 13
4 系统实现 15
4.1 数据初始化 15
4.2 功能模块实现 15
4.2.1 游戏存储模块 15
4.2.2 游戏分享模块 16
4.2.3 操作模块 17
4.2.4 界面模块 18
4.2.5 商城模块 18
4.2.6 碰撞模块 21
4.2.7 战斗模块 22
4.2.8 跳跃模块 23
4.2.9 音乐模块 25
4.2.10属性查看模块 21
4.2.11 背包模块 22
5 游戏测试 27
5.1 软件测试的重要性和目的 27
5.2 基于layabox的微信端魔塔小游戏功能测试 27
5.2.1 游戏外部功能测试 27
5.2.2 游戏内部功能测试 28
6 总结 31
参考文献 32



















基于Layabox引擎的魔塔微信小游戏设计与实现相关推荐

  1. 白鹭引擎正式支持微信小游戏开发

    12月28日微信迎来更新,正式上线小游戏,并开放了小游戏开发文档和开发者工具.在微信发布新版本后,白鹭引擎立即添加了对于微信小游戏开发的支持,开发者只需要使用白鹭引擎的最新版本,通过使用白鹭引擎完整工 ...

  2. 微信小游戏设计心得(一)从0到开发一款小游戏教程-岩浆救援,对初学者来说有帮助

    2019年底,因为其他工作失意,我意外来到了,小游戏设计圈子,独立开发游戏,从什么都不会,到发开了一款真正的小游戏 网上很多教程,但是没有一个全面的,都是零零散散的东西,拼凑一起,需要很多时间,我决定 ...

  3. 基于HTML5的消灭星星网页小游戏设计

    目录 1 游戏介绍 1 2.1 Model 3 2.1.1 生成砖墙 4 2.1.2 消除砖块 4 2.1.3 夯实砖墙 6 2.1.4 消除残砖 11 2.2 View 12 2.3 Control ...

  4. 极光会客厅:大型H5游戏如何登陆微信小游戏及游戏性能优化分享

    上周末,由极光网络主办的首期"极光会客厅"正式开门迎客.在本次的"2D小游戏开发实战技术沙龙"上,极光网络客户端主程陈策以及极光网络项目总监陈源向一众与会者分享 ...

  5. 剖析:谈谈微信小游戏的成功点

    微信小游戏从<跳一跳>开始,很快在小程序领域占据了绝大部分的江山.现在微信上到处可见小游戏的身影. 大量开发者涌入微信小游戏,为微信生态.为微信小程序的生态增添了无数可能性.作为游戏开发者 ...

  6. 微信小游戏提供服务器,发布到微信小游戏平台

    发布到微信小游戏平台 早在微信官方正式发布小游戏平台之前,Cocos Creator 团队就和微信开发团队合作完成了 Cocos Creator 对微信小游戏平台的支持.在小游戏正式公布之后,我们也在 ...

  7. 基于Laya游戏引擎实现微信小游戏排行榜

    我们都知道,微信小游戏和小程序目前风头十足,很多公司都逐渐增加了相关业务线来迅速推广自己的产品和抢占用户群.说到微信小游戏,就不得不提到排行榜这个功能,就目前游戏行业,似乎都离不开排行榜这个重要功能, ...

  8. 微信小游戏怎么选游戏引擎

    微信小游戏现在非常的火,当我们下定决心做微信小游戏开发的时候, 面临我们的第一个问题是怎么选一个H5的游戏引擎, 那么今天本尊就来给大家分析一下目前能开发各大平台H5小游戏的游戏引擎和它们的优缺点. ...

  9. 全面了解H5重要入口“微信小游戏”,LayaAir引擎支持一键发布!

    12月28日,微信小游戏在6.6.1的版本中上线.通过微信小程序入口的微信小游戏平台,可以看到首批推出的15款游戏产品,其中4款采用LayaAir引擎开发,通过Layabox提供的小程序适配库一键发布 ...

  10. layaair发布html5,全面了解H5微信小游戏 LayaAir引擎支持一键发布

    12月28日,微信小游戏在6.6.1的版本中上线.通过微信小程序入口的微信小游戏平台,可以看到首批推出的15款游戏产品,其中4款采用LayaAir引擎开发,通过Layabox提供的小程序适配库一键发布 ...

最新文章

  1. 第十六节: EF的CodeFirst模式通过Fluent API修改默认协定
  2. 作者:朱扬勇(1963-),男,博士,复旦大学计算机科学技术学院教授、学术委员会主任,上海市数据科学重点实验室主任。...
  3. Bootstrap3.0 栅格系统背后的精妙魔法(Bootstrap3.0的栅格布局系统实现原理) - willian12345...
  4. JZOJ 3461. 【NOIP2013模拟联考5】小麦亩产一千八(kela)
  5. 使用SVN clang: error: linker command failed with exit code 1 (use -v to see invocation)
  6. 平板电脑怎么投屏到电视上_笔记本电脑可以投屏到电视吗?电脑投屏电视,体验大屏乐趣...
  7. vuecli+axios的post请求传递参数异常
  8. PHP 7.0 5.6 下安裝 phpLDAPadmin 发生错误的修正方法
  9. java数组基本用法(数组的声明/初始化及一些常用的数组操作)
  10. 仿大众点评下拉菜单完成
  11. JSON 在线工具 BeJson
  12. 16.微信登入与授权
  13. AOP-Chap27-Balanced BSTs
  14. linux安装intel无线网卡驱动,CentOS 命令行安装intel 2200bg无线网卡驱动
  15. ES5, ES2015 和 TypeScript 的区别
  16. 应用商店调研-360手机助手
  17. 国内十大正规现货交易平台排名(2021版榜单)
  18. Spark 内存管理堆内和堆外内存规划_大数据培训
  19. VS2017添加lib静态库文件引用
  20. Spark中组件Mllib的学习19之分层抽样

热门文章

  1. windows server 2008R2下安装nginx
  2. 后台管理系统权限设计
  3. 关于如何修复任务栏图标变白色的问题
  4. WPE详细教程四 独立外挂制作(1)
  5. 程序带来这些新的机会,创业新浪潮才刚开始!
  6. html多级下拉菜单代码,jQuery实现的多级下拉菜单效果代码
  7. 计算机网络管理员中级试题及解析,计算机网络管理员中级考试题及答案(一)(1)...
  8. 关于Windows mobile设备中心,同步软件不出现,打开卡住问题的解决
  9. java人民币大写转换脚本_Java实现人民币大写代码解析
  10. 超级计算机预测未来,超级计算机预测未来