亚洲国产日韩欧美在线a乱码,国产精品路线1路线2路线,亚洲视频一区,精品国产自,www狠狠,国产情侣激情在线视频免费看,亚洲成年网站在线观看

基于J2ME的手機(jī)游戲設(shè)計(jì)與實(shí)現(xiàn)

  • 相關(guān)推薦

基于J2ME的手機(jī)游戲設(shè)計(jì)與實(shí)現(xiàn)

畢業(yè)論文

目    錄
1 緒論 1
1.1手機(jī)軟件現(xiàn)狀 1
1.2 游戲業(yè)務(wù)及J2ME概況 1
2 開發(fā)環(huán)境及相關(guān)技術(shù)的介紹 5
2.1 開發(fā)環(huán)境 5
2.2 JAVA語言的特點(diǎn) 5
2.3 關(guān)于JBUILDER9 5
2.4 關(guān)于WIRELESS TOOL KIT 5
2.5 JAVA APPICATION MANAGER 6
3 系統(tǒng)設(shè)計(jì)思想與技術(shù) 7
3.1 本程序需解決的有關(guān)技術(shù)問題 7
3.2 程序流程 7
3.3 游戲API概述 8
3.3.1 游戲API類庫(kù)概述 8
3.3.2 提供低級(jí)繪制的Canvas類 9
3.3.3 Graphics類 10
3.3.4 Game包中的新功能 10
3.3.5 有關(guān)繪圖的1些技術(shù) 10
3.4 棋子的控制和敵方(手機(jī))的智能運(yùn)行 11
3.5 RMS數(shù)據(jù)庫(kù)系統(tǒng) 11
3.6 內(nèi)存使用的最佳化 12
3.7 混淆器(OBFUSCATOR)的使用 13
3.8 模擬器的相關(guān)調(diào)試 13
4 系統(tǒng)設(shè)計(jì)與編碼實(shí)現(xiàn) 14
4.1 游戲進(jìn)入前的選擇 14
4.2 主游戲邏輯及其涉及到的若干類 14
4.3 游戲的總體流程實(shí)現(xiàn) 16
4.3.1 游戲的實(shí)現(xiàn)流程 16
4.3.2 棋子共同屬性 18
4.3.3 電腦棋子的功能屬性 18
4.3.4 記錄控制 19
4.4 游戲各個(gè)功能模塊的實(shí)現(xiàn) 19
4.4.1 登陸模塊的實(shí)現(xiàn) 19
4.4.2 棋子操作控制的實(shí)現(xiàn) 22
4.4.3 游戲結(jié)束控制的實(shí)現(xiàn) 24
4.5 游戲代碼的優(yōu)化問題 26
4.6 錯(cuò)誤分析 26
4.7 錯(cuò)誤總結(jié) 26
4.8 基于游戲模擬器的測(cè)試 27
5 總結(jié) 28
5.1 本程序的總結(jié)和展望 28
5.2 經(jīng)驗(yàn)和感想 28
參考文獻(xiàn) 30
致    謝 31
源 代 碼 32
 
基于J2ME的手機(jī)游戲設(shè)計(jì)與實(shí)現(xiàn)
 
摘要:J2ME(Java 2 Micro Edition) 是近年來隨著各種不同設(shè)備,尤其是移動(dòng)通信設(shè)備的飛速發(fā)展而誕生的1項(xiàng)新的開發(fā)技術(shù)。它定位在消費(fèi)性電子產(chǎn)品的應(yīng)用上。本文研究了基于J2ME技術(shù)的各種應(yīng)用,學(xué)習(xí)了用J2ME開發(fā)游戲的1般方法,然后設(shè)計(jì)與實(shí)現(xiàn)了1款基于手機(jī)的小游戲。游戲主要完成了游戲的3個(gè)基本的功能模塊,實(shí)現(xiàn)玩家與手機(jī)對(duì)戰(zhàn)的基本操作,首先是登陸界面的繪制,同時(shí)創(chuàng)建1個(gè)隱含列表,在登陸時(shí)候供玩家選擇;其次是在游戲中對(duì)棋子的具體操作,包括對(duì)棋子移動(dòng)位置的選擇控制,棋子的繪制和界面的更新,下棋方的選擇控制,重點(diǎn)實(shí)現(xiàn)了棋子出界和重疊問題的算法控制以及對(duì)戰(zhàn)手機(jī)下子的智能控制問題;最后1個(gè)功能模塊是對(duì)游戲結(jié)束的控制,通過對(duì)游戲條件的檢查判斷游戲是否已經(jīng)結(jié)束,當(dāng)游戲結(jié)束時(shí)對(duì)游戲的結(jié)果進(jìn)行分析得出游戲的最終勝利方。
關(guān)鍵字:J2ME,手機(jī)游戲, Java,5子棋
 
Design and Implementation of Cell-phone
Game Based on J2ME
 
Abstract:J2ME (Java 2 Micro Edition) is a newly-developed technology that derives from the development of various equipments, especially mobile telecommunication equipments. It aims at the application of electronics consumables. This thesis makes research of all kinds of application based on J2ME technology, and designs a new mobile-phone-based game through basic ways that use J2ME to develop games. The game has three basic function modules to realize the fundamental operation of combat between players and mobile phones. The first module is the design of login interface, including an invisible list for the choice of players. The second one is the detailed operation of chessman during the game, including the choice of place for the next moving, design of chessman and renewal of interface, and the choice of players. This part enables the calculation control of chessman outside the interface and the overlap problems, and enables the intelligent control of combating mobile phones. The third one is the control of game exit. It checks the game condition and judges whether it is finished, and then analyzes to get the result who is the winner.
 Keywords: J2ME, mobile game, Java, Five son chesses

基于J2ME的手機(jī)游戲設(shè)計(jì)與實(shí)現(xiàn)

【基于J2ME的手機(jī)游戲設(shè)計(jì)與實(shí)現(xiàn)】相關(guān)文章:

基于PQRM的PACS系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)03-07

基于Perl的DoS工具設(shè)計(jì)與實(shí)現(xiàn)03-10

基于PCI總線的CAN卡的設(shè)計(jì)與實(shí)現(xiàn)03-18

基于MVC模式的BBS系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)03-08

基于ASP的網(wǎng)絡(luò)考試系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)03-07

基于FPGA的TS over lP的設(shè)計(jì)與實(shí)現(xiàn)03-21

基于JSP的BBS設(shè)計(jì)與實(shí)現(xiàn)JSP+SQL03-08

基于MX21的PMP系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)11-22

基于JSP網(wǎng)頁自動(dòng)生成工具的設(shè)計(jì)與實(shí)現(xiàn)03-18