基于Android系统的“地心坠落”手机游戏设计与开发



《基于Android系统的“地心坠落”手机游戏设计与开发》由会员分享,可在线阅读,更多相关《基于Android系统的“地心坠落”手机游戏设计与开发(60页珍藏版)》请在文档大全上搜索。
1、基于Android系统的“地心坠落”手机游戏设计与开发作 者 姓 名: 指 导 教 师: 单 位 名 称: 专 业 名 称: 年 月Design and Implementation of Obulis Mobile Game Based on Android Operating System Supervisor :Associate Professor BI Yuanguo 摘 要III设计任务书设计题目:基于Android系统的“地心坠落”手机游戏设计与开发设计的基本内容:(1) 了解项目开发背景,分析项目进度管理系统功能需求,研究其设计及实现技术。(2) 设计基于Android系统的手
2、机游戏总体结构,实现手机游戏的基本功能。作为一款手机游戏,系统必需能够实现诸如存档、物理世界模拟、逻辑判断、画面友好等功能。(3) 总结归纳所完成的任务,弥补不足,以最短的时间用最少的投入实现项目的开发。设计专题部分:题目:设计或论文专题的基本内容:学生接受设计题目日期第周指导教师签字:年月日基于Android系统的“地心坠落”手机游戏设计与开发摘 要随着人们的生活压力的变大,游戏越来越成为生活中释放压力、放松自己的一种重要方式。几年前,手机的发展还没有到现在的程度,手机的运行速度与屏幕大小达不到人们对游戏的期望程度。而如今,手机等移动终端的硬件以及智能机操作系统的发展,让手机和游戏相结合不再
3、是那么无聊的事情。本文在基于Android系统的基础上,添加物理引擎,设计了一款完全模拟物理世界的益智类手机游戏“地心坠落” 。此款游戏加入了现今主流的Box2D物理引擎开发包,让玩家置身于一个完全模拟物理世界的游戏环境。游戏实现了开场动画、读档、存档、声音开关设置、关卡选择、游戏世界的逻辑判断等基本功能,玩家可以通过剪断拴住小球的绳索产生动力,撞击其他小球,使全部的彩球掉入相同颜色的桶内,首次碰撞点击来选择需要切断的绳索,再次碰撞执行。此游戏的界面布局采用Android系统开发所提倡的xml文件布局方式,而不是传统的java代码,把布局代码和java逻辑判断代码分开来,不仅使代码简洁,而且x
4、ml的特性,使的布局文件中的构件属性变的清晰,特高了代码的可读性。本文首先进行了系统的需求获取和业务分析。然后,采用分层的方法对系统进行设计,叙述了游戏逻辑判断的详细设计与实现,并叙述了游戏各个功能模块的设计和实现。并通过对系统的测试,对其功能和性能进行评估。最后,进行了总结,介绍了系统的特点和不足之处,指出了下一步的工作方向。关键词:手机游戏;Android;Box2D;java;xml AbstractDesign and Implementation of Obulis Mobile Game Based on Android Operating SystemAbstractWith t
5、he pressure of peoples lives change, the games become a more and more important way to relax in life. Few years ago, the development of mobile phones didnt catch the extent now, and the running speed of the mobile phone and the screen size of them are less than expectations of the game. Today, mobil
6、e phones and other mobile terminal hardware and the development of intelligence operating system, combining mobile phones and games are no longer so boring. In this paper, on the basis of the Android system, adding to a physics engine, designed a completely simulation of the physical world puzzled m
7、obile games “Obulis”.This game adds to the most popular physics engine package of Box2D, allowing the player to exposure to the physical world in a fully simulated game environment. The game achieve to the basic functions of game such as opening animation, loading, archiving, sound switch settings,
8、level selection, the logical judgment of the game world and so on. The player can generate power through cutting chains which can hit other balls, so that all of the balls fall into the barrels of the same color, the first touching of chain is to select a rope to be cut off and the second is to cut
9、off down. This games interface layout use xml which is promoted by the development of the Android system, rather than the traditional java code, so that layout codes and Java codes can be distinguished, not only to make the code simple, but also xmls features make the properties of components in lay
10、out files clear, improving the readability of codes.In this paper, firstly, introduce the system requirements and business analytics. Then, using the layered approach to system design, describe designing and implementation of the judgment of the game logic in detail, besides, describe the design and
11、 implementation of the various functional modules of the game. And testing the system, assess its functionality and performance. Finally, with a summary of this paper, point out the characteristics and the shorts of the system, and point the next step direction.Key words: Mobile Phone Game; Android;