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

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 2 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 5 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...