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

      Hey @nbohr1morehow come the zombies in The Dark Mod don't have a "resurrection" mechanic to it, similar to how Thief has it?
      They're quite a weak creature as of right now, it's merely a walking corpse that slashes you, making attacking them to kill them an actual strategy.
      Would be better if they had some cool mechanism to it that truly makes them a danger, such as the resurrection idea itself.
      · 2 replies
    • Ansome

      Query: when was the last time a zombie in a video game was unnerving or scary to you? I'm chipping away at my anniversary submission and I've been trying to gather opinions on the subject. I'm perfectly capable of lighting them well, changing their sfx, and creating effective ambience, but I'm worried that zombies at their core are just too overdone to be an effective payoff to the tension I'm creating.
      · 4 replies
    • nbohr1more

      The Lieutenant 3 is out! Congrats Frost_Salamander! ( raising awareness )
      · 2 replies
    • OrbWeaver

      Has anyone had any luck with textures from Polyhaven? Their OpenEXR normal maps seem too washed out and give incorrect shading in the engine.
      · 5 replies
    • datiswous

      I tried to upscale the TDM logo video. First try:

      briefing_video.mp4 You can test it ingame by making a copy of the core tdm_gui.mtr and place it in your-tdm-root/materials/ , then edit line 249 of that file into the location where you placed the new briefing.mp4 file.
      What I did was I extracted all the image files, then used Upscayl to upscale the images using General photo (Real-Esrgan) upscale setting and then turn it back into a video.
      I might have to crop it a bit, the logo looks smaller on screen (or maybe it's actually better this way?). My video editor turned it into a 16:9 video, which I think overal looks better than 1:1 video of original.
      · 1 reply
×
×
  • Create New...