Wazzup?!! Im using DGDK and Im trying to make clickable text, like a link in HTML or web-based element... but my problem is it won't open up my declared functions: Options(); and GameStart(); . Plz halp!! ^_________^
void TitleScreen()
{// make a screen where u can scroll between different selections
dbInk ( dbRGB ( 0, 170, 50 ), dbRGB ( 0, 170, 50 ) );
dbText ( 10, 5, "New Game" );
dbText ( 10, 17, "Options" );
do
{
do
{
if ( dbDownKey ( ) )
dbPositionMouse ( 10, 17 );
else if ( dbUpKey ( ) )
dbPositionMouse ( 10, 5 );
} while ( dbUpKey ( ) );
} while ( dbMouseClick ( ) );
if ( CheckDown() && dbKeyState ( 59 ) )
Options();
if ( dbKeyState ( 59 ) )
GameStart();
}
Don't Clap, Just Throw Money!