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

    • datiswous

      So on a regular basis I try to start building something in Darkradiant but very quickly I loose interest and give up.
      I tend to
      create a room, position an ai in it (or first ai, then room, probably better) put a light in it Put some stuff in it test the room in tdm Now I had this new idea:
      Start of with a gigantic room. To skip the importance of sealing for the time being and to think broader than one room. Then just use ground without wall, just to visualise the structure of the level.  Then just use prefab walls and other elements (arches, etc.). Just building area's that aren't enclosed. I can always close them at a later point. Maybe this is all very logical from a mappers perspective, but tdm is the first game where I have done any kind of real mapping and I always stop at the start. It just takes too long to make something exciting.
      I want to build something at some point, because over time I accumulated lots of ideas.
      · 3 replies
    • MayheM

      It would be nice to have a link to the forum thread of a mission in download section, rather than having to search for it manually, like on Thief Guild.
      · 1 reply
    • taffernicus

      Anaglypta , floral and damask wallpaper look great in older homes 
      It’s rare to see anyone using “shader not found” wallpaper in their house

       
      · 0 replies
    • 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!
      · 1 reply
    • JackFarmer

      We don't need artificial intelligence; we need artistic intelligence. 
      Ralf Hütter, Kraftwerk
      · 6 replies
×
×
  • Create New...