Author: tony.mingyesming@126.com
Copyrights all reserve 2004.
Any suggestion or questions will be Thankful! Any suggestions and questions are very grateful!
At the same time, you are welcome to participate in this project, and anyone involved in this project will be or the final source code.
Version History Version Hitory ---------------------- V0.1 2004.10.26 Created The Base Idea.
Overview Overview: ---------------------- Friends developed by MIDP2.0 must feel very good to the Game class in MIDP2.0. However, there is no such class in MIDP1.0 so that we have done a lot of repetitions when developing games with MIDP1.0. According to the principle of code multiplexing, we can easily think of these common functions, modular words, and structure. MIDP2.0 did not give the source code of the GAME class, but he provided a better architecture to us, we can implement its own MIDP1.0.Game based on this architecture.
Analysis Analyzes: ----------------------- "Know yourself knowing the side can do not slap, then let's first look at the Game class in MIDP2.0. Structure Package Javax.microedition.lcdui.game The Game API Package Provides a Series of Classes That Enable The Development of Rich Gaming Content for Wireless Devices. Game class provides a set of classes to develop colorful game content for mobile devices .
Class Summary> Gamecanvas The Gamecanvas Class Provides The Basis for a Game User Interface. Gamecanvase class provides a basic game user interface. > Layer a Layer Is An Abstract Class Representing a Visual Element of a game. Layer is an abstract class that is used to describe a basic game visible unit. > LayerManager The LayerManager Manages A Series of Layers. LayerManager As the name is used to manage a group. > Sprite a sprite is a Basic Visual Element That Can Be Rendered WITH; DIFFERENT FRAMES Can Be Shown To Animate The Sprite. The Sprite Class is a basic visual unit (elf), it can be used There is a frame in an image to achieve animation rendering. > TileDlayer a TileDlayer Is A Visual Element Composed of a Grid of Cells That. Tiledlayer is a visual unit formed by a set of Tile images in the built-in grid.