Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / GUI system

Author
Message
gdogg2k
20
Years of Service
User Offline
Joined: 20th May 2004
Location: Cornwall, UK
Posted: 10th Dec 2004 01:53
just started porting a gui system from blitzbasic to DarkSDK
lots of work to do but here is a VERY early preview.

been working on this for the past 45mins
http://www.3dcg.co.uk/wintest.exe

It's all just 1 .h file, u create a window by simply calling 1 function, then using the return value you can add gadgets (yet to be added). then in the main loop of your program you call DrawUI() and it does the rest.

windows are selectable at the moment but cannot be dragged, once i've sorted that i'll show a bit more.

When i have it looking half decent and running at a decent sppeed i shall release it free

If i dont know,
I'm sure you will
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 10th Dec 2004 03:01
It appears to have good potential.

I was thinking of using the SDK to do something similar (when I get it that is)

The 3d chat is coming...
Rights For Traffic Cones!
gdogg2k
20
Years of Service
User Offline
Joined: 20th May 2004
Location: Cornwall, UK
Posted: 10th Dec 2004 03:41
hehe, it'll take a little while but it'll hopefully be worth it

If i dont know,
I'm sure you will
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 10th Dec 2004 04:49 Edited at: 10th Dec 2004 04:49
But keep in mind with the EULER license, you can only use the DarkSDK for making games and not other programs like editors, non-game programs, etc. Read the EULER for more information on how game is defined.


Click the sig
Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 10th Dec 2004 05:00
yes but you can create plugin for DarkSDK with other programming language

Jizzah
19
Years of Service
User Offline
Joined: 9th Dec 2004
Location:
Posted: 10th Dec 2004 05:05
Well I hope they can make an "add-on" like the GUI interface as that would save me a lot of time.
enablerbr
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 10th Dec 2004 09:27
1tg46 i wonder if a built in editor like DOOM 3 would also be against the eula.
billy the kid
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 10th Dec 2004 11:31
Actually I think the part in the license for only being for a game is kinda dumb. Maybe not dumb, but should be rewritten a little. It does make sense. However I think you should be able to make game related software too. Such as a level editor or what not as long as its for DarkSDK itself or if its to help make your game. But making a modeling program out of it just for general use would not be ok.
gdogg2k
20
Years of Service
User Offline
Joined: 20th May 2004
Location: Cornwall, UK
Posted: 10th Dec 2004 17:41
Well, the GUI is for in game menus, and specificly for a mini RTS i am working on, what other people choose to do is out of my control

If i dont know,
I'm sure you will
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 10th Dec 2004 17:59
Just a quick question, would people be interested in a version of my GUI plugin for DarkSDK, or would you prefer to use MFC (Microsoft's Object Orientated library provided with Visual C++)?


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
Erick G
Retired Moderator
20
Years of Service
User Offline
Joined: 2nd Oct 2004
Location: Texas, USA
Posted: 10th Dec 2004 18:04
RobK, I would love blue gui for dark sdk !!! Can i pay you now ?
gdogg2k
20
Years of Service
User Offline
Joined: 20th May 2004
Location: Cornwall, UK
Posted: 10th Dec 2004 19:00
hmmm. i'd rather avoid MFC
so bluegui
Obviously my little works is nothing to conflict with ure great work

If i dont know,
I'm sure you will
DallasG
19
Years of Service
User Offline
Joined: 8th Dec 2004
Location: Jozi SA
Posted: 10th Dec 2004 20:04
i'll take MFC , why make things easy hehe

gdogg2k, we all create great work, but it only becomes great when we ourselve acknoledge it, write that down

*AMD64 3200+* *Lanparty UT nf3 250gb* *Leadtek nVidia 6800GT* *768Mb DDR400* *Coolermaster CM Stacker*
AndyB
20
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 10th Dec 2004 21:50
/me scribbles furiously and waits for more wise words...
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 11th Dec 2004 00:08
@Rob:

I thought you were already working on this? I have been waiting for the port.

-This...is my boomstick!
gdogg2k
20
Years of Service
User Offline
Joined: 20th May 2004
Location: Cornwall, UK
Posted: 11th Dec 2004 00:09
lol thx DallasG

as for press, well i've got as far as adding the ability to creat as many windows as you like, and Gadgets to each window, how ever the only gadget added is a button

If i dont know,
I'm sure you will
DallasG
19
Years of Service
User Offline
Joined: 8th Dec 2004
Location: Jozi SA
Posted: 11th Dec 2004 04:34
@AndyB, thats what seperated Einstein, Newton and Franklin from the others, is that they believed what they were doing was great...

*AMD64 3200+* *Lanparty UT nf3 250gb* *Leadtek nVidia 6800GT* *768Mb DDR400* *Coolermaster CM Stacker*
Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 11th Dec 2004 18:26
@Rob : why not ???

I plan to adapt the TPC Plugin I've written for dbpro that will be released at the same time than X-Quad Editor, to Dark Game SDK ... so, I will translate my Game GUI system ( it's a non windows API gui ... graphical one for games not for APP )

Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 12th Dec 2004 05:31
Just a question, why wouldn't you guys just use the regular MFC option (which Rob suggested)? It's really not hard to whip up a menu, some buttons, dropdowns, etc. using the old fashioned way. In DBP it was impossible without a DLL, but now that you're running DarkSDK, which is using C++, why not use it?

Just a thought, but I'm probably missing something.


--[GameBasic - Coming Soon]-- ^^^ banner generously designed by TheBigBabou
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 12th Dec 2004 05:37
Because DarkSDK cant be used with MFC (compiler errors).

Beware the cat... The alien... The heretic...
roujesky
20
Years of Service
User Offline
Joined: 4th Jun 2004
Location:
Posted: 12th Dec 2004 06:38
Is it true that you cannot link in the MFC? Wow! That is a bummer. What is the problem with linking in the MFC? It seems it should just be another library, but I am probably mistaken. I would really like to have CString objects. They are my crutch!
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 12th Dec 2004 06:58 Edited at: 12th Dec 2004 07:08
There are compiler errors when MFC is used. Unfortunately with VS7, if you which to MFC and then try and switch back again, it doesn't work.

Beware the cat... The alien... The heretic...
Jizzah
19
Years of Service
User Offline
Joined: 9th Dec 2004
Location:
Posted: 12th Dec 2004 07:14
Plus if you are writing a game why link in the baggage of MFC? If you statically link it you are adding in classes you probably wouldn't even use. Or even if you dynamically link it why add the baggage of a >1Meg DLL?

If BlueGUI uses straight Win32 API calls then its a good deal, or if you do decide to write your own just use the Platform SDK and make Win32 calls directly. If you don't know how a good book on the subject is Programming Windows by Charles Petzold a classic, that shows using the Win32 API directly without the overhead of MFC.

If you need any of MFC string or container classes then just use STL.
MiR
21
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 12th Dec 2004 18:36
But you can still use Win32?. That´s good. That´s the one I use anyway.


A bargain at 900000€ second hand
Libera tu mente y te liberaras.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 12th Dec 2004 18:48
Quote: "If BlueGUI uses straight Win32 API calls then its a good deal,"


Yes, it uses normal Win32 API calls.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
gdogg2k
20
Years of Service
User Offline
Joined: 20th May 2004
Location: Cornwall, UK
Posted: 12th Dec 2004 20:25
just out of curiousity apart from an intro screen to maybe pick re etc. would u want an actual game looking and feeling like windows? its not like u can use dgsdk for apps?

If i dont know,
I'm sure you will
MiR
21
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 13th Dec 2004 01:09 Edited at: 13th Dec 2004 01:10
You can use dgsdk for apps. Only for level editors and tools to make the creation a game faster.


A bargain at 900000€ second hand
Libera tu mente y te liberaras.
gdogg2k
20
Years of Service
User Offline
Joined: 20th May 2004
Location: Cornwall, UK
Posted: 13th Dec 2004 02:34
are you sure? i'm sure the Eula specify's differnt on that one.

If i dont know,
I'm sure you will
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 13th Dec 2004 02:42
I really wouldn't panic about the EULA, the only time TGC would complain was if you produced something which rivals their own products .


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
gdogg2k
20
Years of Service
User Offline
Joined: 20th May 2004
Location: Cornwall, UK
Posted: 13th Dec 2004 03:00
oh and your saying i couldnt j/k. i couldnt even write a notepad

If i dont know,
I'm sure you will

Login to post a reply

Server time is: 2024-11-18 21:50:25
Your offset time is: 2024-11-18 21:50:25