基于Quick cocos2dx-Lua的宝贝云计划英语模块设计与实现

 2022-08-15 09:08

论文总字数:35453字

摘 要

作者签名: 日期:

基于Quick cocos2dx-Lua的宝贝云计划英语模块设计与实现

摘 要

71113235 张上华

指导老师: 曹争

自互联网时代以来,移动端游戏逐渐从新奇产品变成了众多拥有移动设备的人群的日常生活必需品。比起电脑端游戏,移动端游戏拥有许多优点例如便携,用户群庞大等。

本文采用开发安卓平台的软件的方式,从最初开发环境到模块设计再到每个模块的实现最后嵌入整个软件。

本文使用cocos2dx游戏引擎开发基于lua的安卓平台游戏,完成其中的英语模块,包括刚进入该模块的选择界面、点泡泡、彩色蛋、字母撞墙、描绘字母、拼单词等等场景,其中许多场景需要继承其他公用模块应用到多个课件。几乎每个课件都作为独立脚本运行,最后将英语模块整合到整个宝贝云计划中,作为独立的课程可供用户选择。

关键词:软件,cocos2dx引擎,lua,安卓平台游戏

Design and Implementation of English Module for Baby Cloud Program based on Quick cocos2dx-Lua

Abstract

71113235 ShanghuaZhang

Adviser: ZhengCao

Since the Internet era, the mobile side of the game gradually from the novel products into a large number of people with mobile devices daily necessities. Compared to the computer side of the game, mobile games have many advantages such as portable, large user base and so on.

This article uses the development of Andrews platform software, from the initial development environment to the module design and then to the realization of each module finally embedded in the entire software.

In this paper, the use of cocos2dx game engine development based on Lua Andrews platform game, complete the English module, including just enter the module selection interface, point bubble, color eggs, letters hit the wall, depict letters, spell words and so on. Many of these scenarios need to inherit other common modules to apply to multiple courseware. Almost every courseware is run as an independent script, and finally the English module is integrated into the BBY program, as a separate course for users to choose.

Keywords: software, cocos2dx engine, lua, Andrews platform game

目 录

摘要 ……………………………………………………………………………………………Ⅰ

Abstract …………………………………………………………………………………… Ⅰ

  1. 绪论 ………………………………………………………………………………1

1.1 项目背景及意义 ………………………………………………………1

1.2 手游开发现状 ……………………………………………………1

1.3 论文主要工作 ………………………………………………………2

  1. 相关技术介绍 ………………………………………………………3

2.1 引擎介绍 …………………………………………………………3

2.1.1 引擎的架构 …………………………………………………4

2.1.2 cocos2dx中基本概念介绍 ……………………………………4

2.1.3 cocos2dx程序基本结构 ……………………………………6

2.1.4 cocos2dx引擎的优点 …………………………………………7

2.2 语言介绍 ……………………………………………………………………7

2.2.1 脚本语言 …………………………………………………………………7

2.2.2 lua语言 ………………………………………………………………8

2.2.3 lua语言的特点 ………………………………………………………8

2.3 本章小结 ……………………………………………………………………9

  1. 系统部署 ……………………………………………………………9

3.1 相关软件及配置 …………………………………………………9

3.2 系统环境 …………………………………………………………………13

3.3 本章小结 ……………………………………………………13

  1. 模块分析与设计 ……………………………………………………14

4.1 模块需求分析 ………………………………………………………14

4.2 模块结构设计 ………………………………………………………14

4.3 具体课件流程设计 ……………………………………………………15

4.3.1 ChooseScene的流程设计 ……………………………………16

4.3.2 ClickPapaw的流程设计 ……………………………………16

4.3.3 Miaohong的流程设计 …………………………………………18

4.3.4 SpellWord的流程设计 …………………………………………19

4.3.5 DanceCommonScene的流程设计 ………………………………20

4.4 本章小结 …………………………………………………………21

  1. 模块的实现 ……………………………………………………………22

5.1 模块结构实现 ………………………………………………………22

5.1.1 ChooseScene的实现 ……………………………………………22

5.2 具体课件的实现 …………………………………………………………25

5.2.1 ClickPapaw的实现 ……………………………………………25

5.2.2 Miaohong的实现 ………………………………………………27

5.2.3 SpellWord的实现 ………………………………………………30

5.2.4 DanceCommonScene的实现 ……………………………………32

5.3 本章小结 …………………………………………………………33

  1. 问题分析与测试 ……………………………………………………33

6.1 具体问题解决 ………………………………………………………33

6.1.1 声音无法播放或无法停止 ……………………………………33

6.1.2 显示对象移除与变量置空 ……………………………………34

6.1.3 资源文件配置 …………………………………………………34

6.1.4 物理事件 ………………………………………………………35

6.2 测试 ……………………………………………………………35

6.3 本章小结 ……………………………………………………………35

  1. 总结与展望 …………………………………………………………36

参考文献(References) …………………………………………………………37

致谢 ………………………………………………………………………………38

第一章 绪论

2001年,联合国秘书长科菲·安南在联合国儿童特别会议上强调:“每个孩子都有权开始最美好的生活”。“开始”是指0-3岁,中国大脑教育学会和教育研究分会常务理事袁爱玲表示,脑科学研究表明,岁是建立一个人脑神经连接的最佳时期。良好的早期教育可以提供感觉刺激,建立脑网连接,改善脑功能,为以后更难的教育奠定基础。

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

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

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