基于虚拟机上的手机游戏的设计与实现

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

华中科技大学硕士学位论文基于虚拟机上的手机游戏的设计与实现姓名:张业军申请学位级别:硕士专业:软件工程指导教师:沈刚2010-01-14I,DojaNTTDocomoi-mode2.5G,i-mode1999,i-modejavai-appli2001,javai-modeDoja,DojaCLDC,j2meAPIDojajava2D1XMLXMLPULL()KXMLKXMLDOM2DDojai-applij2meXMLIIAbstractIntoday'sinformationsociety,mobilephonehasbecomeonepartofthepeople'sdailylife.Withthedevelopmentofwirelessdatatrafficandmobilecommunicationtechnologies,thefunctionofcellphoneismorethancalling.So,itisveryobviousthatthedevelopmentofmobilegamefunctionofcellphonehasbecomeamarkettrend.Itwillbeanewimportantgrowthpointofbussiness.DojaisakindofpatenttechniqueofJapan'slargestmobilecommunicationscompany,NTTDocomo.Inthecompany,thei-modeisanapplicationmodelof2.5Gmobilecommunications,whichcoversmanyaspects.i-modestartedin1999andthei-appli,acombinnationofi-modeandjava,startedin2001.So,Dojaisaspeciali-modetechnologydevelopedbyJava.Actually,thetechniqueisbasedonCLDCspecification’splatform,parallelwithJ2MEstandardplatformandownseparateAPIclasslibrary.hence,DojacanutilizevariousJava(languages)toarchivemanycomplexrolesonphones.2Dmobileanimationisaframe-basedmobileapplication.In1second,themonitorofthemobiledisplayssomebackgroundpictures,somecharacters,becauseofthepeople`seye'svisualsuspended,soformedthe2Danimation.Mostofthemobiledevicehasconstraintsinstackandpacketstorages,sohowtomakegooduseofthemobileresourcebecomesthecruxofthedesign.Inanimationdesign,animationstatementsarebasedonindividualactionsstoredinXMLfiles.BystudyingthecharacteristicsofavarietyofXMLparser,considerthephone'smemoryandprocessorlimitations,adoptingPULL(pull)parserKXMLtoparsethedata,KXMLissmaller,fasterthanthefootprinttheDOM-basedparser.atlastprogrammingtoimplementtheanimationaction.KeywordsMobileGameDojai-applij2meXMLParser111.12006104.55561.520075[1]PC,1:23:internet[2]4Java2PCWAPWirelessApplicationProtocal3GJ2MESymbianBrewWindowsMobileDojaNTTDoCoMoi-mode2.5Gi-mode1999i-modeJAVAi-appli2001JAVAi-modeDojaDojaCLDCJ2MEAPIJ2MEMIDPMIDP1.02.0Dojai-appli1.21997InternetInternet“”[3]Informa20045.872007200438[4]Java32300[5]Java20031600200854312[6]34541.3Doja1DojaDojaDocomoi-modejavaDojaj2meCLDCAPIjava(JCP)DojaDojaMIDP2XMLXMLKXML3Doja4XML52DojaDojajavaDojaDojaMIDPXML2.1DOJADojaJ2ME(Configuration)(Profile)(Configuration)[7],;(Profile)[8],APIDojaCLDCDojaDoja2-12-1DojaDojai-appliJavaApplicationManageri-appliAPI(DojaAPI)CLDCAPIJava62-2[9]DojaKVMCLDCDojaAPI2.2DOJA1javajava(JavaVirtualMachine)JavaJVMJavaJava[10]javajavajavajavaj2eej2meJVMj2mej2meCVM(CVirtualMachine)KVM(KVirtualMachine)[11]CVMCDCKVMSunCLDCi-appliAPIi-appliAPIi-appliAPIi-appliAPICLDCAPIJavaJARStorageScratchPadJavaApplicationManager2-2i-appli7[12]JavaKVMCjava:(longnoatdouble)[13]2(Configuration)J2MEAPIconfigurationjavajava[14]j2meCDC(ConnectedDeviceConfiguration)(ConnectedLimitedDeviceConfiguration)CDCj2meapplicationCVMCLDCMIDletKVMCDCCLDCNokia7650Nokia3650PDA[15]CDCCLDCCDC132642java3,42MCLDC811632[16]234()5512KBCDCCLDCj2sejavax.microedition[17]CDCCLDCjava[15]java.iojava.langjava.utilCLDCCDC2-32-3CDCCLDCJ2SE3Doja(Profile)JavaCLDCProfileMobileInformationDeviceProfileMIDPInformationModuleProfileIMPCDCProfileFoundationProfile(FP)PersonalBasisProfile(PBP)PersonalProfile(PP)[18]MIDPPDAMIDLetMIDP[19]DojaCLDCMIDPDojaMIDP9DojaCLDCCLDCDocomoDoja2-12-1Dojacom.nttdocomo.devicecom.nttdocomo.device.felicafelicacom.nttdocomo.device.gesturereadercom.nttdocomo.device.locationGPScom.nttdocomo.fscom.nttdocomo.fs.sdSDMemoryCardcom.nttdocomo.ioCLDCGenericConnectionFrameworkcom.nttdocomo.langLanguagecom.nttdocomo.netcom.nttdocomo.securitycom.nttdocomo.systemcom.nttdocomo.uiapplicationcom.nttdocomo.ui.graphics3d3Dcom.nttdocomo.ui.graphics3d.collision3Dcom.nttdocomo.ui.oglOpenGL®ES1.1com.nttdocomo.ui.ogl.mathcom.nttdocomo.ui.sound3d3Dcom.nttdocomo.ui.util3d3D3Dcom.nttdocomo.util10DojaDoja5.0DojaDojaDocomoDojaDoja2-22-2DojaDoJahandsetsJavaCLDCJARDoJa-1.0503,2101,2002Series1.010/30kb10/30/50kbDoJa-2.x504,2051,2102,2701Series1.030kb100/200kbDoJa-3.0505,506Series1.030kb200kbDoJa-3.5900Series1.0100kb400kbDoJa-4.0LE700,701,702Series1.130kb200kbDoJa-4.0901Series1.1100kb400kbDoJa-4.1902Series1.1100kb400kbDoJa-5.0903Series1.11MBDoja3.02-32-3DojaDoja3.0com.nttdocomo.devicecom.nttdocomo.systemDoja4.0com.nttdocomo.ui.graphics3d,com.nttdocomo.ui.graphics3dcom.nttdocomo.ui.util3dDoja4.1com.nttdocomo.securityDoja5.0com.nttdocomo.ui.graphics3d.collision2.3DOJAMIDPDojaNTTDoCoMoi-modeJavaDojaMIDPJV-Lite2MIDPDojaDojaJ2MECLDCAPIAPIJavaCommunityProcessJCPDojaNTTDoCoMoGUIi-mode[20]DojaAPI11HTMLi-modeDojai-modei-modeJavaSunMicorsystemsJavaJ2MECLDCi-modei-modeJavai-modeHTTPi-modeJava[21-22]1Doja2DojaScratchPad3Dojai-melodyi-animeGIFJavaJAR4Dojai-modeJava5i-modeJavaJavaMIDP(MobileInformationDeviceProfile)Java(ApplicationProgrammer'sInterfaces(APIs))PDAJavaMIDPJ2MECLDCConfiguration2.0JavaAPIMIDPJavaMIDPAPICLDCMIDP1.0MIDP2.0API12MIDP1.02-42-4MIDP1.0javax.microedition.ioJ2MEI/OCLDCjavax.microedition.iojavax.microedition.lcduiJ2MEGUILCDLCDUIAPIjavax.microedition.rmsJ2MEjavax.microedition.midletjavax.microedition.midletMIDP2.02-52-5MIDP2.0javax

1 / 55
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功