[WIP] libZDGUI - Tech Demo Released

For in-development or completed ZDoom projects
Forum rules
Got a cool project idea but nothing else? This forum is NOT for you! Put it in this thread instead!
Please read the full rules for more details.

[WIP] libZDGUI - Tech Demo Released

Postby cybermind » Wed Apr 27, 2011 3:40 pm

So, it's time to show what i've done :)

This is the tech demo of libZDGUI - ACS library that allows you to create custom in-game GUI's. It will be a good solution if you plan to make a lot of player interaction in your project - such as inventory systems, shops, Doom 3 style PDA's and even more.
Just download the archive in attachment and see readme.txt.
IMPORTANT: you should to update your ZDoom and ACC to the latest SVN versions.
PS. This is just a tech demo, so please refrain from using the library at the moment in your projects, because still everything may change. The code is a bit messy at the moment :oops:, it needs to be cleared out from mess, optimized and be more documented.


Screenshot:
Spoiler:
Attachments
libzdgui.zip
libZDGUI Tech Demo
(74.98 KiB) Downloaded 31 times
Last edited by cybermind on Fri Feb 01, 2013 1:02 pm, edited 3 times in total.
User avatar
cybermind
 
Joined: 03 Jan 2011

Re: [WIP] GUI Library 0.1

Postby The_Funktasm » Wed Apr 27, 2011 4:32 pm

That's incredibly interesting, and I'm going to have to look into some of the code later.
User avatar
The_Funktasm
Canned beets?
 
Joined: 17 Mar 2009
Location: The Mountains of Madness

Re: [WIP] GUI Library 0.1

Postby MetalPapat » Wed Apr 27, 2011 5:43 pm

That's so cool. There is a lot of possibilities for this kind of thing. Like a map or status screen or just inventory system.
User avatar
MetalPapat
Groovy
 
Joined: 21 Jul 2007
Location: France

Re: [WIP] GUI Library 0.1

Postby Nash » Sun Feb 12, 2012 10:17 am

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?
User avatar
Nash
http://twitter.com/ISurvivorGame
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Re: [WIP] GUI Library 0.1

Postby wildweasel » Sun Feb 12, 2012 2:42 pm

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.
User avatar
wildweasel
...huh.
 
Joined: 15 Jul 2003
Location: Non-euclidean space

Re: [WIP] GUI Library 0.1

Postby Nash » Sun Feb 12, 2012 3:35 pm

Yeah sorry for the bump... it's just that this thread doesn't have any feedback so I'm afraid the OP assumes there's no interest. So I bumped it in the hope that he sees it and considers releasing the source...
User avatar
Nash
http://twitter.com/ISurvivorGame
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Re: [WIP] GUI Library 0.1

Postby Captain Proof » Sun Feb 12, 2012 4:22 pm

I just noticed this, I am gonna try it out as soon as I finish catching up on Walking Dead.

EDIT:The code needs to be released, with some work done it might be really useful.
User avatar
Captain Proof
Yeah, I am as sleazy as this avatar looks
 
Joined: 27 Aug 2008
Location: Freed-Hardeman Enclave (Henderson Tn)

Re: [WIP] GUI Library 0.1

Postby Nero » Sun Feb 12, 2012 10:03 pm

I'm all on board for the source to be released. I'm studying this and a couple other gui mods in lieu of creating my own. I'd like to see how this is accomplished and a compiled acs file isn't helping.

So bump away!
User avatar
Nero
Royal Boredom....Why can't I do this in Windows?
 
Joined: 06 Sep 2006
Location: Middle of Nowheresville Il.

Re: [WIP] GUI Library 0.1

Postby Angelofthefallen » Mon Feb 13, 2012 12:57 am

I'd love to get a look at this code. Been looking to make an RPG mod, this could really help with the inventory system.
User avatar
Angelofthefallen
 
Joined: 15 Jun 2008

Re: [WIP] GUI Library 0.1

Postby Captain Proof » Mon Feb 13, 2012 9:50 am

Angelofthefallen wrote:I'd love to get a look at this code. Been looking to make an RPG mod, this could really help with the inventory system.

I didn't even think of that, I was thinking of making a Space Hulk style Motion Detector.
User avatar
Captain Proof
Yeah, I am as sleazy as this avatar looks
 
Joined: 27 Aug 2008
Location: Freed-Hardeman Enclave (Henderson Tn)

Re: [WIP] GUI Library 0.1

Postby Ravick » Mon Feb 13, 2012 11:37 am

Can't take a look now, but i will when I get home. Just a question: Is there a way to allow player to type a string in game?
User avatar
Ravick
Do what thou wilt, since you don't bug the hell out of me!
 
Joined: 22 Aug 2010
Location: Tubarão, Brasil

Re: [WIP] GUI Library 0.1

Postby Nero » Mon Feb 13, 2012 6:55 pm

In what context specifically?
User avatar
Nero
Royal Boredom....Why can't I do this in Windows?
 
Joined: 06 Sep 2006
Location: Middle of Nowheresville Il.

Re: [WIP] GUI Library 0.1

Postby Ravick » Tue Feb 14, 2012 2:32 pm

Well, I'm doing a mod that has its own maps, and also allows "gameplay modding" if playing the IWAD maps, or loading it with other map mod.

So the menu has an 'episode' that loads a map where player can choose options in a console and specify what IWAD he is using and other stuff. The IWAD specification is just to set the map names to be loaded when player leaves the map. But there is also mods with custom map names, so I want to allow player to specify the map name format.

Would also be very useful to create a way to player to write something in the game, specially because there is a lot of 'usable' computers in my mod, so I could make more variable stuff with it.

I know Blue Shadow's numbers console, but if i'd use the same method it would be hard to make all the letters of the keyboard.
User avatar
Ravick
Do what thou wilt, since you don't bug the hell out of me!
 
Joined: 22 Aug 2010
Location: Tubarão, Brasil

Re: [WIP] GUI Library 0.1

Postby cq75 » Wed Feb 15, 2012 9:05 pm

It seems like there is no way to get all of the letters of the keyboard See GetPlayerInput

What you could do, though, is bring up an on-screen keyboard and have the player move a cursor to a key using the movement keys and pressing FIRE to select it. That's how I made the floor selection screen for the elevator of my Blake Stone mod, the player would move the cursor to floor 1-9 and hit fire. Your system would be a lot bigger, and likely more tedious to use, though.
User avatar
cq75
I've given myself a number, and taken away my name.
 
Joined: 27 Dec 2009
Location: Just beyond the line horizon

Re: [WIP] GUI Library 0.1

Postby Ravick » Thu Feb 16, 2012 6:57 am

Yeah, I was afraid of that :(

I've seem the same idea of the on screen keyboard in Blue Shadow's doom3 keypad, I didn't know your mod (Can you post a link, please? :) )

Yes, it'd be tedious to use (and code!), it's 26, and more other characters. I think I will make a 'slot' system, that changes the characters in order by the "foward" and "backward" keys, but just to type map names, not to use in the computers.
User avatar
Ravick
Do what thou wilt, since you don't bug the hell out of me!
 
Joined: 22 Aug 2010
Location: Tubarão, Brasil

Next

Return to Projects

Who is online

Users browsing this forum: Ichor, Majestic-12 [Bot], Marine, QuickShotGunman, terranova, wildweasel and 15 guests