If have login problems remove cookies and clear browser cache.
Thread Rating:
- 0 Vote(s) - 0 Average
- 1
- 2
- 3
- 4
- 5
[TUTORIAL] How to setup your first game from a template in J2ME SDK Mobile
|
05-02-2021, 06:47 AM
(This post was last modified: 06-20-2021 05:19 AM by JoseskVolpe.)
|
|
[TUTORIAL] How to setup your first game from a template in J2ME SDK Mobile
Video
Needed:
Steps
Extracting it
- Install all the applications, and open J2ME SDK Mobile then close it (so it will create the j2mesdkprojects directory)
- Download Game base.zip to the "j2mesdkprojects" directory
- Open Centurion, go to the "j2mesdkprojects" directory, and extract "Game base.zip" (Center click on it, then "yes")
- Open Game base directory, then rename "Game base" directory inside it to your project's name
- Move your project's directory to j2mesdkprojects
- Remove the old "Game base" directory
- Close Centurion
Modifying project.properties
Now that you have extracted the game template, you'll still need to change its properties manually to make it recognizable by the SDK after you renamed it
-
- Open Text Editor app
- Go to "Open" > "j2mesdkprojects" directory location > Your project's directory > nbproject > click "project.properties"
- It will ask for the file encoding format, select "UTF-8"
- Go to the first line and click to edit
- Now you will need to change 3 properties to your project's name, pay attention because it needs sto be exactly the same name you gave to your project's directory:
For example, if i renamed my project's directory to "yiff", i would need to modify these properties as this:
- name=yiff
- dist.jad=yiff.jad
- dist.jar=yiff.jar
- Select the return soft key and select "Save" > "UTF-8"
- Select the return soft key again > Close > Exit
Openning in the J2ME SDK Mobile
- You're almost done, now you should open J2ME SDK Mobile app
- On the top menu, go to "Open Project..." > Select your project (search for the j2mesdkprojects if it doesn't appear)
- On the Source Packages, you're going to see your packages and Java files now appear on the list, but you're not done yet
- click Left soft button (it may be Right soft button on your device) > Project Properties > Verify if everything is correct
- On "Application Descriptor" > Attributes, you'll probably want to change the "MIDlet-Name" attribute. That's your game's name. You don't need to set it to the same project's directory name, but change it to your game's name
- You would like to change "MIDlet-Vendor" attribute to your name aswell
- ¡Now you're good to go, have fun! :3
[size=xx-small]Signature[/size]
[URL=https://www.exophase.com/user/JoseskVolpe/][IMG]https://card.exophase.com/2/0/45687.png?1612237163[/IMG][/URL]
[align=justify][size=x-small][b]OwO ¿¿¿What is this??? *wags tail*
Take my beret plz 7w7 ~[/b][/size][/align]
|
|
Messages In This Thread |
[TUTORIAL] How to setup your first game from a template in J2ME SDK Mobile - JoseskVolpe - 05-02-2021 06:47 AM
|
User(s) browsing this thread: 2 Guest(s)