mitm001 il y a 5 ans
Parent
commit
956eaa54df

+ 2 - 2
docs/modules/core/pages/app/update_loop.adoc

@@ -4,7 +4,7 @@
 :keywords: basegame, control, input, init, keyinput, loop, states, state
 
 
-Extending your application from xref:jme3/intermediate/simpleapplication.adoc[com.jme3.app.SimpleApplication] provides you with an update loop. This is where you implement your game logic (game mechanics).
+Extending your application from xref:app/simpleapplication.adoc[com.jme3.app.SimpleApplication] provides you with an update loop. This is where you implement your game logic (game mechanics).
 
 Some usage examples: Here you remote-control NPCs (computer controlled characters), generate game events, and respond to user input.
 
@@ -31,7 +31,7 @@ The jME window closes and the loop ends.
 
 == Usage
 
-In a trivial xref:jme3/intermediate/simpleapplication.adoc[SimpleApplication] (such as a xref:tutorials:beginner/beginner.adoc[Hello World tutorial]), all code is either in the `simpleInitApp()` (initialization) or `simpleUpdate()` (behaviour) method – or in a helper method/class that is called from one of these two. This trivial approach will make your main class very long, hard to read, and hard to maintain. You don't need to load the whole scene at once, and you don't need to run all conditionals tests all the time.
+In a trivial xref:app/simpleapplication.adoc[SimpleApplication] (such as a xref:tutorials:beginner/beginner.adoc[Hello World tutorial]), all code is either in the `simpleInitApp()` (initialization) or `simpleUpdate()` (behaviour) method – or in a helper method/class that is called from one of these two. This trivial approach will make your main class very long, hard to read, and hard to maintain. You don't need to load the whole scene at once, and you don't need to run all conditionals tests all the time.
 
 It's a best practice to modularize your game mechanics and spread out initialization and update loop code over several Java objects:
 

+ 4 - 9
docs/modules/core/pages/system/appsettings.adoc

@@ -1,11 +1,6 @@
 = jME3 Application Display Settings
-:author:
-:revnumber:
-:revdate: 2016/03/17 20:48
-:relfileprefix: ../../
-:imagesdir: ../..
-:experimental:
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
+:revnumber: 2.0
+:revdate: 2020/07/25
 
 
 Every class that extends jme3.app.SimpleApplication has properties that can be configured by customizing a `com.jme3.system.AppSettings` object.
@@ -16,7 +11,7 @@ Every class that extends jme3.app.SimpleApplication has properties that can be c
 Configure application settings in `main()`, before you call `app.start()` on the application object. If you change display settings during runtime, for example in `simpleInitApp()`, you must call `app.restart()` to make them take effect.
 ====
 
-*Note:* Other runtime settings are covered in <<jme3/intermediate/simpleapplication#,SimpleApplication>>.
+*Note:* Other runtime settings are covered in xref:app/simpleapplication.adoc[SimpleApplication].
 
 
 == Code Samples
@@ -126,7 +121,7 @@ a|24
 a|setGammaCorrection(true)
 a|Enables Gamma Correction. +
 If you’re starting a new project, use it, period. And don’t allow the player to turn it off. +
-See <<jme3/advanced/jme3_srgbpipeline#,Gamma Correction or sRGB pipeline>>
+See xref:system/jme3_srgbpipeline.adoc[Gamma Correction or sRGB pipeline]
 a|false
 
 |===