Nifty GUI is a GUI written in Java with LWJGL. It's the official GUI of jMonkey engine but can be used with other frameworks based on LWJGL such as Slick2D.

learn more… | top users | synonyms

1
vote
0answers
23 views

Nifty Design view does not refresh

I am using Nifty in JME SDK to make different screens. I stuck in this problem that nifty doesn't refresh its design preview to reflect any changes in xml. But this works: If I close .xml and reopen ...
0
votes
1answer
1k views

Slick2D and Nifty GUI

I am currently trying to combine both slick2d and nifty to work together. I've had some amount of success - I can now actually run my test and it won't crash. As far as I can tell, it will also ...
0
votes
2answers
39 views

Nifty TextRenderer object is null

Im new to nifty and Im trying to change text control using nifty in JME application following this tutorial. Below is my TextRenderer code: Element element = nifty.getScreen("loadlevel")....
0
votes
1answer
18 views

Cannot find declaration of element nifty JME

I'm new to nifty. I am trying to learn how to create nifty GUI in JMonkey Engine game. I'm going through tutorials and tried to run project. Project runs fine but I get following error when I tried to ...
0
votes
2answers
139 views

How to make nifty gui textfield to use a larger font

Hi I have a text field on my screen but its tiny: <panel height="13%" width="100%" childLayout="vertical"> <text id="label1" height="50%" font="Interface/Fonts/MinionPro.fnt" color="#...
0
votes
1answer
293 views

NiftyGUI - Text isn't rendering

I am trying to create a gui with nifty on top of lwjgl. I've already had some problems during the Nifty setup, however now Nifty is set up and running correctly but for text rendering. Here is my xml ...
0
votes
1answer
1k views

How handle nifty initialization in a Slick2D state based game?

I'm using Slick2D and Nifty GUI. I decided to use a state based approach for my game and since i want to use Nifty GUI, i use the classes NiftyStateBasedGame for the main and ...
-1
votes
1answer
80 views

spaceship collision and dying

I have a spaceship on the left side on the screen that can move up and down. Enemy spaceships move from the right side of the screen to the left. The goal is to shoot as many spaceships as you can. ...