节点文献

基于Android平台冒险类手机游戏的设计与实现

Design and Implementation of Adventure Game Base on Android Platform

【作者】 王亮

【导师】 张骏; 肖迪;

【作者基本信息】 北京工业大学 , 软件工程(专业学位), 2013, 硕士

【摘要】 随着移动通信技术的不断发展,手机已经不再仅仅是用来通话的设备,更成为人们日常生活必备的一个伙伴,其中的手机游戏更是人们不可或缺的一项娱乐活动。如今,众多的软件开发商都把手机游戏作为一个重要的经济增长点来进行开发。当今手机游戏的平台主要有Symbian、Windows Mobile、iPhone操作系统、BlackBerry、Linux以及最近几年流行的Android平台。Android平台以谷歌公司的强大支持、Java技术的开源优势以及良好的用户体验,获得了市场的成功。在Android平台上进行游戏开发,覆盖面广,通用性强,利润空间巨大。首先介绍了当前流行的Android平台,重点介绍了该系统的架构和应用程序架构,然后详细介绍了如何在Android上应用面向对象的技术进行手机游戏的设计与实现。文章结合作者自身的设计实践按照需求分析、概要设计、详细设计的软件开发流程进行总结,设计一款冒险类游戏,并对关键功能模块进行了详尽的介绍。其中,游戏核心处理模块、碰撞检测模块、图像模块和数据库模块的设计和实现是游戏的重点与难点。通过多线程技术和消息队列的结合使游戏核心处理模块能更快的响应和处理游戏事件;应用双缓冲技术到绘图模块,消除了屏幕闪烁的现象;应用基于矩形检测算法能高效快速的检测出物理碰撞。Java语言在Android开发环境中,编码的准确性是至关重要的。为了验证游戏运作的正确性,还设计了测试方法来进行测试。测试结果表明应用软件工程思想和面向对象技术可以开发出Android平台的游戏,并且开发效率高,维护方便。本文对于开发Android平台的游戏工作者有一定的参考价值。

【Abstract】 With the development of mobile communication technology and hardwaretechnology, besides communication, a cell phone has become a friend of us. Mobilegames become an integral part of daily life entertainment. Many software developersand mobile operators regard the mobile gaming as important growth points of interest.At present, platforms for mobile game are Symbian, Windows Mobile, iPhone OS,BlackBerry, Linux and the recent famous Android platform. With Google’s strongsupport, the advantages of opening source of Java technology and good userexperience, platform Android make great success. Developing game on Androidplatform with wide coverage, great versatility can make huge profit.This paper first introduced the popular Android platform currently, focusing onthe system architecture and application architecture. Then introduce the detail how todesign and implement the mobile game with object-oriented technology Java.In accordance with the author’s design practice, the article design and implementan adventure game, based on the process of requirement analysis、outline design anddetail design, makes a detailed description of the key features of the game modules.The core processing module, collision detection modules, the image module anddatabase module are the four key modules. The algorithm of core processing, drawingand collision detection are the difficulty and emphasis. Multi-thread technology andmessage queue can process events and response faster; Double cache can eliminatescreen flicker phenomenon; the clision detection algorithm based on rectangular candetect physical collisiton efficiently and quickly.Under the Android development environment with Java languages, the accuracyof coding is crucial. In order to verify the accuracy of the game, the paper design testmethod for testing, and the results showing that it is effective to design and implementthe mobile game on Android platform with object-oriental technology, the efficiencyof developmentation is high and the game is easy to mainten. This article has certainreference values for the development of mobile game on Android platform.

【关键词】 Android平台手机游戏游戏架构
【Key words】 Android platformMobile gamesGame framework
  • 【分类号】TP317
  • 【被引频次】7
  • 【下载频次】1603
节点文献中: 

本文链接的文献网络图示:

本文的引文网络