【正文】
預(yù)測(cè)實(shí)現(xiàn) 43 AppWidget 映射 41 游 戲控制引擎實(shí)現(xiàn) 39 游戲操作接口實(shí)現(xiàn) 36 運(yùn)用 SharePreference 暫存游戲中間結(jié)果 35 游戲數(shù)據(jù)中心的實(shí)現(xiàn) 33 軟件整體運(yùn)行流程 31 游戲界面設(shè)計(jì) 31 游戲素材創(chuàng)作 30 第四章 寵物鳥游戲的實(shí)現(xiàn) 29 小結(jié) 28 重力感應(yīng) 25 矩陣運(yùn)算 23 幀動(dòng)畫 21 Appwidget 的工作原理 21 AppWidget 概述 20 AppWidget 框架 19 SQLite 數(shù)據(jù)庫 17 多線程 17 ContentProvider 11 第三章 ANDROID 手機(jī)寵物游戲引擎及相關(guān)技術(shù)研究 10 小節(jié) 10 Android 與 iPhone 比較 7 iPhone 平臺(tái)概述 7 Android 特性 6 第二章 ANDROID 平臺(tái)研究 5 論文組織結(jié)構(gòu) 1 國內(nèi)外手機(jī)游戲的研究現(xiàn)狀 1 手機(jī)游戲的研究背景 V 第一章 緒論 錯(cuò)誤 !未定義書簽。Game render目錄 —————————————————————————————————————————————— 目 錄 摘要 SQLite。 the other is that it integrates a highly original Fun fortune telling ,divination and other entertainment features into the game, and es with calendar and other useful features. Keywords: Android。 In addition, the thesis also researches and integrates into the Matrix operations and Gesture gestures to make the game more friendly to operate 。s SQLite database system, AppWidget framework, SurfaceView control and game data center, game control engine, desktop mapping framework, game rendering engine on top of it, with a good view of entertainment interface, and highly interesting. First, the paper introduces the theory of implementation based on pet game, running platform and implementation technology。 關(guān)鍵詞: Android;寵物游戲; SQLite; 重力感應(yīng);游戲渲染 Research and Implementation of pet game based on Android Abstract With the rapid development of science and technology nowadays, the demands of entertainment video games are growing fast. From the first games that run on the handheld39。 首先,論文介紹了實(shí)現(xiàn)寵物游戲的相關(guān)理論基礎(chǔ)、運(yùn)行平臺(tái)和實(shí)現(xiàn)技術(shù);其次,論文重點(diǎn)研究了 SQLite 數(shù)據(jù)庫的技術(shù)特點(diǎn)及游戲數(shù)據(jù)的存取,讓本游戲的大量數(shù)據(jù)更易整合,提高數(shù)據(jù)的存取效率;再次,為了讓游戲具有較強(qiáng)的視覺和聽覺沖擊,本論文研究并融入了圖形圖像組件 和音效組件;另外,論文還研究并融入了 Android SDK 的變換矩陣和手勢(shì)操作,使游戲操作更加友好;最后,論文對(duì)游戲的各個(gè)模塊進(jìn)行了功能和性能測(cè)試。 本文基于 Google 公司為廣大智能手機(jī)開發(fā)者提供的 Android 系統(tǒng)環(huán)境,研究并開發(fā)了一款名為“吉祥鳥”的寵物休閑類游戲。而隨著智能手機(jī)終端的涌現(xiàn),更是為電子游戲提供了高速發(fā)展的平臺(tái)。Abstract —————————————————————————————————————————————— 基于 Android 手機(jī)的寵物游戲技術(shù)研究與實(shí)現(xiàn) 摘 要 在科技文化高速發(fā)展的今天,人們對(duì)電子游戲娛樂的需求也日益高漲。從最初的運(yùn)行于掌上游戲機(jī)的“貪吃蛇”和“俄羅斯方塊”到如今風(fēng)靡全世界的網(wǎng)游無不體現(xiàn)了游戲的魅力。特別是 iPhone 智能手機(jī)和 Android 智能手機(jī)的面世,為掌上休閑游戲與應(yīng)用提供了更完善的的開發(fā)環(huán)境。該游戲 主要是在研究了Android 系統(tǒng)的 SQLite 數(shù)據(jù)庫、 AppWidget 框架、 SurfaceView 組件、重力感應(yīng)等的基礎(chǔ)之上構(gòu)建游戲數(shù)據(jù)中心、游戲控制引擎、桌面映射框架、游戲渲染引擎、電子羅盤,并將它們整合開發(fā)出一個(gè)具有良好娛樂界面和極強(qiáng)的趣味性的休閑游戲。 本文及本游戲最大的特色主要有三點(diǎn):其一是在 Android 系統(tǒng)的 AppWidget框架中結(jié)合 SQLite 數(shù)據(jù)庫及圖形圖像處理等組件構(gòu)建了一款輕松休閑游戲;其二是在游戲中富有創(chuàng)意的融入了極具趣味的寵物預(yù)測(cè)、寵物占卜等娛樂功能,并附帶萬年歷等實(shí)用功能;其三是在重力感應(yīng)的基礎(chǔ)上開發(fā)出了電子羅盤。s Snake and “ Tetris”to the now popular around the world online games reflect all the charm of the games. With the emergence of intelligent mobile terminals, a highspeed video game development platform is 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 of Google that provided for the majority of smartphone developers , this thesis researches and develops a pet casual game which is called lucky bird. The game is mainly based on the study of the Android39。 Secondly, the paper focuses on the technical characteristics , storage and access to the game data of SQLite database, it makes it easier to integrate the abundant data of this game, more efficiency to improve data storage and access .Again, in order to make the game a strong visual and auditory impact, this paper researches and integrates into the SurfaceView controls and SoundPool controls。 Finally, each module of the game is functional and robustness tested. The most two distinguishing features of this paper and game are: one is that this casual game is bined the SQLite database with the SurfaceView controls in the Android framework with AppWidget。Pet game。 Gravity sensing。 III Abstract 目 錄 2 論文主要研究?jī)?nèi)容 5 小結(jié) 7 Android 構(gòu)架 13 寵物鸚鵡 手機(jī)游戲概述 13 游戲主題創(chuàng)意 13 游戲運(yùn)行機(jī)制概述 13 游戲控制引擎 14 Activity 15 Intent Receiver 16 Service 18 游戲數(shù)據(jù)中心 19 Android 數(shù)據(jù)存取方式概述 19 SharePreference 存儲(chǔ)方式 21 AppWidget 構(gòu)建方法 22 游戲界面渲染引擎 23 SurfaceView 組件 25 聲音播放組件 26 OpenGL ES 3D 渲染技術(shù) 27 周易預(yù)測(cè)學(xué)淺析 28 電子羅盤 28 目錄 —————————————————————————————————————————————— 羅盤 31 寵物鳥游戲的開發(fā)工作 31 角色動(dòng)畫的設(shè)計(jì) 36 基于 SQLite 的數(shù)據(jù)中心實(shí)現(xiàn) 38 寵物養(yǎng)成的實(shí)現(xiàn) 38 游戲動(dòng)畫渲染引擎實(shí)現(xiàn) 53 測(cè)試環(huán)境 53 寵物游戲的功能測(cè)試 53 游戲互動(dòng)娛樂測(cè)試 54 寵物預(yù)測(cè)功能測(cè)試 55 AppWidget 映射 測(cè)試 55 電子羅盤的測(cè)試 56 游戲性能測(cè)試 57 小結(jié) 57 第六章 總結(jié)與展望 59 總結(jié) 59 展望 59 致謝 63 碩士期間發(fā)表軟件著作權(quán) 特別是進(jìn)入21 世紀(jì)后手機(jī)的硬件性能得到很大的提高,當(dāng)前主流手機(jī)普遍配有主頻 500MHZ的微處理器和 500MB 容量的存儲(chǔ)器。目前全球的智能手機(jī)操作系統(tǒng)主要以 Google 公司開發(fā)的Android 系統(tǒng)、蘋果公司開發(fā)的 iPhone 系統(tǒng)、諾基亞公司開發(fā)的 Symbian 系統(tǒng)、微軟公司開發(fā)的 WindowsMobile 系統(tǒng)和 Linux 系統(tǒng)為代表。中國是最大的手機(jī)市場(chǎng), 2020 年的統(tǒng)計(jì)數(shù)據(jù)表明, Android 已取代了 iPhone 成為中國市場(chǎng)額最大的智能手機(jī)操作系統(tǒng)。它 是基于 內(nèi)核的一個(gè)開源手機(jī)操作系統(tǒng),目前最高版本為 ,集成了 GPS 電子地圖導(dǎo)航、重力感應(yīng)器、多點(diǎn)觸控等重要功能,開發(fā)者可以開發(fā)出豐富的運(yùn)用。為服務(wù)廣大的開發(fā)人員與谷歌手機(jī)用戶,谷歌公司在因特網(wǎng)搭建了一個(gè)應(yīng)用軟件商店。 電腦游戲是很多人不可或缺的娛樂活動(dòng),八九十年達(dá)的“貪吃蛇”和“超級(jí)瑪利亞”給大家留下了歡樂的歡樂記憶,也為游戲創(chuàng)作者帶來了巨額財(cái)富。當(dāng)前電腦游戲行業(yè)非常繁榮,競(jìng)爭(zhēng)也非常激烈,隨著智能手機(jī)的問世并普及,越來越多的游戲開發(fā)人員把目光轉(zhuǎn)向了手機(jī)游戲這