Studio Wikiv0.8.7

Wiki / Getting started

Make your first game

Create a project, move the starter cube, preview it, and export a Java ME game.

Create a project

Open J2ME Studio and choose File → New Project…. Give your project a name and save its .j2meproj file in Documents. This file keeps your scenes, assets, and Java source together. Studio creates a starter scene with a camera and cube. Choose File → Open Project… to open it again later.

Press Ctrl+S to save to the same project file. Share that file to send someone an editable copy of the game. Build MIDlet… creates the JAR and JAD that run on a phone.

Already have a project folder? Choose File → Open Project Folder… to keep working in it. File → Save Project File As… makes a single-file copy and switches Studio to that copy. New Folder Project… creates a folder project from scratch.

Save, preview, and export

Select the cube in the Hierarchy, use Move in the Scene view, and drag a colored axis handle. Press Save. Click Play for the desktop preview. Click Build MIDlet… to export a phone game. Test MIDlet builds and opens the export in the FreeJ2ME-Plus emulator; Run Last Build opens the last export again without rebuilding. Close the emulator window when you are finished.

Desktop Play is the quickest way to try a change. Test MIDlet checks the packaged Java ME version. Building needs the supported phone tools described in Install the supported tools.