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 Initialization

Author
Message
MrEd
15
Years of Service
User Offline
Joined: 28th Apr 2009
Location:
Posted: 10th Feb 2010 14:13
I would like to ask about possibility of another initialization DarkGDK engine. I think about something like in Leadwerks engine

Generally i would like to use DarkGDK with main function.
I found piece of code in old topic,(http://forum.thegamecreators.com/?m=forum_view&t=45658&b=22), which may be helpful but i don't know how exactly use it.
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 10th Feb 2010 20:42
Leadwerks is built on OpenGL I think, while DarkGDK is DirectX.
So I don't think this is possible.

Amnzero
15
Years of Service
User Offline
Joined: 1st Aug 2009
Location:
Posted: 10th Feb 2010 21:30
There is another way.. Look at the source code for the physX screen saver. There is a function that can be overloaded that will give you more control over DX and Windows. I forgot exactly what it was, but I know it is used in that example.

if(enemy == Amnzero) runAway();
Amnzero->WebSite = L"http://neovance.com/";
MrEd
15
Years of Service
User Offline
Joined: 28th Apr 2009
Location:
Posted: 11th Feb 2010 15:03
I know about these functions, but i can't understand why we have no choice between two way of programing application using DarkGDK: I mean use WinMain or DarkGDK main function.
first way

and second way (better for me)

First way looks good for beginner, but second enable more powerful control of our application.

Login to post a reply

Server time is: 2024-10-01 23:27:05
Your offset time is: 2024-10-01 23:27:05