Mophun & J2ME game development tour (-)

xiaoxiao2021-03-06  100

Mophun is a mobile game platform I have been in an accident, slowly start learning her, because she does not say a temptation. If you have any prejudice to her, it is not my business. Contact She is a survey of mobile platforms abroad, far more than 50% of people think that J2ME is more attractive, although mochun is less than 10%, it seems to be more than Brew, very strange. You can get

Www.mophun.com Learn more about her knowledge.

I'm here

Search for half a day in www.baidu.com, introducing Mophun's Chinese data and development documents basically. This is also the background I wrote this article. Although I haven't worked yet, I have J2ME and Mophun's game development and learning experience. You think this is not enough, it doesn't matter, as long as this is a saying that you think useful, I will satisfy.

Mophun can develop C / C , J2ME, you should know, pure Java development. I can compare Mophun and J2ME can also separate Mophun and J2ME alone, since it is blog, I can do whatever you want.

If you understand C / C , you will feel that Mophun is the most difficult thing to get the entry phase. I learned 3 Java to get started, and I learned that Mophun seems to be a Boss's fold on 3 times, it is not a teacher.

! Purely read English documents. Java also has Chinese books, Mophun is I am

Www.mophun.com's developer Area is completely self-study. If I enable you to get started again, I am very happy, I hope I can do it. Let's see the steps to develop Mophun, starting from the beginning:

(1) Download SDK: www.mophun.com -> Develop Zone -> Registering Account -> Develop Area -> Download Link Download the latest SDK and install

(2) Open VC 6.0 or vs.net, they have a bit similar. Create a Makefile project. Suppose you have created a new name MYGAME. Next, in the Makefile Application Wizard -myGame dialog, build Command line Add NMAKE, add: MyGame.mpn in the Output column, write Makefile can start programming.

Simple example 2dvedio provided by Mophun as a guide, I will tell the Makefiel settings in detail:

# *************************************** ## name: makefile # Project: Mophun Tutorials # Date: 2002-04-05 # by: Johan Andersen # # (c) Synergenix AB # # ********************************** ****************

# ************************************************** # Flags # ***** ********************************** CFLAGS = -O2 -wall -fvstudio

# **************************************** # Objektfiles # ***** ******************************************** OBJS = Res. 2DVideo.o

All: 2DVideo.mpn

# **************************************** # resource # ***** ******************************************* Res.: res.txt morc -v res.txt

# *************************************** # compiler # ***** *******************************************. CO: PIP-GCC -C $ (cflags) -o $ @ <# ****************************** # linker # * ************************************************ 2DVideo.mpn: $ (objs) PIP- GCC -O $ @ $ (objs) -mstack = 1024 -mdata = 10000-LDATACERT -S

Explanation: # -> Comment CFLAGS = -O2 -wall -fvstudio should be the parameter of the compiler can ignore things we pay attention to:

转载请注明原文地址:https://www.9cbs.com/read-104006.html

New Post(0)