|
|
@@ -19,13 +19,13 @@ After you have written and tested your game, you want to brand it and distribute
|
|
|
|
|
|
== Requirements
|
|
|
|
|
|
-Since JAR files are platform independent, your customers can play your jMonkeyEngine application on Windows, Mac +++<abbr title="Operating System">OS</abbr>+++, or Linux. The only requirement is that the user has the free Java 5 or 6 Runtime (or browser plugin) installed. For more information see link:http://java.com[http://java.com].
|
|
|
+Since JAR files are platform independent, your customers can play your jMonkeyEngine application on Windows, Mac +++<abbr title="Operating System">OS</abbr>+++, or Linux. The only requirement is that the user has the correct version of the free Java Runtime (or browser plugin) installed. For more information see link:http://java.com[http://java.com].
|
|
|
|
|
|
|
|
|
== Branding
|
|
|
|
|
|
|
|
|
-image::sdk/jmonkey-branding.png[jmonkey-branding.png,with="420",height="216",align="right"]
|
|
|
+image::sdk/jmonkey-branding.png[jmonkey-branding.png,width="420",height="216",align="right"]
|
|
|
|
|
|
Make your game unique and recognizable:
|
|
|
|
|
|
@@ -49,7 +49,7 @@ TODO: where does this info actually show up?
|
|
|
== Creating the Distributable
|
|
|
|
|
|
|
|
|
-image::sdk/deploy_android.png[deploy_android.png,with="335",height="220",align="right"]
|
|
|
+image::sdk/deploy_android.png[deploy_android.png,width="335",height="220",align="right"]
|
|
|
|
|
|
When you run the build script provided by the jMonkeyEngine SDK, it automatically compiles your classes, libraries, and assets. It creates a `dist` directory in your project directory which contains the executable JAR and a directory with libraries.
|
|
|
|
|
|
@@ -65,7 +65,9 @@ The JAR file is the most common deployment method for Java desktop applications.
|
|
|
. Right-click your project and open the Project Properties.
|
|
|
. In the Application>Web Start category, make sure the box “Enable Web Start is not checked. Click OK.
|
|
|
. Right-click your project and Clean and Build.
|
|
|
-. If the build succeeds you see a line similar to +`Building jar: /home/joe/jMonkeyPlatform/MySuperTestGame/dist/MySuperTestGame.jar` +this means the executable JAR has been generated successfully in your project directory.
|
|
|
+. If the build succeeds you see a line similar to +
|
|
|
+`Building jar: /home/joe/jMonkeyPlatform/MySuperTestGame/dist/MySuperTestGame.jar` +
|
|
|
+this means the executable JAR has been generated successfully in your project directory.
|
|
|
. Zip up the `dist` directory and distribute it to your users. Make sure to keep the `lib` directory in it!
|
|
|
|
|
|
Most operating systems execute a JAR when users double-click on it, but you can also create a launcher.
|
|
|
@@ -171,9 +173,11 @@ To remove unused libraries:
|
|
|
|
|
|
. Right-click your project and select “Properties
|
|
|
. Select “Libraries on the left
|
|
|
-. Select the “jme3-libraries entry and press “remove. +This library package contains *all* libraries for jME3 and is quite large.
|
|
|
+. Select the “jme3-libraries entry and press “remove. +
|
|
|
+This library package contains *all* libraries for jME3 and is quite large.
|
|
|
. Press the “Add Library button
|
|
|
. Select the “jme3-libraries-lwjgl-minimum library
|
|
|
-. Add other jME3 libraries in the same way depending which features you use: +jme3-libraries-gui, jme3-libraries-physics, jme3-libraries-video, etc.
|
|
|
+. Add other jME3 libraries in the same way depending which features you use: +
|
|
|
+jme3-libraries-gui, jme3-libraries-physics, jme3-libraries-video, etc.
|
|
|
. Click OK.
|
|
|
. Clean, Build and Run the project and make sure you have not missed anything.
|