|
@@ -98,7 +98,7 @@ The following minimal XML file contains a start screen and a HUD screen. (Neithe
|
|
|
|
|
|
Every Nifty +++<abbr title="Graphical User Interface">GUI</abbr>+++ must have a start screen. The others (in this example, the HUD screen) are optional.
|
|
Every Nifty +++<abbr title="Graphical User Interface">GUI</abbr>+++ must have a start screen. The others (in this example, the HUD screen) are optional.
|
|
|
|
|
|
-See: <<jme3/advanced/nifty_gui_overlay#,Nifty Gui Overlay>> to view your document as we progress through this tutorial.
|
|
|
|
|
|
+See: <<jme3/advanced/nifty_gui_overlay#,Nifty Gui Overlay>> on how to setup your game to display your GUI.
|
|
|
|
|
|
NOTE: In the following examples, the XML schema header is abbreviated to just `<nifty>`.
|
|
NOTE: In the following examples, the XML schema header is abbreviated to just `<nifty>`.
|
|
|
|
|
|
@@ -199,7 +199,7 @@ See also link:https://versaweb.dl.sourceforge.net/project/nifty-gui/nifty-gui/1.
|
|
=== Add Images
|
|
=== Add Images
|
|
|
|
|
|
The
|
|
The
|
|
-<<../images/jme3/advanced/start-background.png#,start-background.png>> image is a fullscreen background picture. Add it to `Interface`. In the `start` screen, add the following image element:
|
|
|
|
|
|
+<<../images/jme3/advanced/start-background.png,start-background.png>> image is a fullscreen background picture. Add it to `Interface`. In the `start` screen, add the following image element:
|
|
|
|
|
|
[source,xml]
|
|
[source,xml]
|
|
----
|
|
----
|