Im looking to link the 1st buttonmap to start the game.
I havent a baldy how to do it. Im using 1 of TDK's methods from his tut.
Set Display Mode 1024,768,32
Sync On: Sync Rate 60
Load Image "dai_menu.bmp",1
Paste Image 1,0,0
Set Text Opaque
Do
Mx=MouseX(): My=MouseY(): Mc=MouseClick()
If Mc=1 Then Gosub CheckRegion
Sync
Loop
End
CheckRegion:
If Mx > 317 and My > 241 And Mx < 723 And My < 307
Rem Add here, whatever code you want to be executed when you click button 1
Center Text 512,720,"Disabled"
Endif
If Mx > 317 and My > 338 And Mx < 723 And My < 405
Rem Add here, whatever code you want to be executed when you click button 2
Center Text 512,720,"Disabled"
Endif
If Mx > 317 and My > 435 And Mx < 723 And My < 502
Rem Add here, whatever code you want to be executed when you click button 3
Center Text 512,720,"Disabled"
Endif
If Mx > 317 and My > 531 And Mx < 723 And My < 599
Rem Add here, whatever code you want to be executed when you click button 4
Center Text 512,720,"Alvin Dewart 2007"
Endif
Rem Fifth Button
If Mx > 317 and My > 630 And Mx < 723 And My < 697
Rem Add here, whatever code you want to be executed when you click button 5
Center Text 512,720,"Exit"
End
Endif
Return
http://dai.moddb.com