Dear ImGui demo/examples in GDScript

Godot Version

4.4

Question

I’ve been looking to use the Dear ImGui plugin with my GDScript based project, but I’ve been struggling with learning it. The sample project has a very bare-bones feature set, with a demo mode similar to the interactive ImGui manual found here.. The demo mode doesn’t seem to have a GDScript-compatible inspector the same way that the demo does.

From what I’ve read online, the way to learn Dear ImGui in GDScript is by inspecting the C#/Python code and translating it through trial and error to GDScript, which seems really convoluted for a fast prototyping UI to the point where I’ve avoided it so far. Are there any interactive resources like a complete demo mode that shows GDScript source code? Thanks for your time :grinning_face_with_smiling_eyes:

I could be wrong, but I feel like the Dear ImGui plugin’s target audience was “people who are already comfortable in Dear ImGui and want to use it in Godot” as opposed to “here’s a better system for building UI in Godot”.

I haven’t tried the plugin, but I suspect unless you’re already au fait with Dear ImGui, you’re probably better off just learning the Godot-native stuff.

1 Like