I’m new to this forum and I just discovered the JMonkey Engine and Nifty.
I’m triying to port my project which originally used
- Java3D for 3D scene
- Swing for GUI
to a solution with
- JMonkeyEngine for 3D scene
- Nifty for GUI
With JMonkeyEngine tutorials, I think I will be able to manage the 3D scene part ( at least I hope 0
But for Nifty… I’ve retrieved the HelloWorld.xml and tried to do the tutorial.
… After a couple of tries, It nearly worked but …
There is an issue with :
<text font=“verdana-24-shadow.fnt” text=“Hello World!” align=“center” valign=“center” />
When running my program, a warning occurs :
WARNING: Cannot locate resource: verdana-24-shadow.fnt
And after that
When I reading the wiki, I haven't seen how to store / locate fonts.
I tried the code :
assetManager.registerLocator( "data/polices/", FileLocator.class );
But it doesn't seem to work.
Can anyone help me ?
Thanks in advance
PS : I'm trying to use it on a Windows 7 Operating System