Jump to content
The Dark Mod Forums

Recommended Posts

Posted (edited)

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
Posted (edited)
On 12/15/2023 at 8:01 AM, freyk said:

Nice, but TDM has already a gui editor.

Not really. The GUI editor works (under Windows) for Quake 4 and Doom 3, but not for TDM. I also got the idea that it's pretty basic.

Edited by datiswous
Posted (edited)

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
  • 2 weeks later...
Posted

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.

Posted (edited)
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
Posted

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
Posted

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.

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

    • Ansome

      Terribly difficult juggling map designing with work, but I'm still alive and chipping away at something very special. I'm actually making a collaboration of sorts with a friend, I make the map itself and he acts as my "Chief Scope Creep Consultant" that checks in every so often to make sure this project isn't getting out of hand. It's a good system!
      · 0 replies
    • JackFarmer

      We don't need artificial intelligence; we need artistic intelligence. 
      Ralf Hütter, Kraftwerk
      · 5 replies
    • taaaki

      The post editor for the dark themes should be working again. Apologies for the inconvenience.
      · 1 reply
    • jaxa

      Talk GabeCube:
      https://forums.thedarkmod.com/index.php?/topic/18055-2016-cpugpu-news/page/39/#findComment-508710
      · 3 replies
    • The Black Arrow

      Things have been so bad these days for me...
      Just a year ago, I've been feeling dizzy, I thought it was nothing, today's stress, that type of thing, went to sleep...Still dizzy! 9 more days dizzy, went to doctor (I would have gone on the first day if NOT for the long appointment time)
      Said it may be Neck Dizziness...I did exercises for 6 months, no changes.
      Went to a Physical Therapist, went to another, no changes.
      I've asked my doctor for a full check this time.
      I hated yesteryear so much due to personal reasons, this year might be the same.
      To be brutally honest, I'd rather have cancer or/and chronic pain than suffer dizziness any second longer, especially when nothing helps.
      Hard to enjoy Thief when you're dizzy so I was hoping this year, Winter will be best for me.
      · 7 replies
×
×
  • Create New...