god, i am trying to make a menu for my game but when i try to create a link(not shure how to say"when you click on the options button"that you woud go to options)
i try this
[/code]
bool Menu1=true;
bool Menu2=false;
if(Menu1=true)
{
dbSprite (1, 0,0, 1);
dbSizeSprite( 1, (dbScreenWidth()),(dbScreenHeight()));
//buutons
//exit
if ( dbMouseX ( ) > 480 && dbMouseX ( ) < 547 && dbMouseY ( ) > 690 && dbMouseY ( ) <730&&dbMouseClick() )
{
return;
}
//options
if ( dbMouseX ( ) > 450 && dbMouseX ( ) < 450+120 && dbMouseY ( ) > 653 && dbMouseY ( ) <693&&dbMouseClick() )
{
Menu1=false;
Menu2=true;
}
}
if(Menu2=true)
{
dbSprite(2, 0,0, 2);
dbSizeSprite(0, (dbScreenWidth()), (dbScreenHeight())
}
dbSync ( );
}
return;
}
[code]
but the little red sprite shows up allredy on start up it should only on the click off options(picture in the filles)
Game.Love