推箱子游戏设计与实现

  • 格式:docx
  • 大小:32.69 KB
  • 文档页数:21

下载文档原格式

  / 21
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

四川师范大学成都学院本科毕业设计推箱子游戏设计与实现

学生姓名张起明

学号

所在系通信工程系

专业名称通信工程

班级2012级宽带一班

陆园

指导教师

四川师范大学成都学院

二○一六年五月

推箱子游戏的设计与实现

前言

于如今竞争激烈的快节奏时代中,人们的生活水平越来越繁忙,因为此,愈来愈多的人感到内心的空虚与压力带来的烦躁,这些也带给人们许许多多心理上和身体上的困惑。所以如何缓解当代人们的生活压力,已成为人们的共同夙愿。这一次的这个基于JAVA的推箱子小游戏正是使用JAVA语言并且结合于Eclipses编译器,开发出了这样一款适合用于休闲的小游戏,在放松的同时也给忙碌的人们打开另一个思考的空间。这一款基于JAVA开发的推箱子主要分为初始化、画图、移动小人、移动箱子以及功能控制共五个模块。玩家可以通过控制游戏中的小人的移动来实现推动箱子,同时需要避开障碍物和死角方能将箱子推放到正确位置从而过关。每关的难易程度各不相同,不仅可以供人们用以娱乐,还有助于开发智力,提高人们思考问题与想象的能力,改善人们的思维方式,拓展思维。

关键词:JAVA 解压推箱子游戏

Abstract

In today's competitive era of fast-paced, people 's living level is becoming more and more busy, because of this, an increasing number of people have felt irritability of emptiness and pressure, these also bring people many psychological and physical puzzles. So how to alleviate the pressure of contemporary life, has become the common aspiration of the people. This time the based on Java Sokoban game is using the Java language and the combination of the eclipses of the compiler developed such a suitable for leisure game, in a relaxed but also to the busy people to open another thinking space. This is based on the JAVA development of the push box is divided into initialization, drawing, moving people, moving boxes and a total of five functional control module. Players can control the game through the villain's mobile to achieve the promotion of the box, while the need to avoid obstacles and dead side to push the box to the correct position so that. Each level of difficulty is different, not only can be used for people to entertain, but also helps to develop intelligence, improve people's ability to think about problems and imagination, improve people's way of thinking, expand thinking.

Key Words:JAVA Relieve pressure Push box Game

目录

前言 .................................................................................................... Abstract.............................................................................................. 1.可行性研究.....................................................................................

1.1设计目的....................................................................................

1.2可行性研究前提...........................................................................

1.3可行性分析.................................................................................

1.4结论意见.................................................................................... 2.需求分析 .........................................................................................

2.1引言 ..........................................................................................

2.2游戏需求....................................................................................

2.3软硬件需求.................................................................................

硬件环境需求: ...........................................................................

软件环境:..................................................................................

2.4接口控制....................................................................................

2.5方案论证....................................................................................

语言的优点..................................................................................

语言的优点..................................................................................

方案选择..................................................................................... 3.概要设计 .........................................................................................

3.1游戏设计分析..............................................................................

地图文件的引用 ...........................................................................

程序运逻辑..................................................................................

绘图...........................................................................................

显示平台.....................................................................................

3.2 注意事项 ...................................................................................

3.3 游戏流程图 ................................................................................

4.详细设计 ...........................................................................................

4.1游戏总体结构与代码.....................................................................