Questions tagged [nifty-gui]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

jMonkeyEngine ignores keyboard input

Created a game login form using the Nifty GUI. The interface reacts to the movement and clicking of the mouse, but ignores the input in the text fields. Whether the program is looking for a click ...
0
votes
1answer
45 views

Trying to get events to work for drag and drop

So I’m playing around with drag and drop with Nifty and I have the drag working. I don’t have a drop set up yet as I’m just trying to get the dragging working at the moment. For the purposes of my ...
0
votes
2answers
74 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: ...
3
votes
0answers
43 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
54 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 ...
1
vote
2answers
632 views

How to make nifty gui textfield to use a larger font

Hi I have a text field on my screen but its tiny: ...
0
votes
1answer
352 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

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 ...
-1
votes
1answer
83 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. ...
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 ...