GUI is not showing up

  1. Is Nifty 1.3 fully integrated and functional in jME3?


  2. When I try the following code, nothing no GUI shows up in the screen:



    [xml]<?xml version="1.0" encoding="UTF-8"?>

    <nifty xmlns="http://nifty-gui.sourceforge.net/nifty.xsd"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://nifty-gui.sourceforge.net/nifty.xsd

    http://nifty-gui.sourceforge.net/nifty.xsd">

    <screen id="start" controller="mygame.Main">

    <layer id="layer" backgroundColor="#0000" childLayout="center">



    <panel style="nifty-panel-red" childLayout="center" width="30%" height="20%">



    </panel>



    </layer>

    </screen>

    </nifty>[/xml]


  3. When I try the following code :

    [xml] <text font="verdana-24-shadow.fnt" text="Hello World!"

    align="center" valign="center" />

    [/xml]



    It says the font is not found. Where should I put the font?



    there is no step by step guide for Nifty yet. :frowning:
  1. Yes it is
  2. The default template of jMP works
normen said:
1) Yes it is
2) The default template of jMP works


1. That means I should be able to create gui without going through any kind of XML code? And there is no documentation yet, to show me how to do it.

2. I was trying it while the game is running. Are they related?
I am try to show a simple popup type window which will appear for several seconds to show the objective and basic key configuration.

3. How I am going to handle the font issue.