[WIP] libZDGUI v0.0.1 - ZDoom GUI widgets library for mods

Any utility that assists in the creation of mods, assets, etc, go here. For example: Ultimate Doom Builder, Slade, WadSmoosh, Oblige, etc.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Nash
 
 
Posts: 17434
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [WIP] GUI Library 0.1

Post by Nash »

I've done on-screen string input before. This is from an old project from 2008 which I am not working on anymore...

Image
User avatar
Sarah
Posts: 551
Joined: Wed Sep 06, 2006 12:36 pm
Preferred Pronouns: She/Her
Operating System Version (Optional): Debian 11 (bullseye), Windows 10
Location: Middle of Nowheresville Il.
Contact:

Re: [WIP] GUI Library 0.1

Post by Sarah »

Oh that's cool, Nash! I'm still struggling to get the mouse cursor to move on a menu I'm working on. Although I should admit I got a bit discouraged and went back to the mapping so everything the menu controls is ready for scripting.
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Re: [WIP] GUI Library 0.1

Post by Apothem »

wildweasel wrote:
Nash wrote:I like how you select which windows draw in front, and clicking on a window will properly select that particular window.

Any chance of seeing the source on this?
Holy topic-bump, Nash. =P

But yeah, I'm sure the source to this would be useful. If not, then I know of a certain in-development project that might serve as an adequate replacement...though I'm unsure if I'm at liberty to discuss the details.
NEVAR! :P


The many sekrits of blackfire will never be revealed! Such as the secret that I'm building a fully mp-compatible framework for building and managing dialog and shop menus!

Drat! I ruined it again :?
cybermind
Posts: 64
Joined: Mon Jan 03, 2011 3:33 pm

Re: [WIP] GUI Library 0.1

Post by cybermind »

Is somebody waiting for it? :-) I've lost the sources, so i started to make a new version of GUI. The main disadvantage of old version is that it was too hardcoded so the addition of new widgets was too difficult.
User avatar
Nash
 
 
Posts: 17434
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [WIP] GUI Library 0.1

Post by Nash »

I am interested. :) Would love to see your new rewrite and - if you don't mind - the sources too. :D
cybermind
Posts: 64
Joined: Mon Jan 03, 2011 3:33 pm

Re: [WIP] GUI Library 0.1

Post by cybermind »

Some progress :)
Image

Image
User avatar
Nash
 
 
Posts: 17434
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [WIP] GUI Library 0.1

Post by Nash »

Very nice! Will the libraries be easy to adapt for other projects?
cybermind
Posts: 64
Joined: Mon Jan 03, 2011 3:33 pm

Re: [WIP] GUI Library 0.1

Post by cybermind »

Nash wrote:Very nice! Will the libraries be easy to adapt for other projects?
This is the main goal of this project - you could use this library in other projects to make in-game GUI's. And it could be easily expanded with new sets of widgets - all you need is to specify is how your widget will interact with others and how it should react on system calls(mouse clicking, moving etc.)
User avatar
Nash
 
 
Posts: 17434
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [WIP] GUI Library 0.1

Post by Nash »

I hope you haven't abandoned this, I'm still interested (as I'm sure others are too), more so now that this has been implemented. :D
cybermind
Posts: 64
Joined: Mon Jan 03, 2011 3:33 pm

Re: [WIP] libZDGUI - Tech Demo Released

Post by cybermind »

First post updated - Tech Demo released :)
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [WIP] libZDGUI - Tech Demo Released

Post by The Zombie Killer »

This is awesome!
Are there close buttons for dialog coded in?
Amazing work here, I've been waiting for this.

-TZK
Last edited by The Zombie Killer on Sun May 26, 2013 6:49 am, edited 1 time in total.
cybermind
Posts: 64
Joined: Mon Jan 03, 2011 3:33 pm

Re: [WIP] libZDGUI - Tech Demo Released

Post by cybermind »

The removing of the created GUI isn't possible yet, but you may just hide you window if you will clear GF_ENABLED + GF_VISIBLE bit flags from it's GE_FLAGS field :roll:
Anyway, it's needs more documentation to work easily.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [WIP] libZDGUI - Tech Demo Released

Post by The Zombie Killer »

Here's a modified slade.pk3 from Slade v3.0.2, I modified "config/launguages/acs.txt" to highlight all of the constants and functions in this so far.
I find Slade's highlighting and syntax notifications helpful, this is for others that do too.

-TZK
Last edited by The Zombie Killer on Sun May 26, 2013 6:49 am, edited 1 time in total.
User avatar
Nash
 
 
Posts: 17434
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [WIP] libZDGUI - Tech Demo Released

Post by Nash »

This is amazing, cybermind! Eager to see the final, finished library. :)
User avatar
Agentbromsnor
Posts: 265
Joined: Wed Mar 28, 2012 2:27 am

Re: [WIP] libZDGUI - Tech Demo Released

Post by Agentbromsnor »

This looks awesome.

Extra points for your Darkspace avatar. :)
Post Reply

Return to “Creation, Conversion, and Editing”