【正文】
推箱子游戲 的 設(shè)計(jì) 院 系: 計(jì)算機(jī)與信息工程學(xué)院 專業(yè)年級(jí): 2020 電子科學(xué)與技術(shù) 學(xué)生姓名: 黎浩宏 學(xué)號(hào): 20202649 指導(dǎo)教師: 金一鳴 2020 年 06 月 14 日 基于 Android 的 推箱子游戲 的 設(shè)計(jì) 摘 要 隨著智能手機(jī)一步步走進(jìn)普通人的生活,它將成為人們獲取信息的主要設(shè)備。游戲場(chǎng)景一般是設(shè)定在空間狹小的倉(cāng)庫(kù)中,要求把箱子擺放到指定位置。 此 Android推箱子游戲是基于 Android ,主要分為開(kāi)始游戲、聲音開(kāi)關(guān)、游戲說(shuō)明、退出游戲四個(gè)功能模塊的設(shè)計(jì)與實(shí)現(xiàn)。s oldest game and designed to train people logical thinking ability. Game scene generally are set in the narrow space warehouse, and demanded the box is put to the appointed place. This requires player clever use limited space and channel, reasonable arrangement of the box location and movement order just may plete the task. Along with the puter game development, many lovers of programming based on this game ideas developed out various versions, various types of pushed box. They include a lot of mobile phones version of the realization, acpanied by Android SDK technology unceasing development, some based on Android applications are constantly, quickly pushed box game entered innumberable Android PushBox Game is based on the Android main points of the design,start game,sound switch,game description and exit developing the process, i design the framework of the game, This paper first discusses the background and present research situation of Android system. And then briefly introduces the Android technology and the Android analysis, and introduces the Android Application I begin to code pilation and realize the function of the game according to each class implementation. Key words: Android pushedbox game,android 目 錄 . 1 緒論 .......................................................................................................................................... 1 背景 ..................................................................................................................................... 2 課題來(lái)源 .............................................................................................................................. 3 國(guó)內(nèi)外研究現(xiàn)狀 ................................................................................................................... 3 2 Android 的技術(shù)介紹及分析 .......................................................................................................... 4 .............................................................................................................. 4 Android架構(gòu)分析 ................................................................................................................. 6 應(yīng)用程序框架 .............................................................................................................. 6 類庫(kù) ............................................................................................................................ 6 Android 應(yīng)用的構(gòu)成和工作機(jī)制 ............................................................................................. 7 3Android 應(yīng)用程序結(jié)構(gòu)剖析 .......................................................................................................... 8 Android 的 API ...................................................................................................................... 8 應(yīng)用程序結(jié)構(gòu)解析 ..................................................................................................... 9 活動(dòng) ............................................................................................................................ 9 意圖接收器 ................................................................................................................ 10 服務(wù) .......................................................................................................................... 10 內(nèi)容提供者 ................................................................................................................ 10 Intent 的詳細(xì)解析 .................................................................................................................11 Intent 的抽象描述 ........................................................................................................11 Android 中 Intent 的使用 ............................................................................................ 12 Android 活動(dòng)的生命周期 ...................................................................................................... 13 活動(dòng)的生命狀態(tài) ......................................................................................................... 13 活動(dòng)的運(yùn)作流程 ........................................................................................................ 15 4 系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn) ....................................................................................................................... 15 游戲的策劃 ........................................................................................................................ 16 游戲基本功能描述 .............................................................................................................. 16 推箱子游戲用例分析 .......................................................................................................... 17 游戲的類框架 ..................................................................................................................... 19 游戲界面的框架設(shè)計(jì)與實(shí)現(xiàn) ................................................................................................ 20 游戲的界面 ........................................................................................................................ 27 5 結(jié)論 ...................................................................................................................................... 32 謝辭 ............................................................................................................................................ 33 參考文獻(xiàn) ....................................................................................................................................