- SDK: update some manual pages

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8506 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 4154afeb7b
commit 49d07cc2ff
  1. 2
      sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/animation.html
  2. 2
      sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/loading_screen.html
  3. 5
      sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/beginner/hello_terrain.html
  4. 12
      sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/appsettings.html
  5. 4
      sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/best_practices.html
  6. 9
      sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/headlessserver.html
  7. 17
      sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/intermediate/simpleapplication.html

@ -321,7 +321,7 @@ This optional Listener enables you to respond to animation start and end events,
<p>
The onAnimCycleDone() event is invoked when an animation cycle has ended. For non-looping animations, this event is invoked when the animation is finished playing. For looping animations, this even is invoked each time the animation loop is restarted.
The onAnimCycleDone() event is invoked when an animation cycle has ended. For non-looping animations, this event is invoked when the animation is finished playing. For looping animations, this event is invoked each time the animation loop is restarted.
</p>
<p>

@ -9,7 +9,7 @@ There is a good tutorial about creating a nifty progress bar here:
</p>
<p>
This example will the existing hello terrain as an example.
This example will use the existing hello terrain as an example.
It will require these 2 images inside Assets/Interface/ (save them as border.png and inner.png respectively)
</p>

@ -102,8 +102,9 @@ public class HelloTerrain extends SimpleApplication &#123;
rootNode.attachChild&#40;terrain&#41;;
&nbsp;
/** 5. The LOD (level of detail) depends on were the camera is: */
TerrainLodControl control = new TerrainLodControl&#40;terrain, getCamera&#40;&#41;&#41;;
control.setLodCalculator&#40; new DistanceLodCalculator&#40;patchSize, 2.7f&#41; &#41;; // patch size, and a multiplier
List&lt;Camera&gt; cameras = new ArrayList&lt;Camera&gt;&#40;&#41;;
cameras.add&#40;getCamera&#40;&#41;&#41;;
TerrainLodControl control = new TerrainLodControl&#40;terrain, cameras&#41;;
terrain.addControl&#40;control&#41;;
&#125;
&#125;</pre>

@ -26,7 +26,7 @@ Every class that extends jme3.app.SimpleApplication has properties that can be c
&#125;</pre>
<p>
Set the boolean in the AppSettings contructor to true if you want to keep the default settings for everything that you do not specify. Set this parameter to false if you want to specify each property yourself (you&#039;ll get an exception if you missed one).
Set the boolean in the AppSettings contructor to true if you want to keep the default settings for everything that you do not specify. Set this parameter to false if you want to change some of the settings, but otherwise want the application to load user settings from previous launches.
</p>
<p>
@ -75,7 +75,7 @@ Depending on your graphic card, you may be able to set multisampling to higher v
Set to false to deactivate vertical syncing (faster, but possible page tearing artifacts); can be deactivated during development.</td><td>false</td>
</tr>
</table></div>
<!-- EDIT1 TABLE [1372-3122] --><div><table>
<!-- EDIT1 TABLE [1406-3156] --><div><table>
<tr>
<th>Settings Property (Input)</th><th>Description</th><th>Default</th>
</tr>
@ -86,7 +86,7 @@ Set to false to deactivate vertical syncing (faster, but possible page tearing a
<td>setUseJoysticks(true)</td><td>Activate optional joystick support</td><td>false</td>
</tr>
</table></div>
<!-- EDIT2 TABLE [3124-3413] --><div><table>
<!-- EDIT2 TABLE [3158-3447] --><div><table>
<tr>
<th>Settings Property (Audio)</th><th>Description</th><th>Default</th>
</tr>
@ -95,10 +95,10 @@ Set to false to deactivate vertical syncing (faster, but possible page tearing a
setAudioRenderer(AppSettings.LWJGL_JOAL)</td><td>Switch Audio Renderer</td><td>OpenAL</td>
</tr>
<tr>
<td>setStereo3D(true)</td><td>Enable 3D stereo. This feature requires hardware support from the GPU driver. See <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="http://en.wikipedia.org/wiki/Quad_buffering"><param name="text" value="<html><u>Quard Buffering</u></html>"><param name="textColor" value="blue"></object>.</td><td>false</td>
<td>setStereo3D(true)</td><td>Enable 3D stereo. This feature requires hardware support from the GPU driver. See <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="http://en.wikipedia.org/wiki/Quad_buffering"><param name="text" value="<html><u>Quad Buffering</u></html>"><param name="textColor" value="blue"></object>.</td><td>false</td>
</tr>
</table></div>
<!-- EDIT3 TABLE [3415-3753] --><div><table>
<!-- EDIT3 TABLE [3449-3786] --><div><table>
<tr>
<th>Settings Property (Branding)</th><th>Description</th><th>Default</th>
</tr>
@ -113,7 +113,7 @@ ImageIO.read(new File(&quot;&quot;)), …});</td><td>This specifies the little a
<td>setSettingsDialogImage(&quot;/path/to/splash.png&quot;)</td><td>A custom splashscreen image in the assets directory which is displayed when the settings dialog is shown.</td><td>&quot;/com/jme3/app/Monkey.png&quot;</td>
</tr>
</table></div>
<!-- EDIT4 TABLE [3755-4402] -->
<!-- EDIT4 TABLE [3788-4435] -->
</div>
<h2><a>Saving and Loading Settings</a></h2>

@ -406,7 +406,7 @@ Whether you work in a team or alone, keeping a version controlled repository of
<ul>
<li><div> If you don&#039;t know which to choose, Subversion is a good choice for starters.</div>
</li>
<li><div> You can get free project hosting space from various open-source dev portals like <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="http://sourceforge.net/"><param name="text" value="<html><u>Sourceforge</u></html>"><param name="textColor" value="blue"></object>, <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="https://github.com/"><param name="text" value="<html><u>Github</u></html>"><param name="textColor" value="blue"></object>, <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="https://bitbucket.org/"><param name="text" value="<html><u>bitbucket</u></html>"><param name="textColor" value="blue"></object>, <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="http://home.java.net/create-project"><param name="text" value="<html><u>Java.net</u></html>"><param name="textColor" value="blue"></object>, or <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="https://code.google.com"><param name="text" value="<html><u>Google Code</u></html>"><param name="textColor" value="blue"></object>. <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="https://bitbucket.org/"><param name="text" value="<html><u>Bitbucket</u></html>"><param name="textColor" value="blue"></object> support private projects.</div>
<li><div> You can get free project hosting space from various open-source dev portals like <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="http://sourceforge.net/"><param name="text" value="<html><u>Sourceforge</u></html>"><param name="textColor" value="blue"></object>, <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="https://github.com/"><param name="text" value="<html><u>Github</u></html>"><param name="textColor" value="blue"></object>, <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="https://bitbucket.org/"><param name="text" value="<html><u>bitbucket</u></html>"><param name="textColor" value="blue"></object>, <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="http://home.java.net/create-project"><param name="text" value="<html><u>Java.net</u></html>"><param name="textColor" value="blue"></object>, or <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="https://code.google.com"><param name="text" value="<html><u>Google Code</u></html>"><param name="textColor" value="blue"></object>. <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"><param name="content" value="https://bitbucket.org/"><param name="text" value="<html><u>Bitbucket</u></html>"><param name="textColor" value="blue"></object> supports private projects.</div>
</li>
</ul>
</li>
@ -549,7 +549,7 @@ The jMonkeyPlatform <a href="/com/jme3/gde/core/docs/sdk.html">SDK</a> helps you
(.APK)</td><td>Game runs on Android devices</td><td>Android devices do not support post-procesor effects.</td>
</tr>
</table></div>
<!-- EDIT1 TABLE [18895-20112] -->
<!-- EDIT1 TABLE [18896-20113] -->
<p>
Which ever method you choose, a Java-Application works on the main operating systems: Windows, Mac <acronym title="Operating System">OS</acronym>, Linux, Android.

@ -39,6 +39,7 @@
<link rel='stylesheet' id='bp-post-buttons-css-css' href='http://jmonkeyengine.org/wp-content/plugins/bp-post-buttons/include/style/bp_post_buttons.css?ver=3.2.1' type='text/css' media='all' />
<link rel='stylesheet' id='bubbleSheets-css' href='http://jmonkeyengine.org/wp-content/plugins/cd-bp-avatar-bubble/_inc/css/css3/bubble-green.css?ver=3.2.1' type='text/css' media='all' />
<link rel='stylesheet' id='wp_dlmp_styles-css' href='http://jmonkeyengine.org/wp-content/plugins/download-monitor/page-addon/styles.css?ver=3.2.1' type='text/css' media='all' />
<link rel='stylesheet' id='really_simple_share_style-css' href='http://jmonkeyengine.org/wp-content/plugins/really-simple-facebook-twitter-share-buttons/style.css?ver=3.2.1' type='text/css' media='all' />
<link rel='stylesheet' id='bp-default-main-css' href='http://jmonkeyengine.org/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/default.css?ver=20110921' type='text/css' media='all' />
<link rel='stylesheet' id='bp-jme-1.5-css' href='http://jmonkeyengine.org/wp-content/themes/bp-jme-1.5/style.css?ver=20110921' type='text/css' media='all' />
<link rel='stylesheet' id='bp-default-responsive-css' href='http://jmonkeyengine.org/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/responsive.css?ver=20110921' type='text/css' media='all' />
@ -53,6 +54,8 @@
<script type='text/javascript' src='http://jmonkeyengine.org/wp-content/plugins/bp-group-control/js/screen.js?ver=3.2.1'></script>
<script type='text/javascript' src='http://jmonkeyengine.org/wp-content/plugins/bp-post-buttons/include/js/insert_tags.js?ver=3.2.1'></script>
<script type='text/javascript' src='http://jmonkeyengine.org/wp-content/plugins/buddypress-group-tags/group-tags.js?ver=3.2.1'></script>
<script type='text/javascript' src='http://apis.google.com/js/plusone.js?ver=3.2.1'></script>
<script type='text/javascript' src='http://platform.twitter.com/widgets.js?ver=3.2.1'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var BP_DTheme = {
@ -147,7 +150,7 @@ var NS='jme3:intermediate';var JSINFO = {"id":"jme3:intermediate:headlessserver"
<select><option value="wiki">Wiki</option><option value="forums">Forums</option><option value="posts">Blog</option><option value="groups">Groups</option><option value="links">Links</option></select>
<input type="submit" name="search-submit" id="search-submit" value="Search" />
<input type="hidden" id="_wpnonce" name="_wpnonce" value="8539ed8aa9" /><input type="hidden" name="_wp_http_referer" value="/com/jme3/gde/core/docs/jme3/intermediate/headlessserver.html" />
<input type="hidden" id="_wpnonce" name="_wpnonce" value="36fa0bcde6" /><input type="hidden" name="_wp_http_referer" value="/com/jme3/gde/core/docs/jme3/intermediate/headlessserver.html" />
</form><!-- #search-form -->
@ -302,7 +305,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
<div>
<form><div><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="submit" value="Show pagesource" class="button" accesskey="v" title="Show pagesource [V]" /></div></form> <form><div><input type="hidden" name="do" value="revisions" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div>
<form><div><input type="hidden" name="do" value="login" /><input type="hidden" name="sectok" value="accf77e7e66593d3a3e1cc89491ccde3" /><input type="submit" value="Login" class="button" title="Login" /></div></form> <form><div><input type="hidden" name="do" value="index" /><input type="submit" value="Sitemap" class="button" accesskey="x" title="Sitemap [X]" /></div></form> <a><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a>&nbsp;
<form><div><input type="hidden" name="do" value="login" /><input type="hidden" name="sectok" value="2ff9e38af20f0157885253273063af54" /><input type="submit" value="Login" class="button" title="Login" /></div></form> <form><div><input type="hidden" name="do" value="index" /><input type="submit" value="Sitemap" class="button" accesskey="x" title="Sitemap [X]" /></div></form> <a><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a>&nbsp;
</div>
<div></div>
</div-->
@ -353,7 +356,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
<script type='text/javascript' src='http://jmonkeyengine.org/wp-includes/js/jquery/ui.position.js?ver=1.8.12'></script>
<script type='text/javascript' src='http://jmonkeyengine.org/wp-includes/js/jquery/ui.dialog.js?ver=1.8.12'></script>
<!-- Generated in 0.334 seconds. (73 q) -->
<!-- Generated in 0.292 seconds. (73 q) -->
<div>
<div></div>

@ -147,11 +147,6 @@ getGuiViewPort()</td><td>The view object for the orthogonal <acronym title="Grap
</tr>
</table></div>
<!-- EDIT3 TABLE [4097-5293] -->
<p>
See also: <a href="/com/jme3/gde/core/docs/jme3/intermediate/appsettings.html">AppSettings</a>
</p>
</div>
<h2><a>SimpleApplication Class</a></h2>
@ -192,7 +187,7 @@ getGuiNode()</td><td>Attach flat <acronym title="Graphical User Interface">GUI</
getFlyByCamera()</td><td>The default first-person fly-by camera control. This default camera control lets you navigate the 3D scene using the preconfigured WASD and arrow keys and the mouse.</td>
</tr>
</table></div>
<!-- EDIT4 TABLE [5889-6432] --><div><table>
<!-- EDIT4 TABLE [5862-6405] --><div><table>
<tr>
<th>SimpleApplication Method</th><th>Purpose</th>
</tr>
@ -209,7 +204,7 @@ getFlyByCamera()</td><td>The default first-person fly-by camera control. This de
<td>setDisplayStatView(false);</td><td>A default SimpleApplication displays mesh statistics on the screen using the com.jme3.app.StatsView class. The information is valuable during the development and debugging phase, but for the release, you should hide the statistics HUD.</td>
</tr>
</table></div>
<!-- EDIT5 TABLE [6434-7226] --><div><table>
<!-- EDIT5 TABLE [6407-7199] --><div><table>
<tr>
<th>SimpleApplication Interface</th><th>Purpose</th>
</tr>
@ -223,10 +218,10 @@ getFlyByCamera()</td><td>The default first-person fly-by camera control. This de
<td>public void simpleRender(RenderManager rm)</td><td><strong>Optional:</strong> Override this method to implement <em>advanced</em> modifications of the frameBuffer and scene graph.</td>
</tr>
</table></div>
<!-- EDIT6 TABLE [7228-8146] -->
<!-- EDIT6 TABLE [7201-8119] -->
<p>
<p><div>Use <code>app.setShowSettings(true);</code> to present the user with a splashscreen and display settings dialog when starting the game, or <code>app.setShowSettings(false);</code> to hide the custom splashscreen. Set this boolean before calling <code>app.start()</code> on the SimpleApplication.
<p><div>Use <code>app.setShowSettings(true);</code> to present the user with a splashscreen and the built-in display settings dialog when starting the game; or use <code>app.setShowSettings(false);</code> to hide the buil-in screen (in this case, you may want to provide a custom splashscreen and settings panel). Set this boolean before calling <code>app.start()</code> in the <code>main()</code> method of the SimpleApplication. See also <a href="/com/jme3/gde/core/docs/jme3/intermediate/appsettings.html">AppSettings</a>.
</div></p>
</p>
@ -254,7 +249,7 @@ The following default navigational input actions are mapped by the default <code
<td>KEY_M</td><td>Prints memory usage stats the out stream.</td>
</tr>
</table></div>
<!-- EDIT7 TABLE [8705-8896] -->
<!-- EDIT7 TABLE [8822-9013] -->
<p>
As long as useInput() is true, the default Flyby Cam is active. Then the following so-called &quot;WASD&quot; inputs are additionally available:
@ -304,7 +299,7 @@ As long as useInput() is true, the default Flyby Cam is active. Then the followi
<td>Rotate drag</td><td>Hold left mouse button and move</td>
</tr>
</table></div>
<!-- EDIT8 TABLE [9034-9594] --><div><span>
<!-- EDIT8 TABLE [9151-9711] --><div><span>
<a href="/wiki/doku.php/tag:display?do=showtag&amp;tag=tag%3Adisplay">display</a>,
<a href="/wiki/doku.php/tag:basegame?do=showtag&amp;tag=tag%3Abasegame">basegame</a>,
<a href="/wiki/doku.php/tag:documentation?do=showtag&amp;tag=tag%3Adocumentation">documentation</a>,

Loading…
Cancel
Save