Jump to content
The Dark Mod Forums

Godot GUI editor


datiswous

Recommended Posts

I was looking at this video about creating a gui in Godot and thought:

OMG whould it be nice if TDM whould have something like this for GUI's...

Although since this creates GUI's, I wonder if you could build a visual GUI editor for TDM GUI files in Godot..

People have already made other editors, like a pixel art sprite editor for example.

It's a nice motivation point to get back to learning Godot at least.

Edited by datiswous
Link to comment
Share on other sites

Yes a gui editor would be cool but IMO is very easy to just have the game running the gui in real time, edit the code, press a key bound to reloadGuis and see the gui update ingame, in almost real time, that is the main reason idSoftware never did a gui editor.

And the one the Quake 4 dev's (Raven software) made is unfinished (the above may explain why...), very bare bones and I don't recommend using it, specially in TDM.

Spoiler

Btw personally I have done a basic gui in Godot, a bare bones developer main menu, with just a colored background and a few buttons with text and let me tell you, it was not all roses, to me making such basic gui in idTech 4, felt way easier than in Godot!  Just scaling and placing gui nodes, toke me a ton of trail and error, was very frustrating (specially as I didn't follow any tutorial) and was also used to idTech 4 way of making gui's.

Not sure if this is how all gui making in Godot is like, but the gui node I used (grid container) uses a very restrict, parent child system that makes it so, you can't move, rotate and scale child nodes at will, everything needs to be done through the main parent node, I add to use a bunch of hidden extra child nodes, just to place the visible nodes exactly where I wanted them.

Now to be fair this is also because the gui system of Godot, is way more powerful and complex, all to support totally arbitrary shaped screens, like cellphone screens for example, while idTech 4 gui system, was made for a single screen shape, horizontal 4:3 screen. 

 

Edited by HMart
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

imgui ?.

crazy eddies might also be worth a look since it has elements that would fit in well with a thief styled game, was untill recently used in the planeshift mmo before they ported to unreal.

both are C++ based though imgui would probably be easier to integrate. crazy eddies gui depends on a whole lot of img and render related libraries that might not be all to easy to handle unless included as a prebuilt library with all dependencies compiled in, it does have a lot more options though.

Link to comment
Share on other sites

5 hours ago, revelator said:

both are C++ based though imgui would probably be easier to integrate.

Btw. I wasn't suggesting a new gui for TDM. I meant a gui to create TDM gui-code without having to write code. But those could still be used for that I guess.

Edited by datiswous
Link to comment
Share on other sites

ah yes my bad misunderstood the question 😊,

imgui does have a gui editor https://github.com/Raais/ImStudio there is a prebuilt editor here https://github.com/Raais/ImStudio/releases

crazy eddies does not as such have one though there are some nice tutorials for creating one with it on its site.

since it is scriptable you can make gui's pretty much on the fly with it though. downside as said it has a lot of dependencies so expect a good deal of extra dll's and dependant on what you want to achieve it might be overkill.

  • Like 1
Link to comment
Share on other sites

hmm come to think of it fast light toolkit or FLTK for short could also be used, it does have an editor and the gui part is created as a single .C++ file which can be interfaced with in the engine, still needs to link to the FLTK libraries but besides that it is pretty simple to use. The editor does take some getting used to though.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • The Black Arrow

      Happy birthday to me!
      Yes, today's my birthday and as much as I want to play The Dark Mod, I won't until it's late Autumn, where it should be a bit chilly in my place and there's some wind too.
      For now, it's time to enjoy my birthday, if any of you want to play a great fan mission in my honour...Well that's asking too much, just play the mission because it's fun, not because of me, enjoy it yourself! 💪
      · 4 replies
    • nbohr1more

      New texture wiki article created: https://wiki.thedarkmod.com/index.php?title=Creating_textures_from_Ornate_Photos
      · 2 replies
    • Xolvix

      Took a break from TDM until I got my backlog under control. It's been months and it's still not "under control". Damnit.
      · 4 replies
    • Ansome

      I sleep well at night knowing the player will never see the absolute nightmare that is my sealing brushwork outside the playable area. Only the pointfile can judge me now.
      · 4 replies
    • JackFarmer

      Somehow I admire the fact that the material from Dune has now been filmed for the third time. Personally, I could never do much with the material, but as a child of the 80s, I of course know the David Lynch movie...and that movie was at least funny!
      · 2 replies
×
×
  • Create New...