|
@@ -1,6 +1,6 @@
|
|
|
= jMonkeyEngine SDK: Creating Projects
|
|
|
-:author:
|
|
|
-:revnumber:
|
|
|
+:author:
|
|
|
+:revnumber:
|
|
|
:revdate: 2016/03/17 20:48
|
|
|
:keywords: documentation, project, deployment, sdk
|
|
|
:relfileprefix: ../
|
|
@@ -66,17 +66,17 @@ In the Application section, specify the game title (by default the game will be
|
|
|
In the Application section, specify the vendor name (your name), a short description, your project's homepage, and a splash screen.
|
|
|
|
|
|
|
|
|
-==== Project Configuration
|
|
|
+=== Project Configuration
|
|
|
|
|
|
Right-Click the project to open the Project properties.
|
|
|
|
|
|
-* In the Run section, specify the main class of your project. (Pressing F6 runs this main class.)
|
|
|
+* In the Run section, specify the main class of your project. (Pressing F6 runs this main class.)
|
|
|
* In the Run section, you can optionally configure JVM options and command line parameters.
|
|
|
* In the Application section, specify the game title (by default the game will be named `BasicGame`).
|
|
|
* In the Application section, specify the vendor name (your name), a short description, your project's homepage, and a splash screen.
|
|
|
|
|
|
|
|
|
-==== Clean, Build and Run Cycle
|
|
|
+=== Clean, Build and Run Cycle
|
|
|
|
|
|
|
|
|
image::sdk/jmonkeyplatform-docu-5.png[jmonkeyplatform-docu-5.png,width="421",height="298",align="right"]
|
|
@@ -92,11 +92,11 @@ To build and run the main() of _any file that is open in the editor_, press *Shi
|
|
|
|
|
|
* Right-Click the project and use the context-menu to clean all generated classes and JARs.
|
|
|
* Right-Click individual files with a main method to build and run them. (Shift-F6)
|
|
|
-* Press the Run button (green arrow in the toolbar) to build and run the project. (F6)
|
|
|
+* Press the Run button (green arrow in the toolbar) to build and run the project. (F6)
|
|
|
|
|
|
*More than one project open?* The toolbar buttons and the F-keys are bound to the main project, which is shown in bold in the Project Explorer. Right-click a project and select Set As Main Project to make it respond to the toolbar buttons and F-keys.
|
|
|
|
|
|
-*Worried About Proprietary Lock-in?* You are never locked into the jMonkeyEngine SDK: At any time, you can change into your project directory on the command line, and clean, build, and run your project, using non-proprietary Apache Ant commands:
|
|
|
+*Worried About Proprietary Lock-in?* You are never locked into the jMonkeyEngine SDK: At any time, you can change into your project directory on the command line, and clean, build, and run your project, using non-proprietary Apache Ant commands:
|
|
|
|
|
|
[source]
|
|
|
----
|
|
@@ -104,10 +104,10 @@ ant clean; ant jar; ant run;
|
|
|
----
|
|
|
|
|
|
|
|
|
-==== Development Process
|
|
|
+== Development Process
|
|
|
|
|
|
* *Creating new files and packages:* Select the Source Packages node (or any of its subnodes), and press ctrl-N (File→New File): Use the New File wizard to create new Java classes, Java packages, Java beans, Swing forms, JUnit files, j3m Materials, j3o scenes, j3f filters, and many more.
|
|
|
-* *Editing files:* Open the Projects Explorer and double-click a Java file from the Source Packages to open it in the Editor. The <<sdk/code_editor#,jMonkeyEngine SDK Code Editor>> assists you in many ways, including syntactic and semantic code coloring, code completion, and javadoc.
|
|
|
+* *Editing files:* Open the Projects Explorer and double-click a Java file from the Source Packages to open it in the Editor. The <<sdk/code_editor#,jMonkeyEngine SDK Code Editor>> assists you in many ways, including syntactic and semantic code coloring, code completion, and javadoc.
|
|
|
* *Adding Assets:*
|
|
|
** You can <<sdk/model_loader_and_viewer#,import models, scenes, and materials>> as assets into your project.
|
|
|
** To add sound files and images, use your operating system's file explorer and copy the files into your project's asset directory.
|
|
@@ -123,7 +123,7 @@ FIXME
|
|
|
* *Integrated tools:* <<sdk/debugging_profiling_testing#,Debugging, Testing, Profiling>>.
|
|
|
|
|
|
|
|
|
-==== Adding external jar libraries
|
|
|
+=== Adding external jar libraries
|
|
|
|
|
|
You may want to use external Java libraries in your jME project, for example content generators or artificial intelligence implementations.
|
|
|
|
|
@@ -145,7 +145,7 @@ Add the library to a project:
|
|
|
That's it, your project can now use the external library. If you also linked the javadoc and sources, the SDK will assist you with javadoc popups, code completion (ctrl-space) and source navigation (ctrl-click).
|
|
|
|
|
|
|
|
|
-==== Application Deployment
|
|
|
+=== Application Deployment
|
|
|
|
|
|
* You can <<sdk/application_deployment#,deploy>> your game as desktop application (JAR), browser applet, WebStart (JNLP), or on the Android platform.
|
|
|
|