Jump to content
  • Advertisement
IvanNeves

DX11 How do you create your GUI?

Recommended Posts

I've been using Dear ImGUI so far, but it doesn't have a reskinning option, so i think it's not that good if you want to ship your product, and doing some research i end up mostly with outdated libraries or ImGUI

So, what y'all use to create your game GUI / What you think it's the best anything to create one with DX11?

Share this post


Link to post
Share on other sites
Advertisement

I use Dear ImGui for my internal GUI's (engine screens, editors, debug views, gameplay visualizations, etc), and Nuklear for actual game HUD's, UI's, etc... It's another IMGUI library, similar but quite different to Dear ImGui.

Share this post


Link to post
Share on other sites
10 hours ago, Hodgman said:

It's another IMGUI library, similar but quite different to Dear ImGui. 

Would you care to very briefly describe what's the main difference(s) between Nuklear and Dear ImGui?

Share this post


Link to post
Share on other sites

Nuklear is pretty much skinnable.
Dear ImGui has skinning options, but they are quite limited.

Share this post


Link to post
Share on other sites

Doing everything from scratch on top of the engine's own 2D draw calls is the only way to fine tune the usability and get exactly the look you want. It's only a few lines of abstract component classes to make your own system and then you're not limited by any framework. This is my IDE's GUI rendered with my Direct3D 11 graphics engine.

Overview.png

Share this post


Link to post
Share on other sites
Posted (edited)
On 8/9/2019 at 5:02 PM, ongamex92 said:

Nuklear is pretty much skinnable.
Dear ImGui has skinning options, but they are quite limited.

While Nuklear has some skinning options, one thing is take into account is whether it goes to point that is satisfactory for the needs of your game.

Dear ImGui is less skinnable but arguably has more ui features, e.g. drag and drop api, tab bars, docking, gamepad controls and some keyboard controls, support for extracting windows as native OS/platform windows, a larger community of users and widgets, etc. and upcoming ones: automation, tables. Whereas Nuklear appears stagnant by now (vurtun moved on to something else?).

My personal answer to the OP is that neither Dear ImGui nor Nuklear are designed for high quality in-game UI and you are better off writing your own. Game UI are very custom and simpler to write than productivity/tooling UI.

Edited by ocornut

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!