网站大量收购独家精品文档,联系QQ:2885784924

基于Android的逃生游戏设计和实现-毕业论文.doc

基于Android的逃生游戏设计和实现-毕业论文.doc

  1. 1、本文档共41页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于Android的逃生游戏设计和实现-毕业论文

基于Android的逃生游戏设计与实现 系 (部):计算机科学与技术 专 业: 学 号:2007022209 学生姓名: 指导教师: 讲师 20 11 年月 毕业设计(论文) PAGE IV 摘 要 本文从该游戏的设计背景,相关技术,需求分析,详细设计等等多方面详细阐述了整个游戏的设计以及开发过程。 本游戏是一款冒险类游戏,游戏背景是该游戏的一大特色,游戏背景情节设定为明末大将军被陷害而逃亡,只有最终逃脱了杀手的追杀才能取的胜利。 游戏的主控制通过Android的Handler消息机制实现模块间的通信,游戏的界面绘制采用了SurfaceView来实时刷新主界面,界面绘制都会启动一个线程来调用父类的onDraw方法,得以实时刷新游戏显示界面。游戏中的滚屏技术也做了一定的优化,利用偏移量的变化来使滚屏效果更加细腻,让游戏界面更加流畅。游戏的玩家操作运用到了一定的算法,具体为通过获取玩家点击手机屏幕的坐标而判断游戏英雄的移动方向。 关键词:冒险游戏、Handler消息机制、算法 ABSTRACT In this paper, the games design background, related technologies, demand analysis, detailed design, and so many side to elaborated on the game design and development process. This game is an adventure game, game background is a major feature of the game, late Ming game is set to the background circumstances of great general is framed and fleeing, only the final kill in order to escape the killer to take the victory. Game of the main control mechanism by Androids Message Handler realize the communication between modules, used to draw the game screen in real time to refresh the primary interfaced by SurfaceView, Will start a thread to draw the interface to call the parent class method onDraw, real-time game to refresh the display interface. Scroll technology in the game to do some optimization, change of use of the offset effect is more delicate to make scrolls, make the game more fluid interface. Operational use of the game to a certain algorithm, specifically for the mobile phone screen by obtaining the coordinates of the player clicks to determine the direction of movement to the hero of the game. Keywords: Adventure Games, Handler message mechanism, Algorithm 目 录  TOC \o 1-2 \h \z \t 标题 3,3,标题 4,4 HYPERLINK \l _Toc294598496摘 要  PAGEREF _Toc294598496 \h I HYPERLINK \l _Toc294598497ABSTRACT  PAGEREF _Toc294598497 \h II HYPERLINK \l _Toc294598498第1章 绪论  PAGEREF _Toc294598498 \h 1 HYPERLINK \l _Toc2945984991.1选题背景和意义  PAGEREF _Toc294598499 \h 1

文档评论(0)

3471161553 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档