I do not understand panels. At all

Alright so I finally started making a game seriously and trying to make a main menu with Nifty is turning out to be a pain in my arseholes. How the heck do panels work? I took a look at some tutorial I found https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:nifty_gui_xml_layout and the layout looks like something I could use for my game, but:


  • one panel is too small to actually fit 2 buttons?
  • if so, how do i split the bottom panel into 4 instead of 2?

Theres that exact example at the bottom of that page… You just put four panels inside the bottom panel instead of two. Read the document, don’t just look for your solution…

1 Like