資源描述:
《手機JAVA游戲的開發(fā)》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、手機JAVA游戲的開發(fā)TheDevelopmentofMobileJAVAGame手機JAVA游戲的開發(fā)摘要J2ME虛擬機在手機上的普及為手機游戲的發(fā)展提供了最適合的土壤,隨著MIDP2.0的發(fā)布,特別是其中新增的GameAPI使得手機游戲開發(fā)者可以更專注于游戲性的增強而不再是繁瑣的動畫處理與地圖設(shè)計,讓開發(fā)過程變得更加方便迅捷,它是手機游戲發(fā)展的重要里程碑。手機的擁有量遠遠大于電腦,隨著智能手機的出現(xiàn),手機軟件的應(yīng)用范圍和需求量正在迅速擴大,形成了一個新興的領(lǐng)域。近幾年剛剛出現(xiàn)的Symbian操作系統(tǒng)在智能手機操作系統(tǒng)市場占有率約80%,成為業(yè)界的領(lǐng)跑者。論文按照軟件工程的流程對
2、連連看游戲進行了設(shè)計,并使用面向?qū)ο蟮姆椒ㄟM行了程序的類設(shè)計和代碼編寫。首先從連連看游戲的需求入手,對手機硬件、操作系統(tǒng)進行選擇,得到總體設(shè)計方案。接下來把該游戲的用戶需求進行了匯總,并根據(jù)總體方案和需求分析進行詳細設(shè)計。詳細設(shè)計中對手機游戲連連看的類進行了設(shè)計。對其中需要實現(xiàn)的功能包括菜單界面設(shè)計,程序界面,時間控制,布局算法,連通算法,屏幕繪制,精靈動畫進行了設(shè)計。37該游戲采用矩陣數(shù)組來存儲和調(diào)用相應(yīng)的設(shè)計數(shù)據(jù),通過隨機產(chǎn)生數(shù)值函數(shù)(理想)初始化數(shù)據(jù)。游戲的開發(fā)環(huán)境是基于J2ME平臺的wireless_toolkit(無線開發(fā)工具包),目標(biāo)設(shè)備是針對支持CLDC及MIDP2.
3、1的手機。關(guān)鍵字:J2ME手機游戲連連看開發(fā)37TheDevelopmentofMobileJAVAGameAbstract:TheJ2MEvirtualmachinehasprovidedthemostsuitablesoilplatformforhandsetgamedevelopmentbecouseofitspopularizationonmobile,AlongwiththereleaseofMIDP2.0,speciallythenewlyaddedadditionalGameAPI.gamedeveloporcanfocuseffortongameperformanc
4、eenhancementbutnottediousanimationprocessingandthemapdesign,whichletsthedevelopmentprocedurebecomemoreconvenientandfast.J2MEistheimportantmilestoneforhandsetgameevolution.Phoneownershipisfargreaterthanthecomputer,withtheemergenceofsmartphones,cellphonesoftware,thescopeofapplicationanddemandise
5、xpandingrapidly,forminganewfield.InrecentyearsappearsintheSymbianOSsmartphoneoperatingsystemmarketshareofabout80%,makingittheindustryleader.Papersaccordingtothesoftwareengineeringprocesslinkgamedesign,anduseoftheobject—。orientedmethodofprocedureinthepreparationofdesignandcode.First,fromthestar
6、twiththeneedsof1inkgame,mobilephonehardware,operatingsystemchoice,andbydesignprogrammers.Nexttothegameneedsofusersaresummarized.a(chǎn)ndinaccordancewiththeoverallplananddemandanalysiSofthedetaileddesign.Detaileddesignofthecel1phone1inkgameclasshasbeendesigned.Oftheneedtoachieveoneofthefeaturesinclu
7、demenuinterfacedesign,programminginterface,timecontrol,layoutalgorithm,connectivityalgorithms,screenrendering,animationwizardforthedesign.Thisgameadoptmatrixarraytostorageandcallthecorrespondingdesigndata,throughrandomgenerationnumerica