| Mobile value-added business has been increasing quickly since it was introduced to the market. However, as an integral part of mobile value-added services, mobile phone network games has increased very slowly. With the beginning of China's 3G mobile phones, development technology of mobile terminal and the operating system for mobile phones, mobile gaming application environment will be greatly improved. Faster data transfer, larger memory capacity and stronger terminals expression to the cell phone gaming have given cell phone gaming unexpected market opportunities. The research and application of game engines for cell network will enable the online game development companies more fast and efficient to achieve their high-quality product development, and thus grasp the market opportunities.This thesis focuses on how to use the J2SE and J2ME technologies to achieve a cell phone network game development engine. First, through the mobile phone entertainment market, mobile phone operating system, mobile gaming and other aspects of user needs analysis, the engine, the technology selection and main functional modules are determined; based on J2SE and J2ME technology, the engine, the server-side and client-side technical architecture are designed. Meanwhile, this thesis also developed mobile phone network game engine server-side based on the JAVA NIO and develop client-side based on J2ME mobile phone network game engine technology. The core processes of the engine development such as network connection, map the scene, the characters actions, tasks and copy of the social systems, and gives solutions were analyzed.According to the characters of mobile gaming, the thesis used NIO technology to enhance server performance, used tasks of game scripting engine to shorten the development cycle, applied PNG compression technology to reduce the client-side memory requirements for mobile phones; the use of JAVA technology development ensure the development of games using the engine with excellent compatibility, which can be slightly modified to adapt to the mainstream mobile phones on the market.At present, the function of cross-platform and network performance for JAVA technology has been supported by the mainstream mobile phone in terms of operating system. Developing mobile phone network game engine based on the JAVA NIO technology replaces the traditional mobile phone network game engine block plus thread work via applying non-blocking communication. Therefore server performance has greatly improved and the performance of the game force has been greatly enhanced. As a result, it will bring the users a better playing experience. |