Font Size: a A A

Mobile Game Softwares Development Research

Posted on:2009-07-31Degree:MasterType:Thesis
Country:ChinaCandidate:F Q ZhangFull Text:PDF
GTID:2178360272476497Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years, along with handset's rapid popularization, the handset game already approached the general handsets to expend the community, the huge commercial attraction causes the numerous handset game content provider like mushroom growth rapid production. As an emerging game industry, the handset game procedure development's commercial value highlights day by day, the game procedure development technology also unceasingly moves toward maturely. This article mainly revolves the J2ME handset game to develop the platform to conduct the research to the present domestic handset game development present situation.The J2ME full title is Java 2 Platform Micro Edition is the Java 2 platform miniature versions. The Java 2 technologies mainly include the Java 2 platform standard editions at present (Java 2platform Standard Edition, J2SE), the Java 2 platform enterprise version (Java 2 platformEnterprise Edition, J2EE), the Java 2 platform miniature versions (Java 2 platform MicroEdition, J2ME) and the Java card platform. The J2ME edition main take expense class product and the embedded equipment as goals, including each kind of electronic products. The J2ME platform's architecture including the local operating system, the Java virtual machine, the disposition, the simple list,choosen package. Local operating system: Located at J2ME architecture lowest level, as a result of Java language cross platform characteristic, therefore the operating system may be Linux, Symbian, PalmOS and so on. Java virtual machine: Java virtual machine's realization which has custom-made in view of the equipment local operating system, supports the specific J2ME disposition. According to the function which needs to provide is different, at present mainly has two kind of virtual machines: Receives small embedded equipment design KVM which specially for the resources limits (Kilo VirtualMachine, KVM) and for performance relatively strong embedded equipment design CVM (CompactVirtual Machine, CVM). Disposition:To the massive software and hardware characteristic different embedded equipment, carries on the classification according to its outward appearance and the performance characteristic, set of standards which the extraction general character form calls it the disposition. Defines through the Java standard has two kind of dispositions: 1st, interconnection equipment disposition (Connected Device Configuration, CDC): Is strong for the handling ability, the memory space to be bigger, networking ability to be more splendid, and power source stable equipment design. 2nd, the connection is limited the equipment disposition (Connected Limited Device Configuration, CLDC): In order to have the equipment design which discontinual networking ability, the slow processor, the limited memory, the stable power source has not supplied. Simple list: Located at the disposition above, to move the environment to provide high-level API, the handset game develops the key application migration information equipment simple list (MIDP).In view of the fact that the present handset visits Internet only to be able (Wireless Application Protocol) the way to visit WML through WAP (Wireless Markup Language) the homepage, but is not the mainstream HTML homepage, also cannot demonstrate that the complex graph form, the J2ME technology's superiority can highlight. J2ME has the dynamic content transmission function, moreover is safe, the kind of document verification, define clearly's application procedure programming connection and the security module had guaranteed the second side application procedure's behavior is reliable, not creates the harm to the equipment or the network.Its standardized language module and the storehouse mean, because supports the restraint which the J2ME disposition and the description bring to cause the application and the content may between the different equipment transmit nimbly, the overlapping platform's compatibility is very strong. And does not use the activation network connections. This kind of characteristic reduced the transmission cost, reduced the influence which the possible network breakdown to bring. Finally, took one kind of function formidable modern object-oriented programming language, Java relatively current uses in the wireless software development the programming language and the tool has a more perfect abstract mechanism and the higher paraffin the procedure structure, this caused the application development to be more effective.Using the J2ME handset game platform design " the risk island " the game is designs based on classics game super Mary the game example. Game's concrete function may decompose into the following several modules: 1st, progress strip function. 2nd, lead: In the game may in play under family's control to complete the complete movement the role. 3rd, monster: In the game threatens the lead the turtle to appear, divides into two kinds: One kind to a direction movement, meets the obstacle to turn back, meets to map boundary vanishing; Another kind based on this back and forth goes on patrol. After turtle is stepped on by the role, becomes the tortoise shell, is impelled the tortoise shell which by the role and accelerates to move to have the lethality. If the monster quilt attacks is struck directly kills. 4th, map: After designating the background map, establishes the brick bat, the bateau-bridge as well as the static gold coin on the background map. 5th, trades the pass: The game is composed of two checkpoints. After the role enters some pass map's specific position, cuts the next checkpoint, continues to play. 6th, sound function: The game has two kind of sounds, one kind is the background music, one kind is the role and the stage prop has collision's sound. 7th, preserves and writes down the function. 8th, comes the registered telegraphic address to get up and to restore the processing function: When plays moves when the handset, if has time the telephone or the short note, the game can hang up normally, after treating plays the family to meet the telephone or replies the short note, the game may also normally restore. This game applies the J2ME handset game to develop the platform application several correlation techniques. Respectively is: 1st, rolls the screen technology. The game is rolls the screen through the role movement actuation map to realize the game. 2nd, in the game uses mainly to draw a chart API is Graphics kind of setClip and drawImage. The game main cartography class is the Canvas kind. 3rd, in the game the resources initialization and initializes. 4th, use thread drive type. 5th, progress strip technology. When writes down the resources the contact surface will present the stagnation, needs to write down the situation for the user prompt user resources. Progress strip's realization is based on the multi-thread thought that two thread same fortune trade resources write down when finished, the progress strip thread ends. 6th, key modulation and hot key technology. In the game the role movement needs to process the key modulation, assigns out the menu and the returns game in the game movement process may through define the hot key to complete. After the complete module completes the compilation, will carry on the translation, the pre-verification, the pack and so on several steps the work. 1st, translation. 2nd, the confusion ( elected). 3rd, pre-verification. 4th, packs and compiles the description document. 5th, installs the movement on the simulator or the handset. After the use data line, infrared, the blue tooth or use the OTA technology downloading installment, might move the game procedure on the handset.
Keywords/Search Tags:J2ME, MIDP, Mobile Game, Embedded System
PDF Full Text Request
Related items