【正文】
22 5 游戲 效果 本章介紹 連連看游戲設(shè)計(jì)所實(shí)現(xiàn)的最終效果 及其操作 。 ( 1) 運(yùn)行程序后,出現(xiàn)在玩家面前的是歡迎界面。 歡迎界面 如下圖: 圖 51 連連 看游戲歡迎界面 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 23 ( 2) 進(jìn)入游戲歡迎界面,點(diǎn)擊開始游戲,進(jìn)入游戲運(yùn)行界面 , 如圖 52 所示 。點(diǎn)擊提示圖片時(shí),系統(tǒng)自動(dòng)消除一對(duì)圖案,但時(shí)間不增加。點(diǎn)擊刷新圖片時(shí),刷新界面。 圖 52 游戲運(yùn)行時(shí)的界面 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 24 ( 3)進(jìn)入歡迎界面, 點(diǎn)擊游戲設(shè)置,進(jìn)入游戲設(shè)置界面 , 如 圖 53 所示。進(jìn)行一些游戲功能 的 設(shè)置。 圖 53 游戲設(shè)置界面 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 25 ( 4)進(jìn)入游戲歡迎界面,點(diǎn)擊關(guān)于游戲 , 如 圖 54。 出現(xiàn)介紹游戲規(guī)則的對(duì)話框,點(diǎn)擊確定回到歡迎界面。 圖 54 關(guān)于游戲規(guī)則的對(duì)話框 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 26 ( 5)進(jìn)入歡迎界面, 點(diǎn)擊退出游戲, 在運(yùn)行游戲時(shí)點(diǎn)擊返回按鈕,也是如下效果 , 如 圖 55 所示。 出現(xiàn)是否退出游戲的提示框,點(diǎn)擊確定則退出游戲,點(diǎn)擊取消則回到歡迎界面。 圖 55 提示是否退出游戲?qū)υ捒? ( 6) 設(shè)置界面的按鈕效果,點(diǎn)擊音樂設(shè)置, 效果如 圖 56。 選擇所需設(shè)置或點(diǎn)擊取消返回游戲設(shè)置界面。 圖 56 音樂設(shè)置對(duì)話框 ( 7)進(jìn)入游戲設(shè)置界面, 點(diǎn)擊音效設(shè)置, 如 圖 57 所示 。 選擇所需設(shè)置或點(diǎn)擊取消返回游戲設(shè)置界面。 圖 57 音效設(shè)置對(duì)話框 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 27 ( 8)進(jìn)入游戲設(shè)置界面, 點(diǎn)擊關(guān)卡選擇,如下圖。選擇所要開始的關(guān)卡 后返回游戲設(shè)置界面。 點(diǎn)擊保存設(shè)置后,返回游戲歡迎界面。 圖 58 關(guān)卡選擇對(duì)話框 ( 9) 運(yùn)行游戲時(shí),點(diǎn)擊菜單,效果如 59 圖。點(diǎn)擊重玩,則重新開始這一關(guān)卡;點(diǎn)擊暫停,出現(xiàn)如 510 圖,點(diǎn)擊繼續(xù),則繼續(xù)游戲,點(diǎn)擊退出,則返回歡迎界面。 圖 59 菜單對(duì)話框 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 28 圖 510 暫停游戲?qū)υ捒? ( 10)消除一對(duì)圖案時(shí)效果,如 圖 511。 圖 511 消除一對(duì)連通的圖案 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 29 ( 12) 游戲失敗時(shí)界 面,如 圖 512。點(diǎn)擊 ,返回歡迎界面;點(diǎn)擊 ,重新玩這一關(guān)。 圖 512 游戲失敗界面 ( 13) 游戲勝利時(shí)界面,如 下圖。點(diǎn)擊 ,返回歡迎界面;點(diǎn)擊 ,重新玩這一關(guān) ;點(diǎn)擊 ,進(jìn)入下一關(guān)。 圖 513 游戲勝利界面 ( 14) 當(dāng)玩家通過最后一關(guān)后,顯示游戲結(jié)束界面,如下圖 。點(diǎn)擊確定后返回游戲歡迎界面 。 圖 514 通關(guān) 界面 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 30 6 結(jié)論 在歷時(shí)兩個(gè)多月的學(xué)習(xí)和實(shí)踐,基本上完成了開 題報(bào)告中 所設(shè)計(jì)的功能,即實(shí)現(xiàn)了連連看的基本消除功能、重排功能、提示功能、游戲音樂音效開關(guān)功能、選關(guān)的功能、時(shí)間限制、暫停、菜單設(shè)置等 。 做這個(gè)畢業(yè)設(shè)計(jì)的初衷 ,一 方面 是很早之前 就想自己做個(gè)小游戲來玩兒;另一方面則是 android 開發(fā)現(xiàn)下比較流行,通過設(shè) 計(jì), 可以 了解 Android 開發(fā),學(xué)習(xí)到很多新知識(shí) ;再有就是老師的提示 。 確實(shí),在完成這次設(shè)計(jì)的過程中,我學(xué)到了很多東西,如怎樣創(chuàng)建一個(gè)項(xiàng)目;每個(gè)項(xiàng)目程序中文件、文件夾的功能與作用;在哪里添加圖片、音樂等資源;怎樣調(diào)用 Activity,以及 Activity 間的數(shù)據(jù)傳遞 ;如何設(shè)置鍵盤上的按鈕的功能等。如今,也能自己設(shè)計(jì)一些有關(guān) Android 小程序 。 遺憾的是 一些關(guān)于 java 編程的知識(shí)還是沒有掌握好 。 在設(shè)計(jì)過程中也遇到很多問題。 從搭建 Android 開發(fā)環(huán)境開始,問題就接踵而至 。搭建開發(fā)環(huán)境時(shí),由于宿舍局域網(wǎng)比較慢 ,要下載的東西較大, 再加上對(duì)環(huán)境的不熟悉,耗費(fèi)了很長時(shí)間才將環(huán)境配置好。在編寫程序過程中,由于線程問題不清楚,導(dǎo)致剩余時(shí)間線程和圖案移動(dòng)不同步而出錯(cuò)。在設(shè)置音樂時(shí), 由于不清楚音樂的關(guān)閉函數(shù),致使在 實(shí)現(xiàn) 關(guān)閉音樂 功能 時(shí)耗費(fèi)大量時(shí)間。 在設(shè)置游戲規(guī)則時(shí),涉及到文件操作,由于對(duì)文件操作的知識(shí)了解不多,再加上不清楚文件格式 ,致使讀取出來的文件為亂碼等。這些問題都在同學(xué)和自己的努力下解決了。 這次設(shè)計(jì)雖然完成了,但也有很多不足之處。本來打算實(shí)現(xiàn)連網(wǎng)功能,但由于時(shí)間的關(guān)系,也由于知識(shí)的匱乏而沒有完成,很是遺憾。 總的來說, 這次設(shè)計(jì)收獲頗豐,在鞏固原有的知識(shí)的基礎(chǔ)上學(xué)習(xí)了許多新知識(shí), 并且 能更好的分配時(shí)間,提高了自主學(xué)習(xí)的能力。 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 31 致 謝 在此 我要誠摯地感謝我的指導(dǎo)老師 —— 王建東老師 。 在老師的建議下,我較快的選擇了本次設(shè)計(jì)題目,節(jié)省不少時(shí)間。 在畢業(yè)設(shè)計(jì) 和論文修改 期間, 王 老師嚴(yán)格的要求和親切的關(guān)懷與指導(dǎo), 要我 以高標(biāo)準(zhǔn)來要求 自己, 順利的完成畢業(yè)設(shè)計(jì) 。 至此,再次 向 王 老師表示最衷心的感謝和最誠摯的敬意。 另外我還要感謝我的同學(xué)。 畢業(yè)設(shè)計(jì)過程中, 遇到過很多問題, 尤其是剛接觸這些新知識(shí)時(shí) , 不知從何下手,還好 在同學(xué)的幫助下我完成了環(huán)境的搭建,這是我設(shè)計(jì)所邁出的一大步,同時(shí)帶給我自信。 四年大學(xué)轉(zhuǎn)眼即逝,四年我成長了許多,這離不開學(xué)院的培養(yǎng),更離不開辛勤培養(yǎng)我們的老師,沒有你們的汗水,就沒有今天的我們 。最后,對(duì)所有的老師說一聲老師謝謝你們,你們辛苦了。 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 32 參考文獻(xiàn) [1] 韓超,梁泉 . Android 系統(tǒng)原理及開發(fā)要點(diǎn)詳解 . 北京: 電子工業(yè)出版社,2022:112. [2] 佘志龍 , 陳昱勛 , 鄭明杰 等 . Android SDK 開發(fā)范例大全(第 2 版) . 北京:人民郵電出版社, 2022. [3] Patrick Niemeyer E Jonatban Knudsen 著 , 林琪 譯 . Java 語言學(xué)習(xí)手冊(cè) . 北京:中國電力出版社, 2022. [4] 安卓開發(fā)就業(yè)前景 . [5] Android 發(fā)展歷史 . [6] android 手機(jī)游戲市場的前景如何 . [7] lianliankan8 微薄 . 連連看發(fā)展史 . [8] Android 編程 14 個(gè)很有用的代碼片段 . [9] Android 常用控件總結(jié) . [10] 基于 Android 系統(tǒng)的連連看詳細(xì)設(shè)計(jì)說明書 . 石家莊經(jīng)濟(jì)學(xué)院本科生畢業(yè)論文 33 您好,為你提供優(yōu)秀的畢業(yè)論文參考資料,請(qǐng)您刪除以下內(nèi)容, O(∩_∩)O 謝謝!!!A national survey was recently launched to evaluate the eye health of Chinese children andteenag June 6, China39。s annual National Day for Eye Care, the China Youth Development ServiceCenter and Zhejiang Medicine, a leading listed Chinese pharmaceutical pany, jointlyannounced the kickoff of the about one month, a questionnaire piled by top eye care medical experts in China willbe distributed through multiple online partners, including m, as well asthrough offline survey events held in universities, middle schools and primary schools acrossthe report will be released based on the survey statistics and analysis, and most importantly,guidelines for parents and youth on how to care for the eyes and prevent myopia — agrowing problem in China39。s digitized society, will also be attached on the report.Myopia is not only a disease that makes people see things blurrily, but also leads to severeplications, such as glaua (increased pressure within the eyeball), and can causeblindness, said Zhou Yuehua, an established eye care specialist with Beijing TongrenHospital.It is very important for parents and children to know about the risk and care for their eyes.There are about 450 million myopia patients in China. Among Chinese myopia patients,30million are severe patients, according to ZhouThe prevalence of myopia among high school and college students is more than 70 percent,and the situation is continuously worsening, he Zhu, director with the China Youth Development Service Center, said long hours ofstudy, lack of exercise, especially outdoor activities, and attachment to electronic screen aresome of the top reasons behind the widespread myopia problems, and the increase ofyounger patients, although China has made great progress in improving the hardwarefacilities and lighting conditions in said he hopes the survey will alert people on the threatening situation, and also helpmedical experts to better guideline parents and children39。s behaviors to care for eyes, basedon the timely and factual statistics the survey series of followup events will also be held in six cities, including Jinan in Shandongprovince, and Changsha in Hunan province, to educate people on how to care for eyes afterthe survey started. More and more Chinese are jogging to get and stay fit. Most joggers will run alone, but some will jog with friends or even coaches. The Beijing Olympic Forest Park is one of the most popular spots. It is packed with runners in the afternoon, usually after work, and at weekends. Jogging after a whole day39。s work can be a way to unwind. It is true for He Wenjun, whose workplace is right near the forest park. She di