【正文】
PINGDINGSHAN UNIVERSITY 畢業(yè)論文 (設(shè)計 ) 題 目 : 基于 Android 的解謎游戲設(shè)計與實現(xiàn) 院 ( 系 ): 軟件學(xué)院 專業(yè)年級 : 軟件工程 2021 級 姓 名 : 學(xué) 號 : 指導(dǎo)教師 : 2021 年 12 月 12 日 基于 Android 的解謎游戲開發(fā) 摘 要 在科技文化高速發(fā)展的今天,人們對游戲的需求也日益高漲。從最初運行于掌上游戲機的“貪吃蛇”和“俄羅斯方塊”到如今風(fēng)靡全世界的網(wǎng)游無不體現(xiàn)了游戲的魅力。而隨著智能手機終端的出現(xiàn),更是為電子游戲提供了高速發(fā)展的平臺。特別是 iPhone 智能手機和 Android 智能手機的面世,為掌上休閑游戲提供了更完善的開發(fā)環(huán)境。 本文基于 Android 系統(tǒng)環(huán)境,研究并開發(fā)了一款解謎類游戲,通過追蹤游戲設(shè)定的線索解開謎底。通過策劃、 美工需求和功能需求確定了游戲的開發(fā)過程和運行流程。然后通過對關(guān)卡的設(shè)計來實現(xiàn)游戲的玩法,運用圖形圖像組件來實現(xiàn)游戲界面。運用 Service 和 Intent 實現(xiàn)游戲的控制, SharePreference 和 SQLite 實現(xiàn)游戲的數(shù)據(jù)中心。最后,將游戲界面、游戲控制和數(shù)據(jù)中心整合,并通過運行和測試。該游戲是一款具有良好娛樂界面和極強趣味性的解謎游戲。 論文闡述了 Android 解謎游戲的開發(fā)過程。首先對手機游戲的背景意義和研究現(xiàn)狀、 android 平臺的特征和應(yīng)用構(gòu)成進行介紹,其次對游戲的策劃與需求進行分析,重點介紹游 戲的設(shè)計與實現(xiàn),然后進行綜合測試。最后對游戲進行總結(jié),提出游戲中的缺陷、不足和對未來的展望。 關(guān)鍵詞 : Android, SQLite,解謎游戲 The Development of the Decryption Game Based on Android Abstract With the rapid development of science and technology nowadays, the demands of entertainment games are growing fast. From the first games that were the handheld39。s “Snake” and “Tetris” to today extremely popular online games around the world all reflects the charm of the games. With the emergence of intelligent mobile terminals, a highspeed digital game development platform is better provided. Especially when the iPhone and Android phones are available, a better development environment for the applications of handheld casual games is more convenient. Based on the Android system environment, the design studies and develops a riddle kind of game which reveals the answers by tracking clues the game sets. Through the planning, creative needs and functional requirements it defines the game development process and running process. And by setting tollgates the design achieves how to play the game and uses graphics module to realize the game interface. Using the Service and Intent the design realizes the control for the game, and with SharePreference and SQLite it realizes the data center of the game. Finally, the game interface, the game control and the data center integrate together, and it passes the running and testing. The game has a good entertainment interface and is extremely strong interesting decryption game. This paper states development process of the android riddle game. At first, it introduces background significance of mobile phone game and research status, characteristics and application constitutes of the android platform structure. Next, the paper analyzes the plan and the requirements of the game, and focuses on design and implementation of the game. Then prehensive testing has made for the design. Finally, the paper summarizes the game and puts forward defects and future outlook for the game. Keywords: Android, SQLite, Decryption Game 目 錄 1 緒論 .............................................................................................................................1 課題的背景及意義 ...........................................................................................1 研究現(xiàn)狀 ...........................................................................................................1 論文主要工作 ...................................................................................................3 論文結(jié)構(gòu)安排 ...................................................................................................3 2 Android 平臺研究 ........................................................................................................5 Android 特征 ......................................................................................................5 Android 應(yīng)用的構(gòu)成 ..........................................................................................5 活動 .........................................................................................................6 意圖接收器 .............................................................................................7 服務(wù) .........................................................................................................7 內(nèi)容提供者 .............................................................................................8 Android 與 iPhone 比較 .....................................................................................8 本章小結(jié) ...........................................................................................................9 3 策劃與需求分析 .......................................................................................................10 游戲策劃 .........................................................................................................10 美工需求 ......................................................................................................... 11 功能需求 ......................................................................................................... 11 本章小結(jié) .........................................................................................................14 4 設(shè)計與實現(xiàn) ...............................................................................................................15 類框架介紹 .....................................................................................................15 界面設(shè)計 .........................................................................................................16 主界面 ...................................................................................................16 游戲界面 ...............................................................................................17 劇情界面 ...............................................................................................17 背包界面 ...............................................................................................18 功能實現(xiàn) ..