1

I am trying to get going with Nifty GUI since I like the whole design and function separation (coming from android). I tried to follow the tutorial here but I get tons of errors (the libs are all correctly imported.

All the errors are cannot find symbol for Render Device, SlickSoundDevice, LwglInitHelper, etc...

I looked around a bit and it says that with every nifty iteration the init changes. What is the current one?

Libs I have in my project:

  • LWJGL 2.9.0
  • Slick (newest, downloaded 9/29/2013)
  • Nifty GUI 1.3.3
  • xpp3 1.1.4.c
Genhis
  • 1,484
  • 3
  • 27
  • 29
Killerpixler
  • 4,200
  • 11
  • 42
  • 82

1 Answers1

2

Currently the best way to learn about Nifty is the 1.3.2 PDF manual.

You'll probably need more jars in your classpath, especially the LWJGL-Renderer and maybe the default controls jar as well but the manual explains that all in more detail.

You might want to take a look at the examples in the github repository too, especially the Hello World example code. You can find the required dependencies in the pom.xml of the examples project. And yes, the wiki is kinda outdated. Sorry about that!

void256
  • 1,286
  • 10
  • 11
  • Which is now the stable? 1.4? – elect Nov 08 '13 at 15:38
  • Nifty 1.3.3 is the latest stable version at the time of this comment :) – void256 Nov 08 '13 at 23:22
  • Nifty 1.4 is the latest stable version at the time of this comment :) – void256 Aug 05 '14 at 07:28
  • Why is there nifty jwjgl slick render 1.3 only and all other packages are on 1.4.1..? Is it still on development ? – Sw0ut May 27 '15 at 21:19
  • 1
    I think the "nifty lwjgl slick" renderer is outdated and has now been seperated into a "lwjgl" or a "slick" renderer. So you can now decide between pure lwjgl or pure slick2d. The wiki is outdated and haven't been updated yet. You might want to use the pdf manual which is somewhat more accurate and most of the information is still valid for 1.4.1. – void256 May 28 '15 at 09:51