Hi all.
I’ve been working on a change to DGDK.NET that will completely simplify the process of setting up your projects. It also opens the door for virtually any .NET language to be accessible as a development platform. I.e. J#.
In previous versions of DGDK.NET, setting up an application required using a dgdkGlobals.vb or ..cs file. The same was also said for using plugins in your project as well. Well, this whole procedure has been scrapped!
When setting up a project now, you only need to reference the DGDKPlugins.dll and interop files. You no longer need to use dgdkGlobals.vb/cs. DGDK.NET still retains backward compatability for existing .NET applications, so there’s no need to worry about forced changes, but the new system is much simpler, and infact an existing application can be moved over to the new method with a few simple clicks of the mouse.
Here is a quick sample of what the new code method looks like:
Imports CDarkGDK
Module Camera
Public oDarkGDK As New CDarkGDK("** My Authentication Key **")
Sub Main()
Dim t As Integer
Dim camdist As Single
Dim s As Single
Dim v As Single
Dim h As Single
Dim a As Single
Dim x As Single
Dim y As Single
Dim z As Single
Dim r As Single
Dim d As Single
Dim lRet As Long
oDBFile.SetDir("....media")
oDBCore.SyncOn()
oDBCore.SyncRate(70)
oDBDisplay.SetDisplayMode(800, 600, 32)
These changes will be available in the next release of DGDK.NET. I will need to update the tutorials in the documentation, but it definately simplifies things.
Cheers,
Paul.
322 is the time that the world will change.... forever!