近几年来社会不断地快速发展,也让人们在工作中产生了很多这样那样的压力,随着科技的进步,人们更希望通过网络、通过游戏来释放自己的压力,以往的技术都只是让游戏在笔记本或者移动产品上单独运行,并不可以跨平台操作,这也增加了开发者的工作量,因此经过人们不懈的努力,终于在原有基础上对html进行了改革,这就是HTML5。减少了用户刷新页面的时间,得到了更多人的认可,因此基于HTML5所制作的冒险闯关游戏也就成了很多人的研究课题。
俄罗斯游戏的开发不仅是一个简单游戏的编写过程,更重要的是在系统分析和设计阶段所做的工作。利用HTML5技术来实现俄罗斯方块游戏在设计过程中严格遵循软件工程学的方法,用分阶段的生命周期计划严格管理,并主要讲述了程序的总体设计、详细设计阶段,对程序进行需求迭代,不断修正和改进 ,直到形成一个完善的可行性系统.界面美观、大方,方便的操作与良好的视觉感应共同构成了“基于HTML5平台的俄罗斯游戏设计与开发”的设计。
【关键词】 网页游戏 HTML5 闯关游戏 JavaScript 俄罗斯方块
ABSTRACT
In recent years, with the rapid development of society, people have created a lot of pressure in their work. With the progress of science and technology, people hope to release their pressure through the network and games. The past technology only allows games to run on laptops or mobile products alone, but not across platforms. This also increases the workload of developers. So after people's unremitting efforts, HTML has been reformed on the original basis, which is HTML5. It reduces the time for users to refresh their pages and gains more recognition. Therefore, the risk-taking game based on HTML5 has become a research topic for many people.
The development of Russian games is not only a process of writing simple games, but also the work done in the stage of system analysis and design. Using HTML5 technology to achieve strict compliance with software engineering methods in the design process of Tetris game, strict management with phased life cycle planning, and mainly describes the overall design and detailed design stage of the program, iteration of the program requirements, continuous revision and improvement, until a perfect feasibility system is formed. The interface is beautiful, generous, easy to operate and good. Visual perception together constitutes the design of "Russian Game Design and Development Based on HTML5 Platform".
Web Game HTML5 Pass-through Game JavaScript Tetris
目 录
第1章 绪论 5
1.1 开发背景 5
1.2 开发意义 5
1.3 研究现状 5
第2章 相关技术概述 7
2.1 HTML5的发展历史 7
2.2 HTML5的优势 7
2.2.1 HTML5的新标签 7
2.3 HTML5的新功能 8
第3章 HTML5游戏开发 9
3.1 准备工作 9
3.2 JavaScript、CSS特性 9
一、JavaScript 9
3.3 HTML5游戏 10
第4章 俄罗斯方块闯关游戏开发 11
4.1俄罗斯方块戏由来 11
4.2俄罗斯方块玩法 11
4.2 游戏部件的绘制 12
4.3系统用户用例图 12
4.4 页面布局调整和信息定义 13
第5章 游戏总体设计 14
5.1系统基本流程 14
5.2 系统功能结构图 14
5.3 游戏顺序图 15
5.4游戏方块控制功能 15
第6章 游戏功能测试 17
6.1 测试的目的和意义 17
6.2 测试内容 17
6.2.1界面测试 17
6.2.2转换 19
6.2.3游戏方块消除 19
6.3本章小结 20
结 论 21
致 谢 22
参考文献 23