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 Question (Yes another one!)

Author
Message
Ice125
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 5th Mar 2009 04:33
ive searched through the forums the last couple of days looking for any help with GUI's, and i have found a few things... specifiably the thread on how to combine the CustomGUI from DirectX And DarkGDK

I have done this but i need to ask.... Is that GUI method compatible with DarkGDK 3d? i cant seem to get it to work .. all i get is either the GUI with no DarkGDK, or DarkGDK with alot of flickering an no GUI, and it always crashes complaining about some sort of non-zero reference point

and dose anyone have any ideas on an easier way to make a GUI that's not win forms(because i need full screen) or sprites(cmon... your kidding right? No im not.. i don't want to have to detect where the mouse is and try and see if there a button there... its going to be a verry complex interface)
FIGHTEX
15
Years of Service
User Offline
Joined: 30th Nov 2008
Location:
Posted: 7th Mar 2009 09:03
you can try a not so complex button used in the samples viever

it is in your dark GDk folder in examples i think.

basicly i use bools for my menu like

bool MainMenu = true;

while(loop)
{
if(MainMenu ==true)
{
if(MouseX>50&&MouseX<100&&MouseY.....)
{
return;
or
MainMenu = false;
OptionsMenu = true;
}
}
}


and also if u have liike
if(mainmenu == true)
{
dbSprite(1...)
dbShowSprite(1)
}
else
{
make shure you hide the sprites if its not true
dbHideSprite(1);
}

Game.Love
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 7th Mar 2009 09:31
Ice125
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 10th Mar 2009 16:13
That library truly is the best extnetion for DarkGDK that exists...
It dose everything i needed, and more... and the OO classes are amazing, No more screwing around with ID's its great!
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA

Login to post a reply

Server time is: 2024-09-30 19:23:03
Your offset time is: 2024-09-30 19:23:03