基于Android的找不同游戏设计与实现

基于Android的找不同游戏设计与实现

基于Android的找不同游戏设计与实现

  • 适用:本科,大专,自考
  • 更新时间2024年
  • 原价: ¥299
  • 活动价: ¥200 (活动截止日期:2024-04-27)
  • (到期后自动恢复原价)
基于Android的找不同游戏设计与实现

      基于Android的找不同游戏设计与实现
摘 要
近年来,随着3G移动互联网络的发展,智能手机的普及率越来越高,各种智能手 机操作系统相继出现。Android操作系统作为谷歌公司为移动平台打造的开源操作系统, 是真正开放和完整的移动软件,也是最有发展潜力的智能手机操作系统。基于Android 系统的手机游戏,是Android应用软件中的最重要的组成部分,有着庞大的用户人群, 也必将有巨大的发展潜力。有人已这样预言,Android手机游戏将是游戏产业的下一个 阶段,是手机游戏的未来。
本文首先提出了 Android游戏开发的总体框架,研究并总结了 Android游戏开发涉 及的一些关键技术,包括Android游戏开发多线程技术、Android游戏开发的图形处理 技术以及Android游戏开发中的碰撞检测技术。在此基础上,本文设计实现了基于 Android平台的手机游戏“飞行战”。该游戏的总体功能架构由控制调度模块、逻辑计 算模块、数据存储模块、图形界面模块、声音播放模块以及短信付费模块组成。控制调 度模块主要通过Activity来实现,在其中通过Handler机制实现了控制各个界面的切换; 逻辑计算模块主要处理内部和外部事件,在其中重点实现了碰撞检测和游戏人工智能的 跟踪算法;数据存储模块重点实现了游戏的地图类;图形界面模块重点实现各个界面的 绘制,其中涉及双缓冲绘图技术、游戏界面横屏滚动技术、加载界面进度条技术等关键 技术的实现。除此之外还设计实现了游戏的声音播放模块和短信付费模块,用来为游戏 加入音效和模拟实现发送短信的游戏付费方式。
本游戏最终向Android手机进行了移植,经测试,游戏的基本功能均实现,并且运 行流畅,画面效果较好,具备一定的可玩性。本文所展示的Android游戏开发的整个过 程和提出的开发框架对Android游戏开发具有一定的参考意义。
关键词:Android,手机游戏,Activity,碰撞检测,游戏AI,XML
研究类型: 应用研究

 

ABSTRACT
In recent years, as development of the 3G Mobile Internet, the penetration rate of smartphone gets higher, various smartphone operating systems have come out. Android operating system for mobile platform made by Google company is open source operating system and truly open and integrity mobile software, which is also known as the most potential smartphone operating system. The mobile games based on the Android operating system are the main part of Android application software, with a huge number of the user crowd. It is to have great development potential. Someone has such predictions, Android mobile games will dominate the next stage of the game industry and be the future of mobile game.
Firstly in this paper the Android game development framework is put forward. Some key technologies which the Android game development involves are summarized, including the multithreading technology applied in the Android game development, the graphics processing technology in Android game development and the collision detection technology applied in Android game development. On this basis, the mobile game named "flight war" based on the Android platform is designed and realized. Overall function structure of this game is constructed by a control scheduling module, logic computation module, data storage module, graphical interface module, sound broadcast module and SMS pay module. Control scheduling module is mainly realized through Activity class in which every interface is switched by Handler mechanism. Logic calculation module mainly deals with internal and external events, in which the collision detection and game artificial intelligence tracking algorithm is mainly realized. Data storage module mainly realizes the Map class of the game. Graphical interface module mainly realize drawing each interface5 which involves double buffering drawing technology, horizontal screen
rolling technology in the game interface, progress bar technology in the loading interface and such as key realization techniques. In addition sound broadcast module and SMS pay module is designed and realized which put sound effects and simulate realizing game payment by sending SMS.
The game realizes the transplantation into Android phone finally, according to the test, the game realizes its basic functions, and runs fluently, whose picture effect is pretty good and have a part of gameplay. In this paper entire design process for Android games and the development framework for Android games are useful to the development of Android games.
Key words : Android Mobile Game Activity Collision detection Game AI XML
Thesis : Application Research
1绪论
1.1课题研究背景
1.1.1手机游戏的发展
手机游戏(Mobile Game或Wireless Game),是指消费者利用随身携带并具有无线网
络联机功能的智能移动终端设备,能随时随地来进行的游戏。手机游戏最大的特点是其 随时随地进行游戏的便利性。这些年来,手机游戏市场有了很大的发展,手机游戏已成 为使用率最高的手机娱乐应用,占到各种手机娱乐应用比例的78.4%。在日本,手机游 戏市场经历多年的稳定增长,市场规模已经超过了 850亿日元[1]。在美国,手机游戏作 为美国手机用户最喜欢的移动应用之一,在iPhone和Android等智能终端推出后发展迅 速。而在中国,根据易观智库产业数据库最新发布的《2010年第4季度中国手机游戏市 场季度监测》数据显示,我国2010年手机游戏市场规模已达到32.9亿元,继续保持了 较快的发展。通过图1.1,我们能看出近些年来我国手机游戏市场的发展。

参考文献
邸烁.Android揭秘和未来发展趋势.

http://publish.itpub.net/zt/android/, 2008
Conti J P. The Androids are coming. Engineering & Technology, 2008, 3(9): 153〜156
靳岩,姚尚朗.Google Android开发入门与实战.北京:人民邮电出版社,2009. 5〜7
张利国,代闻,龚海平.Android移动开发案例详解.北京:人民邮电出版社,2010. 3〜9
Android Developers.

http://developer.android.com/
Google Android Forum.

http://www.androidl.net/
姚显昊,刘卫国.Android的架构和应用开发研究.计算机系统应用,2008,11(3): 51〜56
张波,高朝勤,杨越译著.Google Android基础教程.北京:人民邮电出版社,2009. 6~8
韩超,梁泉.Android系统原理及开发要点详解.北京:电子工业出版社,2010. 23〜27
Android Porting.

http://www.android123.com.cn/androidyizhi/
Google Android Lover Forum.

http://www.loveandroid.com/
(美)罗杰等著,李耀亮译.Android应用开发.北京:人民邮电出版社,2010. 55〜58
Thompson T. The Android Mobile Phone Platform. The World of Software Development, 2008,33(9): 77〜80
胡昭民.游戏设计概论.北京:清华大学出版社,2008. 95〜99
张鹏.JAVA手机游戏50例.北京:海洋出版社,2007. 15〜28
施铮.J2ME无线移动游戏开发.北京:人民游戏出版社,2006. 49〜53
杨丰盛.Android应用开发揭秘.北京:机械工业出版社,2010. 110〜117
结城浩.Java多线程设计模式.北京:中国铁道出版社,2005. 38〜51
王森.Java手机程序设计入门.北京:电子工业出版社,2004. 9〜11
郭宏志.Android应用开发详解.北京:电子工业出版社,2010. 238〜250
吴湛微,孔繁强.计算机动画基础.上海:上海交通大学出版社,2008. 59〜97
杨文志.Google Android程序设计指南.北京:电子工业出版社,2009. 211〜215
余志龙等.Google Android SDK开发范例大全.北京:人民邮电出版社,2009. 370〜382
于晓霞.碰撞检测技术在游戏中的应用与实现:[学位论文].太原:太原理工大学, 2007
David M. Bourg. Physics for Game Developers. O’Reilly Associates, Sebastopol,
CA.2001. 101〜175
艾萱.基于J2ME的手机游戏开发——雷电风暴:[学位论文].济南:山东大学,2009
(美)席尔瓦著,王恒等译.精通Android游戏开发.北京:人民游戏出版社,2011. 112〜118
张利国,龚海平,王植萌.Android移动开发入门与进阶.北京:人民邮电出版社, 2009. 39〜42
Lauren Darcey, Shane Conder. Android Wireless Application Development. Addison-Wesley Professional, 2009. 210〜213
 Daniel Sanchez-CrespoDalmau,邱仲潘译.游戏核心算法编程内幕.北京:北京希望 电子出版社,2004. 27〜33
杨传亿.基于移动设备的教育游戏的设计与开发.[学位论文].上海:华东师范大学, 2010
方约翰著,李睿凡等译.游戏人工智能——计算机游戏中的人工智能.北京:北京邮 电大学出版社,2007. 5〜11
(美)布金,西曼著,OReilly Taiwan公司译.游戏开发中的人工智能.南京:东南大 学出版社,2006. 7~59
Woodcodk Steven. Game AI: The State of Industry: It’s Not Just Art, It’s Engineering. Game Developer magazine, August 2001,11(2): 203~207
付朝晖等.游戏编程中的寻路算法研究.湖南工业大学学报,2007,7(5): 38〜41
詹建飞.J2ME开发精解.北京:电子工业出版社,2006. 162〜188
(美)佩腾著,张小松等译.软件测试.北京:机械工业出版社,2006. 3〜26
赵剑平等.电脑游戏设计教程.北京:清华大学出版社,2007. 11〜87
Eric Lengyel. Mathematics for 2D Game Programming & Computer Graphics. Charles River Media Publicers, 2005. 220〜227
Sun MicroSystems. Java 2 Platform Micro Edition(J2ME).

http://java.sun.com /j2me/, 2004.
Huizinga. The art of game Foreign Language. Teaching and Research Press, 2000. 5〜130
顾晓刚,谢义军,林锐.高质量Java程序设计.北京:电子工业出版社,2003. 2〜57
Alex J. Champandard. AI Game Development. New Riders, Indianapolis, IN, 2003. 5〜109
Bruce Eckel. Thinking in Java.北京:机械工业出版社,2002. 2~481
(美)韦斯著,冯瞬玺译.数据结构与算法分析Java语言描述.北京:机械工业出版 社,2009. 3〜119

 

  http://www.bylw520.net/html/4551.html  http://www.bysj360.com/  http://www.bysj360.com/html/3318.html    http://www.caddown.com/


 

  • 关键词 Android 不同 游戏 实现
  • 上一篇:基于Android的蓝牙小车控制软件设计
  • 下一篇:基于Android智能手机的温室环境监控技术的研究
  • 暂无购买记录

    暂时没有评论

    真实

    多重认证,精挑细选的优质资源 优质老师。

    安全

    诚实交易,诚信为本。

    保密

    所有交易信息,都为您保密。

    专业

    10年专业经验,10年来帮助无数学子。