| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width,initial-scale=1">
- <title>jMonkeyEngine SDK: Creating Projects :: jMonkeyEngine Docs</title>
- <link rel="canonical" href="https://wiki.jmonkeyengine.org/docs/sdk/project_creation.html">
- <meta name="keywords" content="documentation, project, deployment, sdk">
- <meta name="generator" content="Antora 2.3.3">
- <link rel="stylesheet" href="../../_/css/site.css">
- <meta property="og:image" content="https://wiki.jmonkeyengine.org/_/img/iconx128.png">
- <meta property="og:description" content="jMonkeyEngine SDK: Creating Projects">
- <meta property="og:title" content="jMonkeyEngine Docs">
- <link rel="stylesheet" href="../../_/css/site-extra.css">
- <link rel="icon" href="../../_/img/favicon.ico" type="image/x-icon">
- </head>
- <body class="article">
- <header class="header">
- <nav class="navbar">
- <div class="navbar-brand">
- <a class="navbar-item" href="https://wiki.jmonkeyengine.org">
- <img alt="" src="../../_/img/jMonkeyDocLogo.png" height="32" type="image/x-icon">
- </a>
- <div class="navbar-item hide-for-print">
- <input type="text" placeholder="Search docs..." id="search-input"/>
- </div>
- <button class="navbar-burger" data-target="topbar-nav">
- <span></span>
- <span></span>
- <span></span>
- </button>
- </div>
- <div id="topbar-nav" class="navbar-menu">
- <div class="navbar-end">
- <div class="navbar-item theme-switch-wrapper">
- <label class="theme-switch" for="checkbox">
- <input type="checkbox" id="checkbox" />
- <div class="slider round"></div>
- </label>
- </div>
- <a class="navbar-item" href="https://github.com/jmonkeyengine/wiki">Github</a>
- </div>
- </div>
- </nav>
- </header>
- <div class="body">
- <div class="nav-container" data-component="docs" data-version="master">
- <aside class="nav">
- <div class="panels">
- <div class="nav-panel-menu is-active" data-panel="menu">
- <nav class="nav-menu">
- <h3 class="title"><a href="../documentation.html">Docs</a></h3>
- <ul class="nav-list">
- <li class="nav-item" data-depth="0">
- <ul class="nav-list">
- <li class="nav-item" data-depth="1">
- <a class="nav-link" href="../documentation.html">Getting Started</a>
- </li>
- <li class="nav-item" data-depth="1">
- <a class="nav-link" href="https://javadoc.jmonkeyengine.org/v3.3.2-stable">JavaDoc</a>
- </li>
- <li class="nav-item" data-depth="1">
- <button class="nav-item-toggle"></button>
- <a class="nav-link" href="../jme3.html">jMonkeyEngine 3</a>
- <ul class="nav-list">
- <li class="nav-item" data-depth="2">
- <button class="nav-item-toggle"></button>
- <span class="nav-text">Beginner Tutorials</span>
- <ul class="nav-list">
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_simpleapplication.html">Hello SimpleApplication</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_node.html">Hello Node</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_asset.html">Hello Asset</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_main_event_loop.html">Hello Main Event Loop</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_input_system.html">Hello Input System</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_material.html">Hello Material</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_animation.html">Hello Animation</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_picking.html">Hello Picking</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_collision.html">Hello Collision</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_terrain.html">Hello Terrain</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_audio.html">Hello Audio</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_effects.html">Hello Effects</a>
- </li>
- <li class="nav-item" data-depth="3">
- <a class="nav-link" href="../jme3/beginner/hello_physics.html">Hello Physics</a>
- </li>
- </ul>
- </li>
- <li class="nav-item" data-depth="2">
- <button class="nav-item-toggle"></button>
- <span class="nav-text">Intermediate Tutorials</span>
- <ul class="nav-list">
- <li class="nav-item" data-depth="3">
- <button class="nav-item-toggle"></button>
- <span class="nav-text">Concepts</span>
- <ul class="nav-list">
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/intermediate/best_practices.html">Best Practices</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/intermediate/simpleapplication.html">Simple Application</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/features.html">Features</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/intermediate/optimization.html">Optimization</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/faq.html">FAQ</a>
- </li>
- </ul>
- </li>
- <li class="nav-item" data-depth="3">
- <button class="nav-item-toggle"></button>
- <span class="nav-text">Math Concepts</span>
- <ul class="nav-list">
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/math_for_dummies.html">Math For Dummies</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/intermediate/math.html">Math</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/math.html">More Math</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/rotate.html">Rotate</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/math_video_tutorials.html">Math Video Tutorials</a>
- </li>
- </ul>
- </li>
- <li class="nav-item" data-depth="3">
- <button class="nav-item-toggle"></button>
- <span class="nav-text">3D Graphics Concepts</span>
- <ul class="nav-list">
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/intermediate/multi-media_asset_pipeline.html">Multi-Media Asset Pipeline</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/scenegraph_for_dummies.html">Scenegraph for Dummies</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/beginner/hellovector.html">Hello Vector</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/terminology.html">Terminology</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/intermediate/how_to_use_materials.html">How to Use Materials</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/intermediate/transparency_sorting.html">Transparency and Sorting</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/external/blender.html">Importing from Blender</a>
- </li>
- <li class="nav-item" data-depth="4">
- <a class="nav-link" href="../jme3/external/3dsmax.html">Importing from 3DS Max</a>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- <li class="nav-item" data-depth="1">
- <a class="nav-link" href="../logo.html">Logo Usage</a>
- </li>
- <li class="nav-item" data-depth="1">
- <a class="nav-link" href="../bsd_license.html">License</a>
- </li>
- <li class="nav-item" data-depth="1">
- <a class="nav-link" href="../github_tips.html">Github Tips</a>
- </li>
- </ul>
- </li>
- <li class="nav-item" data-depth="0">
- <button class="nav-item-toggle"></button>
- <span class="nav-text">SDK</span>
- <ul class="nav-list">
- <li class="nav-item" data-depth="1">
- <a class="nav-link" href="../sdk.html">jMonkeyEngine SDK</a>
- </li>
- </ul>
- </li>
- </ul>
- </nav>
- </div>
- <div class="nav-panel-explore" data-panel="explore">
- <div class="context">
- <span class="title">Docs</span>
- <span class="version">master</span>
- </div>
- <ul class="components">
- <li class="component is-current">
- <span class="title">Docs</span>
- <ul class="versions">
- <li class="version is-current is-latest">
- <a href="../documentation.html">master</a>
- </li>
- </ul>
- </li>
- <li class="component">
- <span class="title">Wiki UI</span>
- <ul class="versions">
- <li class="version is-latest">
- <a href="../../wiki-ui/index.html">master</a>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- </aside>
- </div>
- <main class="article">
- <div class="toolbar" role="navigation">
- <button class="nav-toggle"></button>
- <nav class="breadcrumbs" aria-label="breadcrumbs">
- <ul>
- <li><a href="../documentation.html">Docs</a></li>
- <li><a href="project_creation.html">jMonkeyEngine SDK: Creating Projects</a></li>
- </ul>
- </nav>
- <div class="edit-this-page"><a href="https://github.com/jMonkeyEngine/wiki/edit/master/docs/modules/ROOT/pages/sdk/project_creation.adoc">Edit this Page</a></div>
- </div>
- <div class="content">
- <article class="doc">
- <h1 class="page">jMonkeyEngine SDK: Creating Projects</h1>
- <div id="preamble">
- <div class="sectionbody">
- <div class="paragraph">
- <p>The jMonkeyEngine SDK makes it easy to get started with developing 3-D games based on the jMonkeyEngine.</p>
- </div>
- </div>
- </div>
- <div class="sect1">
- <h2 id="creating-a-new-jmonkeyengine-project"><a class="anchor" href="#creating-a-new-jmonkeyengine-project"></a>Creating a New jMonkeyEngine Project</h2>
- <div class="sectionbody">
- <div class="olist arabic">
- <ol class="arabic">
- <li>
- <p>Choose <code><span class="menuseq"><b class="menu">File</b> <i class="fa fa-angle-right caret"></i> <b class="menuitem">New Project</b></span></code> from the main menu.</p>
- </li>
- <li>
- <p>In the New Project Wizard, select the template <code><span class="menuseq"><b class="menu">JME3</b> <i class="fa fa-angle-right caret"></i> <b class="menuitem">Basic Game</b></span></code>.</p>
- </li>
- <li>
- <p>Click next to specify a project name, and the path where to store your new project.</p>
- </li>
- <li>
- <p>Click Finish. A skeleton application is created and opens in the Project Explorer.</p>
- <div class="ulist">
- <ul>
- <li>
- <p>This basic jme3 application is based on the SimpleApplication class to allow an easy start with jme3.</p>
- </li>
- <li>
- <p>You can click the run button to run it: You will see a blue cube.</p>
- </li>
- </ul>
- </div>
- </li>
- </ol>
- </div>
- <div class="sect2">
- <h3 id="project-structure"><a class="anchor" href="#project-structure"></a>Project Structure</h3>
- <div class="imageblock text-center">
- <div class="content">
- <img src="../_images/sdk/jmonkeyplatform-docu-4.png" alt="jmonkeyplatform-docu-4.png" width="421" height="298">
- </div>
- </div>
- <div class="paragraph">
- <p>Let’s have a look at the abstract project structure in the Project Explorer. (<kbd>Ctrl</kbd>+<kbd>1</kbd>).</p>
- </div>
- <div class="ulist">
- <ul>
- <li>
- <p><strong>Project Assets node:</strong> These directories have been created for you to store your games assets, such as fonts, materials, models, shaders, sounds, and textures. For a newly created project, these directories are empty.</p>
- </li>
- <li>
- <p><strong>Source Packages node:</strong> This is where you manage your packages and classes. For a newly created project, it contains one package and one class, <code>Main.java</code>. Double click <code>Main.java</code> to open it in the editor.</p>
- </li>
- <li>
- <p><strong>Libraries node:</strong> An overview of all libraies on your game’s classpath. The classpath is already set-up for the jme3 framework (including LWJGL, Bullet, Nifty <abbr title="Graphical User Interface">GUI</abbr>, etc).</p>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect2">
- <h3 id="directory-structure"><a class="anchor" href="#directory-structure"></a>Directory Structure</h3>
- <div class="paragraph">
- <p>Now let’s have a look at the project’s file structure in the File Explorer (<kbd>Ctrl</kbd>+<kbd>2</kbd>). This explorer shows the physical directory structure on your hard drive.</p>
- </div>
- <div class="ulist">
- <ul>
- <li>
- <p><strong>assets</strong> – This directory corresponds to the Project Assets node. It is needed for the assetManager.</p>
- <div class="paragraph">
- <p>This is the recommended internal structure:</p>
- </div>
- <div class="ulist">
- <ul>
- <li>
- <p><code>assets/Interface</code></p>
- </li>
- <li>
- <p><code>assets/MatDefs</code></p>
- </li>
- <li>
- <p><code>assets/Materials</code></p>
- </li>
- <li>
- <p><code>assets/Models</code></p>
- </li>
- <li>
- <p><code>assets/Scenes</code></p>
- </li>
- <li>
- <p><code>assets/Shaders</code></p>
- </li>
- <li>
- <p><code>assets/Sounds</code></p>
- </li>
- <li>
- <p><code>assets/Textures</code></p>
- </li>
- </ul>
- </div>
- </li>
- <li>
- <p><strong>src</strong> – This directory corresponds to the Source Packages node. Your sources code goes here.</p>
- </li>
- <li>
- <p><strong>nbproject</strong> – This is meta data used by the jMonkeyEngine SDK (don’t edit).</p>
- </li>
- <li>
- <p><strong>build.xml</strong> – This is an Ant build script that is hooked up to the clean/build/run/test actions in the jMonkeyEngine SDK. It loads a default build script, and allows you to further customize the build process. The Ant script also assures that you are able to clean/build/run/test your application outside of the jMonkeyEngine SDK – e.g. from the command line.</p>
- </li>
- <li>
- <p><strong>build</strong> – This directory contains the compiled classes. (Will be generated by the jMonkeyEngine SDK when you build the project.)</p>
- </li>
- <li>
- <p><strong>dist</strong> – This directory contains the executable JAR files. (Will be generated by the jMonkeyEngine SDK when you build the project.)</p>
- </li>
- <li>
- <p><strong>test</strong> – The jMonkeyEngine SDK will store JUnit tests here if you create any. (Optional.)</p>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect2">
- <h3 id="project-configuration"><a class="anchor" href="#project-configuration"></a>Project Configuration</h3>
- <div class="paragraph">
- <p>[RMB] select the project and from the menu open the project <code>Properties</code>.</p>
- </div>
- <div class="ulist">
- <ul>
- <li>
- <p>In the <code>Run</code> section:</p>
- <div class="ulist">
- <ul>
- <li>
- <p>Specify the main class of your project. (Pressing <kbd>F6</kbd> runs this main class.)</p>
- </li>
- <li>
- <p>You can optionally configure JVM options and command line parameters. In most cases, set the <code>-Xms VMOption [NUMBER] m</code> for the memory usage.</p>
- <div class="ulist">
- <ul>
- <li>
- <p>For example (-Xms500m).</p>
- </li>
- <li>
- <p>see <a href="http://performance.netbeans.org/howto/jvmswitches/">http://performance.netbeans.org/howto/jvmswitches/</a>).</p>
- </li>
- </ul>
- </div>
- </li>
- </ul>
- </div>
- </li>
- <li>
- <p>In the Application section:</p>
- <div class="ulist">
- <ul>
- <li>
- <p>Specify the game title (by default the game will be named <code>BasicGame</code>).</p>
- </li>
- <li>
- <p>Specify the vendor name (your name), a short description, your project’s homepage, and a splash screen.</p>
- </li>
- </ul>
- </div>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect2">
- <h3 id="clean-build-and-run-cycle"><a class="anchor" href="#clean-build-and-run-cycle"></a>Clean, Build and Run Cycle</h3>
- <div class="imageblock text-center">
- <div class="content">
- <img src="../_images/sdk/jmonkeyplatform-docu-5.png" alt="jmonkeyplatform-docu-5.png" width="421" height="298">
- </div>
- </div>
- <div class="admonitionblock important">
- <table>
- <tr>
- <td class="icon">
- <i class="fa icon-important" title="Important"></i>
- </td>
- <td class="content">
- <div class="paragraph">
- <p>Pressing <strong><kbd>F6</kbd> builds & runs</strong> the <em>main</em> class of the <em>main project</em>. If there are several classes, or several projects, you have to specify which one you want <kbd>F6</kbd> to run. <b class="button">RMB</b> select a project and choose <code>Set As Main Project</code>, then <b class="button">RMB</b> select the project again and choose <code><span class="menuseq"><b class="menu">Properties</b> <i class="fa fa-angle-right caret"></i> <b class="menuitem">Run</b></span></code> and choose a Main Class.</p>
- </div>
- <div class="paragraph">
- <p>To build and run the main() of <em>any file that is open in the editor</em>, press <kbd>Shift</kbd>+<kbd>F6</kbd>!</p>
- </div>
- </td>
- </tr>
- </table>
- </div>
- <div class="ulist">
- <ul>
- <li>
- <p><b class="button">RMB</b> select the project and use the context-menu to clean all generated classes and JARs.</p>
- </li>
- <li>
- <p><b class="button">RMB</b> select individual files with a main method to build and run them. (<kbd>Shift</kbd>+<kbd>F6</kbd>)</p>
- </li>
- <li>
- <p>Press the <b class="button">Run</b> button (green arrow in the toolbar) to build and run the project. (<kbd>F6</kbd>)</p>
- </li>
- </ul>
- </div>
- <div class="paragraph">
- <p><strong>More than one project open?</strong> The toolbar buttons and the F-keys are bound to the main project, which is shown in bold in the Project Explorer. <b class="button">RMB</b> select a project and select <code>Set As Main Project</code> to make it respond to the toolbar buttons and F-keys.</p>
- </div>
- <div class="paragraph">
- <p><strong>Worried About Proprietary Lock-in?</strong> 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:</p>
- </div>
- <div class="listingblock">
- <div class="content">
- <pre class="highlightjs highlight"><code>ant clean; ant jar; ant run;</code></pre>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sect1">
- <h2 id="development-process"><a class="anchor" href="#development-process"></a>Development Process</h2>
- <div class="sectionbody">
- <div class="ulist">
- <ul>
- <li>
- <p><strong>Creating new files and packages:</strong> Select the Source Packages node (or any of its subnodes), and press <kbd>Ctrl</kbd>+<kbd>N</kbd> (<code><span class="menuseq"><b class="menu">File</b> <i class="fa fa-angle-right caret"></i> <b class="menuitem">New File</b></span></code>): Use the <code>New File</code> wizard to create new Java classes, Java packages, Java beans, Swing forms, JUnit files, j3m Materials, j3o scenes, j3f filters, and many more.</p>
- </li>
- <li>
- <p><strong>Editing files:</strong> Open the Projects Explorer and double-click a Java file from the Source Packages to open it in the Editor. The <a href="code_editor.html" class="page">jMonkeyEngine SDK Code Editor</a> assists you in many ways, including syntactic and semantic code coloring, code completion, and javadoc.</p>
- </li>
- <li>
- <p><strong>Adding Assets:</strong></p>
- <div class="ulist">
- <ul>
- <li>
- <p>You can <a href="model_loader_and_viewer.html" class="page">import models, scenes, and materials</a> as assets into your project.</p>
- </li>
- <li>
- <p>To add sound files and images, use your operating system’s file explorer and copy the files into your project’s asset directory.</p>
- </li>
- </ul>
- </div>
- </li>
- <li>
- <p><strong>ToDo List:</strong> The tasks window automatically lists all lines containing errors and warnings, and all lines that you have marked with the comment keywords</p>
- <div class="listingblock">
- <div class="content">
- <pre class="highlightjs highlight"><code class="language-html hljs" data-lang="html">FIXME</code></pre>
- </div>
- </div>
- <div class="paragraph">
- <p>, @todo, or TODO.</p>
- </div>
- </li>
- <li>
- <p><strong>Integrated tools:</strong> <a href="debugging_profiling_testing.html" class="page">Debugging, Testing, Profiling</a>.</p>
- </li>
- </ul>
- </div>
- <div class="sect2">
- <h3 id="adding-external-jar-libraries"><a class="anchor" href="#adding-external-jar-libraries"></a>Adding external jar libraries</h3>
- <div class="paragraph">
- <p>You may want to use external Java libraries in your jME project, for example content generators or artificial intelligence implementations.</p>
- </div>
- <div class="paragraph">
- <p>Add the library to the global library list:</p>
- </div>
- <div class="ulist">
- <ul>
- <li>
- <p>Select <span class="menuseq"><b class="menu">Tools</b> <i class="fa fa-angle-right caret"></i> <b class="menuitem">Libraries</b></span> in the main menu.</p>
- </li>
- <li>
- <p>Click “New Library”, enter a name for the library, and press <b class="button">OK</b>.</p>
- </li>
- <li>
- <p>In the “Classpath” tab, press “Add JAR/Folder” and select the jar file(s) needed for the library.</p>
- </li>
- <li>
- <p>(Optional) In the “JavaDoc” tab, press “Add ZIP/Folder” and select the javadoc for the library, as zip file or folder.</p>
- </li>
- <li>
- <p>(Optional) In the “Sources” tab you can select a folder or jar file containing the source files of the library.</p>
- </li>
- <li>
- <p>Press <b class="button">OK</b>.</p>
- </li>
- </ul>
- </div>
- <div class="paragraph">
- <p>Add the library to a project:</p>
- </div>
- <div class="ulist">
- <ul>
- <li>
- <p><b class="button">RMB</b> select your project and select “Properties”.</p>
- </li>
- <li>
- <p>Select “Libaries” on the left and then press “Add Library”.</p>
- </li>
- <li>
- <p>Select the library from the list and press <b class="button">OK</b>.</p>
- </li>
- </ul>
- </div>
- <div class="paragraph">
- <p>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 (<kbd>Ctrl</kbd>+<kbd>Space</kbd>) and source navigation (<kbd>Ctrl</kbd>+<b class="button">LMB</b> ).</p>
- </div>
- </div>
- <div class="sect2">
- <h3 id="application-deployment"><a class="anchor" href="#application-deployment"></a>Application Deployment</h3>
- <div class="ulist">
- <ul>
- <li>
- <p>You can <a href="application_deployment.html" class="page">deploy</a> your game as desktop application (JAR), browser applet, WebStart (JNLP), or on the Android platform.</p>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <div class="sect1">
- <h2 id="running-sample-projects"><a class="anchor" href="#running-sample-projects"></a>Running Sample Projects</h2>
- <div class="sectionbody">
- <div class="paragraph">
- <p>The SDK contains <a href="sample_code.html" class="page">Sample Code</a> (read more).</p>
- </div>
- <div class="paragraph">
- <p>Open the Source Packages node of the JmeTests project.</p>
- </div>
- <div class="ulist">
- <ul>
- <li>
- <p><b class="button">RMB</b> select the <code>JME3Tests</code> project and choose Run.<br>
- Choose samples from the TestChooser and try out the included demos.</p>
- </li>
- <li>
- <p>Browse a demo’s source code in the SDK’s Project window to learn how a feature is implemented and used.</p>
- </li>
- <li>
- <p>Feel free to modify the code samples and experiment! If you break something, you can always recreate the packaged samples from the <code>JME3 Tests</code> template.</p>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </article>
- <aside class="toc sidebar" data-title="Contents" data-levels="2">
- <div class="toc-menu"></div>
- </aside>
- </div>
- </main>
- </div>
- <footer class="footer">
- <p>Copyright 2020 jMonkeyEngine Wiki Contributors. Licensed BSD-3.</p>
- </footer>
- <script src="../../_/js/site.js"></script>
- <script async src="../../_/js/vendor/highlight.js"></script>
- </body>
- </html>
|