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 / DarkGDK.NET

Author
Message
Steve Sharkey
17
Years of Service
User Offline
Joined: 9th Dec 2006
Location:
Posted: 9th Dec 2006 10:37
Is there a forum that I haven't seen soecifically for this?

If not - a few questions....

I've been programming for about 25 years now and having found this library as being useable in VB.NET decided to take the plunge (I used to program and sell games for the Sinclair ZX81 back in the 80s before I moved into business programming). However, whilst the capability in the GDK is almost certainly there the help file is absolutely awful. They barely give you syntax of each individual command but do nothing for what the commands actually do, how they fit together or what many of the parameters actually mean. I am totally underwhelmed by it all and wonder if I might have been better off just taking the plunge and learning to program for DirectX without the "middle man".

Also one of the attractions of DarkBASIC was all the tools that are available but it is unclear as to which ones I could make use of using the tool kit as I am rather than using DarkBASIC Pro as the development environment (which I tried but couldn't get on with - it felt like going back to the deepest darkest days of BASIC in the 1980s.

I have many SDK questions - surely I'm not the only one using it?

Steve Sharkey
move eax 1
17
Years of Service
User Offline
Joined: 6th Dec 2006
Location:
Posted: 9th Dec 2006 10:52
Your not the only one using it check the dgsdk board an you'll find tons of people including me when I buy it after christmas

-lol-
Jay Bee
17
Years of Service
User Offline
Joined: 15th Jul 2006
Location: Ashford, Kent, England
Posted: 9th Dec 2006 13:34
There is a board for the SDK here: http://forum.thegamecreators.com/?m=forum_read&i=22

And yes, the help files are abysmal, that's one thing I would love to see improved. The best way to learn is to find tutorials...

CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 9th Dec 2006 14:40 Edited at: 9th Dec 2006 14:41
I'd have to agree, the help files are lame for both flavors of the dgdk. I think they were written with the mindset that the sdk user had already learned DBP. In all fairness, the dgdk.net help files were a port from the c++ kit version, so don't blame Paul, blame the original help files

Paul has included some source examples in the .NET kit, but if you get stuck then I guess thats what this forum is for, to help.

Andyhhp
18
Years of Service
User Offline
Joined: 8th Feb 2006
Location: um... here
Posted: 9th Dec 2006 16:08
I also find the help files usless. My approach it to use the function and if it doesnt crash, it is a good sign. Then see what happens if it works .

It's only open source 'till money is involved
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 9th Dec 2006 17:38
Well, I can only appologise for the lack of comprehensive documentation. My goal at the end of the day, was to start making further and more constructive tutorials once certain issues in the DGDK libraries had been resolved, and there are plans in the making for DGDK.NET and it's future, so I will endevour to answer as many questions as I can until the documentation and more torials have been sorted out.

Again, if you are vague on certain issues of the toolkit, don't hesitate to post your queries and I'll do my best to help.

Paul.

lwatson
17
Years of Service
User Offline
Joined: 17th Nov 2006
Location: Lincoln, RI USA
Posted: 9th Dec 2006 21:40
I also found the CHM file to be not of much help, add to this, the fact that the books and what not available for dark basic are largely aimed at the procedural form in DARKBASIC rather than the object oriented library used with VB.NET or C#.

Little things like finding out how to query the engine to determine if an object is under the mouse when I click on it, or even simple things like simple texturing on an object, were not immeadately apparent, another was the availability of multiple methods with a different suffix letter. Yet the power is there,the forums are helpful as they are patrolled by helpful folks and there are a number of freely available tools to assist. Other folks are endeavoring to encapsulate the library in a wrapper to make things simpler and employ overloads to collapse the multiple methods sharing the same base name into one call and different parameters. One thing I really like is the relative ease of getting the engine to render in a windows forms control ( Like a picture box for example ). This was a prime requirement for me as I still write business apps and folks have to have their wizzy bang eyecandy laden visual along with their dry tired old text boxes and grids.

With DGDK I get both....

Lonnie Allen Watson
rmag.blogspot.com (blog)
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 10th Dec 2006 17:14
Steve Sharkey
17
Years of Service
User Offline
Joined: 9th Dec 2006
Location:
Posted: 11th Dec 2006 10:46
Okay so my first obstacle is that after authenticating the exe whilst it runs fine if I double click the .exe file using Windows explorer to locate it, when I try to run in debug mode I get the error:

Access is denied

on the line:

oDBP.InitializeGDK(hProcess.ToInt32, strData, strKey)

Steve Sharkey
lwatson
17
Years of Service
User Offline
Joined: 17th Nov 2006
Location: Lincoln, RI USA
Posted: 11th Dec 2006 15:33
I am not entirely sure but did you remember to disable the Visual Studio Hosting Process step....

Lonnie Allen Watson
rmag.blogspot.com (blog)
CattleRustler
Retired Moderator
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 12th Dec 2006 03:26
did you add the .dgdk file as an embedded resource?

Login to post a reply

Server time is: 2024-06-29 04:22:40
Your offset time is: 2024-06-29 04:22:40